Data Encryption Standard, the first widely adopted symmetric encryption algorithm. 64-bit blocks with 56-bit keys. Broken by brute force attacks.
| Property | Value |
|---|---|
| Category | Block Ciphers |
| Sub-category | Block Cipher |
| Security status | β Broken |
| Complexity | Intermediate |
| Inventor | IBM |
| Year | 1975 |
| Origin | πΊπΈ United States |
| Source | algorithms/block/des.js |
| Parameter | Supported values |
|---|---|
| Key sizes | 8 bytes (64 bits) |
| Block sizes | 8 bytes (64 bits) |
Status: β Broken
No vulnerabilities are recorded for this implementation.
5 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.
Vector 1 β FIPS 46-3 Weak Key Test Vector #1
| Field | Value |
|---|---|
key |
0101010101010101 |
input |
8000000000000000 |
expected |
95f8a5e5dd31d900 |
Vector 2 β FIPS 46-3 Weak Key Test Vector #2
| Field | Value |
|---|---|
key |
0101010101010101 |
input |
4000000000000000 |
expected |
dd7f121ca5015619 |
Vector 3 β FIPS 46-3 Single Bit Key Test
| Field | Value |
|---|---|
key |
8001010101010101 |
input |
0000000000000000 |
expected |
95a8d72813daa94d |
Vector 4 β DES Standard Test Pattern - Handbook of Applied Cryptography
| Field | Value |
|---|---|
key |
0123456789abcdef |
input |
4e6f772069732074 |
expected |
3fa40e8a984d4815 |
Vector 5 β DES Educational Test Vector
| Field | Value |
|---|---|
key |
133457799bbcdff1 |
input |
0123456789abcdef |
expected |
85e813540f0ab405 |