128-bit block, 512-bit key cipher from the DarkCrypt Total Commander plugin. A fully custom, exotic construction: multiplicative input/output whitening (odd multipliers with modular inverses derived from an RC4-style key schedule) around a 48-round generalized Feistel network with a fixed byte-substitution table. No public specification.
| Property | Value |
|---|---|
| Category | Block Ciphers |
| Sub-category | Block Cipher |
| Security status | π Educational Only |
| Complexity | Expert |
| Inventor | Alexander Myasnikov (DarkCrypt / βZaryaβ project) |
| Year | 2009 |
| Origin | π·πΊ Russia |
| Source | algorithms/block/darkcrypt-shogashi.js |
| Parameter | Supported values |
|---|---|
| Key sizes | 64 bytes (512 bits) |
| Block sizes | 16 bytes (128 bits) |
Status: π Educational Only
| Issue | Description | Mitigation |
|---|---|---|
| Unanalyzed non-standard construction | Bespoke, undocumented cipher design with no public cryptanalysis. | 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 Shogashi β zero key/plaintext
| Field | Value |
|---|---|
key |
00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
input |
00000000000000000000000000000000 |
expected |
9919364c074fd25f5d6bfb5b18787753 |
Vector 2 β DarkCrypt Shogashi β incrementing key/plaintext
| Field | Value |
|---|---|
key |
000102030405060708090a0b0c0d0e0f 101112131415161718191a1b1c1d1e1f 202122232425262728292a2b2c2d2e2f 303132333435363738393a3b3c3d3e3f |
input |
000102030405060708090a0b0c0d0e0f |
expected |
03b9c27da2c21f0930945e65f4b8483c |
Vector 3 β DarkCrypt Shogashi β shifted incrementing key/plaintext
| Field | Value |
|---|---|
key |
0102030405060708090a0b0c0d0e0f10 1112131415161718191a1b1c1d1e1f20 2122232425262728292a2b2c2d2e2f30 3132333435363738393a3b3c3d3e3f40 |
input |
101112131415161718191a1b1c1d1e1f |
expected |
eb6a78c04cc2f19ef316e45ebc26dfa6 |