CRYPTON v1.0 as implemented by the DarkCrypt Total Commander pluginβs table-optimized β-OPTβ build. Uses its own precomputed mix/substitution tables and key-diffusion constants rather than the NIST IR 6391 reference construction. 128-bit block, fixed 256-bit key.
| Property | Value |
|---|---|
| Category | Block Ciphers |
| Sub-category | Block Cipher |
| Security status | π Educational Only |
| Complexity | Advanced |
| Inventor | Chae Hoon Lim (CRYPTON v1.0); DarkCrypt β-OPTβ table build |
| Year | 1999 |
| Origin | π°π· South Korea |
| Source | algorithms/block/darkcrypt-crypton.js |
| Parameter | Supported values |
|---|---|
| Key sizes | 32 bytes (256 bits) |
| Block sizes | 16 bytes (128 bits) |
Status: π Educational Only
| Issue | Description | Mitigation |
|---|---|---|
| Non-standard variant | Table-optimized DarkCrypt build with its own mix/substitution tables and key-diffusion constants; does not match the published CRYPTON v1.0 reference vectors and is unanalyzed as a distinct construction. | Use AES or another vetted, standardized cipher. |
3 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.
Vector 1 β DarkCrypt Cryptonv1-256 β zero key/plaintext
| Field | Value |
|---|---|
key |
0000000000000000000000000000000000000000000000000000000000000000 |
input |
00000000000000000000000000000000 |
expected |
eb195fb347aef6beb7542c635e7421fc |
Vector 2 β DarkCrypt Cryptonv1-256 β incrementing key/plaintext
| Field | Value |
|---|---|
key |
000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f |
input |
000102030405060708090a0b0c0d0e0f |
expected |
11c5088c50f36307386e6b76bd127c67 |
Vector 3 β DarkCrypt Cryptonv1-256 β shifted incrementing key/plaintext
| Field | Value |
|---|---|
key |
0102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f20 |
input |
101112131415161718191a1b1c1d1e1f |
expected |
6cb522538e44fd52fd3d22970e774091 |