Skip to content
Ryan Culpepper edited this page Jun 21, 2018 · 13 revisions

Libraries

Digests

Cryptographic hash functions

MACs

Message authentication codes

Ciphers

Cipher Modes

  • ECB, CBC, CFB, OFB, CTR
  • authenticated encryption
  • OCB - AEAD, stream, nonce
    • TAGLEN affects nonce, so must be set before encrypt/decrypt
    • 3 versions, latest is OCB3
    • requires 128-bit block cipher
  • GCM - AEAD, stream, nonce
    • tag may be truncated to 128, 120, 112, 104, or 96 bits (or even 64 or 32)
    • requires 128-bit block cipher
    • recommends 96-bit IV/nonce
  • EAX - AEAD, stream, nonce
  • unsupported

Public-key crypto

EdDSA, curve 25519, etc

Password Hashing


Misc, implementation

Clone this wiki locally