Keystream-driven block cipher from the DarkCrypt Total Commander plugin: a four-round doubled RC4-style table schedule feeds a Fibonacci-style position counter with S-box-diffused output words, XORed with the block. Exposed through the pluginβs generic stream setup()/crypt() interface but only ever advances one 16-byte block per call.
| Property | Value |
|---|---|
| Category | Block Ciphers |
| Sub-category | Block Cipher |
| Security status | π Educational Only |
| Complexity | Intermediate |
| Inventor | Leviathan stream cipher by David McGrew and Scott Fluhrer; DarkCrypt variant by Alexander Myasnikov |
| Year | 2013 |
| Origin | π·πΊ Russia |
| Source | algorithms/block/darkcrypt-leviathan.js |
| Parameter | Supported values |
|---|---|
| Key sizes | 16 bytes (128 bits) |
| Block sizes | 16 bytes (128 bits) |
Status: π Educational Only
| Issue | Description | Mitigation |
|---|---|---|
| Non-standard exposure | Exposed as a single-block primitive via a stream-cipher interface that discards the requested length; the underlying keystream generator is unanalyzed as reconstructed here and not recommended for real use. | Use a vetted stream or block cipher. |
1 vector ship with this algorithm and run in the test suite. Byte values are hexadecimal.
Vector 1 β DarkCrypt Leviathan β zero block, incrementing key
| Field | Value |
|---|---|
key |
000102030405060708090a0b0c0d0e0f |
input |
00000000000000000000000000000000 |
expected |
3d2a20bbae89b73ffc9e78598186ef31 |