Classical polygraphic cipher using four 5x5 squares for digraph encryption, offering enhanced security over simple substitution ciphers.
| Property | Value |
|---|---|
| Category | Classical Ciphers |
| Sub-category | Polygraphic Cipher |
| Security status | 🎓 Educational Only |
| Complexity | Intermediate |
| Inventor | Felix Marie Delastelle |
| Year | 1902 |
| Origin | 🇫🇷 France |
| Source | algorithms/classical/foursquare.js |
Status: 🎓 Educational Only
No vulnerabilities are recorded for this implementation.
3 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.
| Field | Value |
|---|---|
key |
4558414d504c452c4b4559574f5244 |
input |
48454c50 |
expected |
46594e46 |
| Field | Value |
|---|---|
key |
464f5254494649434154494f4e2c424154544c45 |
input |
41545441434b41544441574e |
expected |
54504d4c49465450464c584b |
| Field | Value |
|---|---|
key |
4a4f484e2c5041554c |
input |
424541544c4553 |
expected |
41414e4f50505358 |