Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 892 Bytes

README.md

File metadata and controls

27 lines (23 loc) · 892 Bytes

Canonical source

The canonical source of CryptoPals is hosted on gitlab.com.

CryptoPals

Solutions to the matasano crypto challenges in Erlang licensed under the ISC License.

Crypto Challenge Set 1: Basics

  • Convert hex to base64
  • Fixed XOR
  • Single-byte XOR cipher
  • Detect single-character XOR
  • Implement repeating-key XOR
  • Break repeating-key XOR
  • AES in ECB mode
  • Detect AES in ECB mode

Crypto Challenge Set 2: Block crypto

  • Implement PKCS#7 padding
  • Implement CBC mode
  • An ECB/CBC detection oracle
  • Byte-at-a-time ECB decryption (Simple)
  • ECB cut-and-paste
  • Byte-at-a-time ECB decryption (Harder)
  • PKCS#7 padding validation
  • CBC bitflipping attacks