PES (Proposed Encryption Standard, Lai/Massey 1990), the direct historical predecessor of IDEA, as implemented in the DarkCrypt Total Commander plugin. Same Lai-Massey structure and multiplication-mod-65537 arithmetic as IDEA over four 16-bit sub-blocks, but with a simpler bit-rotating round-key derivation lacking IDEAβs stronger key mixing. 8 full rounds plus a final half-round.
| Property | Value |
|---|---|
| Category | Block Ciphers |
| Sub-category | Block Cipher |
| Security status | π Educational Only |
| Complexity | Intermediate |
| Inventor | Xuejia Lai, James L. Massey |
| Year | 1990 |
| Origin | π¨π Switzerland |
| Source | algorithms/block/darkcrypt-pes.js |
| Parameter | Supported values |
|---|---|
| Key sizes | 16 bytes (128 bits) |
| Block sizes | 8 bytes (64 bits) |
Status: π Educational Only
| Issue | Description | Mitigation |
|---|---|---|
| Weak key schedule | PESβs simpler round-key derivation (relative to its IDEA successor) was shown to be cryptanalytically weak, which is precisely why IDEA replaced it. | Use IDEA, AES, or another vetted cipher. |
2 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.
Vector 1 β DarkCrypt Pes β incrementing key, zero plaintext
| Field | Value |
|---|---|
key |
000102030405060708090a0b0c0d0e0f |
input |
0000000000000000 |
expected |
e8f608b37a36627a |
Vector 2 β DarkCrypt Pes β incrementing key, incrementing plaintext
| Field | Value |
|---|---|
key |
000102030405060708090a0b0c0d0e0f |
input |
0001020304050607 |
expected |
722ddbe59d2ad932 |