Skip to main content

Symmetric Encryption

Symmetric encryption is a type of encryption where only one key (a secret key) is used to both encrypt and decrypt electronic information. The entities communicating must exchange the key so that it can be used in the decryption process.

Order of preference

  1. KMS
  2. Well-Known Libraries
  3. Chacha20-Poly1305
  4. AES-GCM
  5. AES-CTR with HMAC

☠️ AVOID THESE

  • AES-CBC, AES-CTR by itself
  • Block ciphers with 64-bit blocks, such as Blowfish.
  • OFB mode
  • RC4 (comically broken)

References