Generalized TEA-family block cipher from the DarkCrypt Total Commander plugin: 4-branch generalized Feistel network with an embedded 64x256-byte S-box, 16 rounds, 64-word per-key round schedule. 128-bit block, 512-bit key.
| 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-gtea21.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 β zero key/plaintext
| Field | Value |
|---|---|
key |
00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
input |
00000000000000000000000000000000 |
expected |
a4cd835ff232ad41f399642beaccc307 |
Vector 2 β DarkCrypt Gtea2 β incrementing key/plaintext
| Field | Value |
|---|---|
key |
000102030405060708090a0b0c0d0e0f 101112131415161718191a1b1c1d1e1f 202122232425262728292a2b2c2d2e2f 303132333435363738393a3b3c3d3e3f |
input |
000102030405060708090a0b0c0d0e0f |
expected |
a4d8c0077f7dc651642d49b6348d0846 |
Vector 3 β DarkCrypt Gtea2 β shifted incrementing key/plaintext
| Field | Value |
|---|---|
key |
0102030405060708090a0b0c0d0e0f10 1112131415161718191a1b1c1d1e1f20 2122232425262728292a2b2c2d2e2f30 3132333435363738393a3b3c3d3e3f40 |
input |
101112131415161718191a1b1c1d1e1f |
expected |
43dc0b53b218e42f912afa2ff48c39c0 |