RC6 Decryption Tool

Decrypt data with RC6. Match the key, mode and other options to the source or receiving system.

Input: TextResult: Text

Text input

Run to see the result

Examples

Example keys and passwords are public test material.

RC6-128/28/32: IETF vector decrypt

Input

4ed87c64baffecd4303ee6a79aafaef575b351c024272be70a70b4a392cfc157dba52d529a79e83845bf43d67545383aed3dbf4f0d23640e44cbf6cdaa034dcb

Expected answer

000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f
Key
{"string":"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f","option":"Hex"}
IV
{"string":"","option":"Hex"}
Mode
ECB
Input
Hex
Output
Hex
Padding
NO
Word Size
128
Rounds
28
RC6-16/16/8: IETF vector decrypt

Input

2ff0b68eaeffad5b

Expected answer

0001020304050607
Key
{"string":"0001020304050607","option":"Hex"}
IV
{"string":"","option":"Hex"}
Mode
ECB
Input
Hex
Output
Hex
Padding
NO
Word Size
16
Rounds
16
RC6-24/4/0: IETF non-standard vector decrypt (w=24, empty key)

Input

0177982579be2ee3303269b9

Expected rejection

Message contains
000102030405060708090a0b
Key
{"string":"","option":"Hex"}
IV
{"string":"","option":"Hex"}
Mode
ECB
Input
Hex
Output
Hex
Padding
NO
Word Size
24
Rounds
4
RC6-32/20/16: IETF vector decrypt (AES standard)

Input

3a96f9c7f6755cfe46f00e3dcd5d2a3c

Expected answer

000102030405060708090a0b0c0d0e0f
Key
{"string":"000102030405060708090a0b0c0d0e0f","option":"Hex"}
IV
{"string":"","option":"Hex"}
Mode
ECB
Input
Hex
Output
Hex
Padding
NO
Word Size
32
Rounds
20
RC6-64/24/24: IETF vector decrypt

Input

c002de050bd55e5d36864ab9853338e6dc4a1326c6bdaaeb1bc9e4fd67886617

Expected answer

000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
Key
{"string":"000102030405060708090a0b0c0d0e0f1011121314151617","option":"Hex"}
IV
{"string":"","option":"Hex"}
Mode
ECB
Input
Hex
Output
Hex
Padding
NO
Word Size
64
Rounds
24
RC6-8/12/4: IETF vector decrypt

Input

aefc4612

Expected answer

00010203
Key
{"string":"00010203","option":"Hex"}
IV
{"string":"","option":"Hex"}
Mode
ECB
Input
Hex
Output
Hex
Padding
NO
Word Size
8
Rounds
12
RC6-80/4/12: IETF non-standard vector decrypt (w=80)

Input

26d9d6128601d06dec3817d401f1c0ff715473543875da417c2116d1e87c919a49311b00b4e17962

Expected answer

000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f2021222324252627
Key
{"string":"000102030405060708090a0b","option":"Hex"}
IV
{"string":"","option":"Hex"}
Mode
ECB
Input
Hex
Output
Hex
Padding
NO
Word Size
80
Rounds
4

RC6 is parameterised as RC6-w/r/b where w is word size in bits (any multiple of 8 from 8-256), r is the number of rounds (1-255), and b is the key length in bytes. The standard AES submission uses w=32, r=20. Common word sizes: 8, 16, 32 (standard), 64, 128. IV: The Initialisation Vector should be 4*w/8 bytes (e.g. 16 bytes for w=32). If not entered, it will default to null bytes. Padding: In CBC and ECB mode, the PKCS#7 padding scheme is used.

Format reference: RC6 Decrypt background and specification

Related tools

Browse encryption / encoding tools