DES encrypt/decrypt (FIPS 46-3)
Local DES per FIPS 46-3: 8-byte blocks and keys (the 8 parity bits are not part of the effective key), ECB / CBC / CFB / OFB / CTR, PKCS#7 padding. With only 56 effective key bits DES is brute-forceable in hours today, so use it only for legacy data and teaching — pick AES for new work.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Result
Runs locally; keys and plaintext never leave the page.
Enter content to see the result
Input bytes: 0 · Output bytes: 0 · Block size: 0 · Mode used: 0
What this tool does
- Check published DES test vectors and custom implementations.
- Decrypt short legacy payloads protected with DES.
- Compare DES and 3DES results for the same key.
Example
Input
Hello, world!
Output
c61c42ebd8eb9a4bf3bc64478738af16
Checked against the FIPS 46-3 vector: key 133457799bbcdff1 / plaintext 0123456789abcdef → 85e813540f0ab405; CBC / CFB / OFB / CTR were cross-checked against node:crypto.
Frequently asked questions
Is DES still secure?
No. With only 56 effective key bits it is brute-forceable in hours on dedicated hardware; it is kept here for legacy data and teaching. Use AES-128 or stronger for new work.
Do I need to set the parity bits?
No. Only the 56 effective key bits are used; bits 8, 16, … are parity and are neither checked nor corrected.
Why must the IV be 8 bytes?
A DES block is 8 bytes, so the IV is 8 bytes as well; a 16-byte IV (an AES habit) reports invalid-iv.
Does it support 3DES?
No — this page is single DES only; 3DES has its own page with a different key length and schedule.
Keywords:DESDES encryptFIPS 46-3