The genuine REDOC II cipher (Michael Wood, 1985) as implemented in the DarkCrypt Total Commander plugin: 80-bit blocks, 160-bit keys, 10 rounds of key- and data-dependent permutations, substitutions and enclave operations.
| Property | Value |
|---|---|
| Category | Block Ciphers |
| Sub-category | Block Cipher |
| Security status | ๐ Educational Only |
| Complexity | Advanced |
| Inventor | Michael Wood (Cryptech Inc); DarkCrypt port by Alexander Myasnikov |
| Year | 1985 |
| Origin | ๐ท๐บ Russia |
| Source | algorithms/block/darkcrypt-redoc2.js |
| Parameter | Supported values |
|---|---|
| Key sizes | 20 bytes (160 bits) |
| Block sizes | 10 bytes (80 bits) |
Status: ๐ Educational Only
| Issue | Description | Mitigation |
|---|---|---|
| Differential cryptanalysis | Biham and Shamir demonstrated a differential attack recovering masks for reduced-round REDOC II; the full cipher is unanalyzed by modern standards. | Use AES or another vetted cipher. |
3 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.
Vector 1 โ DarkCrypt Redoc2 โ zero key/plaintext
| Field | Value |
|---|---|
key |
0000000000000000000000000000000000000000 |
input |
00000000000000000000 |
expected |
b9b2dc11796e8df016ff |
Vector 2 โ DarkCrypt Redoc2 โ incrementing key/plaintext
| Field | Value |
|---|---|
key |
000102030405060708090a0b0c0d0e0f10111213 |
input |
00010203040506070809 |
expected |
7db36c42fdaf58a43778 |
Vector 3 โ DarkCrypt Redoc2 โ shifted incrementing key/plaintext
| Field | Value |
|---|---|
key |
0102030405060708090a0b0c0d0e0f1011121314 |
input |
10111213141516171819 |
expected |
66a4676a026633d2842d |