TuxLearnTuxLearn

Cryptography

Symmetric, asymmetric, and hashing algorithms compared for certification exams.

Current Legacy Deprecated

Symmetric Encryption

AlgorithmTypeKey SizeStatus
AESBlock128 / 192 / 256-bitCurrent
ChaCha20Stream256-bitCurrent
3DES (Triple DES)Block112 / 168-bit effectiveLegacy
DESBlock56-bitDeprecated
BlowfishBlock32–448-bitLegacy
TwofishBlock128 / 192 / 256-bitCurrent
RC4Stream40–2048-bitDeprecated

Asymmetric Encryption

AlgorithmTypeKey SizeStatus
RSAPublic Key2048 / 3072 / 4096-bitCurrent
ECC (ECDSA/ECDH)Elliptic Curve256 / 384 / 521-bitCurrent
Diffie-Hellman (DH)Key Exchange2048+ bitCurrent
ECDHEEphemeral Key Exchange256+ bitCurrent
DSADigital Signature1024 / 2048 / 3072-bitLegacy
ElGamalPublic Key2048+ bitLegacy

Hashing & Key Derivation

AlgorithmOutput SizeSpeedStatus
SHA-256256-bitFastCurrent
SHA-384384-bitFastCurrent
SHA-512512-bitFastCurrent
SHA-3 (Keccak)224–512-bitModerateCurrent
SHA-1160-bitFastDeprecated
MD5128-bitVery FastDeprecated
bcrypt184-bitIntentionally SlowCurrent
Argon2ConfigurableIntentionally SlowCurrent
PBKDF2ConfigurableIntentionally SlowCurrent
HMACVaries (uses underlying hash)FastCurrent