Generalized TEA-family block cipher from the DarkCrypt Total Commander plugin: identical round function to GTEA 2.1 but with a doubled (two-pass) S-box key schedule expansion. 128-bit block, 512-bit key, 16 rounds.
| Property | Value |
|---|---|
| Category | Block Ciphers |
| Sub-category | Block Cipher |
| Security status | π Educational Only |
| Complexity | Expert |
| Inventor | Alexander Myasnikov (DarkCrypt / βZaryaβ project) |
| Year | 2013 |
| Origin | π·πΊ Russia |
| Source | algorithms/block/darkcrypt-gtea21ks.js |
| Parameter | Supported values |
|---|---|
| Key sizes | 64 bytes (512 bits) |
| Block sizes | 16 bytes (128 bits) |
Status: π Educational Only
| Issue | Description | Mitigation |
|---|---|---|
| Non-standard, unanalyzed design | Custom generalized Feistel network with no public cryptanalysis; not recommended for real use. | 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 Gtea2.1ks β zero key/plaintext
| Field | Value |
|---|---|
key |
00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
input |
00000000000000000000000000000000 |
expected |
90ff07c78bb1ea559e97c36fb76a243f |
Vector 2 β DarkCrypt Gtea2.1ks β incrementing key/plaintext
| Field | Value |
|---|---|
key |
000102030405060708090a0b0c0d0e0f 101112131415161718191a1b1c1d1e1f 202122232425262728292a2b2c2d2e2f 303132333435363738393a3b3c3d3e3f |
input |
000102030405060708090a0b0c0d0e0f |
expected |
cc70e52387453d34e73950dbefeb36f3 |
Vector 3 β DarkCrypt Gtea2.1ks β shifted incrementing key/plaintext
| Field | Value |
|---|---|
key |
0102030405060708090a0b0c0d0e0f10 1112131415161718191a1b1c1d1e1f20 2122232425262728292a2b2c2d2e2f30 3132333435363738393a3b3c3d3e3f40 |
input |
101112131415161718191a1b1c1d1e1f |
expected |
79e4e14c100eea50b95fd95921b29576 |