Know what still holds.
Cryptologic explains how schemes work, where they fail and which to use. Encrypt a message below, then watch frequency analysis take a simple cipher apart.
Which one, for which job?
Pick the job. Each answer names a current, well-reviewed choice and the reason it holds.
Once standard, now set aside.
Each of these was widely used, and each has a dated reason it was replaced.
- DES1998
A 56-bit key. The EFF built a machine that searched the whole key space in days. AES replaced it.
- MD52004
Researchers demonstrated practical collisions, two inputs with the same hash. Use SHA-256 or SHA-3.
- SHA-12017
The SHAttered attack produced the first public collision. Browsers and certificate authorities moved to SHA-256.
- RC42015
Statistical biases in its output stream led RFC 7465 to prohibit it in TLS. Use AES-GCM or ChaCha20-Poly1305.
- AES-ECBMode
Identical blocks of plaintext produce identical blocks of ciphertext, so patterns show through. Use an authenticated mode.