Skip to content

sytranvn/cryptopals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLang tests GCC tests Progress

Solving challenges on https://cryptopals.com/

  • Set 1: Basics
    • Challenge 1: Convert hex to base64
    • Challenge 2: Fixed XOR
    • Challenge 3: Single-byte XOR cipher
    • Challenge 4: Detect single-character XOR
    • Challenge 5: Implement repeating-key XOR
    • Challenge 6: Break repeating-key XOR
    • Challenge 7: AES in ECB mode
    • Challenge 8: Detect AES in ECB mode
  • Set 2: Block crypto
  • Set 3: Block & stream crypto
  • Set 4: Stream crypto and randomness
  • Set 5: Diffie-Hellman and friends
  • Set 6: RSA and DSA
  • Set 7: Hashes
  • Set 8: Abstract Algebra

Build

cmake -S. -B.
make -C build

Test

ctest --test-dir build