Early Australian block cipher designed by Lawrie Brown and Josef Pieprzyk. 64-bit Feistel cipher predecessor to LOKI97, featuring S-box substitutions and complex key schedule.
| Property | Value |
|---|---|
| Category | Block Ciphers |
| Sub-category | Block Cipher |
| Security status | ❌ Broken |
| Complexity | Intermediate |
| Inventor | Lawrie Brown, Josef Pieprzyk |
| Year | 1989 |
| Origin | 🇦🇺 Australia |
| Source | algorithms/block/loki.js |
| Parameter | Supported values |
|---|---|
| Key sizes | 8 bytes (64 bits) |
| Block sizes | 8 bytes (64 bits) |
Status: ❌ Broken
| Issue | Description | Mitigation |
|---|---|---|
| Differential Cryptanalysis | Vulnerable to differential attacks due to weak S-box design | Use LOKI97 or modern ciphers instead |
| Linear Cryptanalysis | Linear approximations break the cipher faster than brute force | Historical cipher - do not use for any security purpose |
1 vector ship with this algorithm and run in the test suite. Byte values are hexadecimal.
Vector 1 — LOKI89 Educational Test Vector
| Field | Value |
|---|---|
key |
133457799bbcdff1 |
input |
0123456789abcdef |
expected |
c304be5781629534 |