DES Encryption
Encrypt text, files, or URL content online with DES using CBC, CTR, CFB, OFB, or ECB, configurable padding, PBKDF2, or EvpKDF. Read more
DES encryption online
DES is a 64-bit block cipher with an effective 56-bit key. NIST withdrew the DES standard in 2005 because it no longer provided adequate security. This tool remains available for legacy compatibility, test vectors, and recovering old data; use AES encryption for new systems.
How to use this tool
Choose text, a local file, or URL content, then select a mode and padding scheme. Enter either the exact key bytes or a passphrase and its derivation settings. Supply the required IV and, for passphrase encryption, choose how the salt is generated. Encrypt the data and copy or download the Hex or Base64 ciphertext.
Matching cipher parameters
Use the same mode, padding, key, IV, and passphrase derivation settings in the receiving implementation or DES decryption. Hex and Base64 only represent the resulting bytes. A salt is an input to key derivation and is not interchangeable with an IV.
ECB encrypts equal plaintext blocks to equal ciphertext blocks and can expose patterns. Other modes have mode-specific IV or counter requirements; reusing values where uniqueness is required can compromise confidentiality.
Use the standalone PBKDF2 or EvpKDF tools when you need to inspect derived bytes separately. This DES tool derives enough material for the DES key and mode IV when passphrase mode is selected.
Security warning
DES is obsolete and brute-forceable with modern resources. It also does not authenticate the ciphertext: altered data may decrypt without a reliable warning. Use a modern authenticated encryption design for new data, and avoid entering production secrets on a device or browser you do not trust.
Frequently asked questions
Why can I not decrypt the result elsewhere?
Compare the mode, padding, key bytes, IV, input encoding, and ciphertext encoding. For a passphrase, also match the derivation function, hash, salt, iteration count, and derived-key size. A difference in any one setting changes the result.
Does encryption detect tampering?
No. DES encryption by itself provides no authentication tag. Successful decryption therefore does not establish that the data is genuine or unchanged.