Skip to content

Latest commit

 

History

History
executable file
·
30 lines (16 loc) · 641 Bytes

README.md

File metadata and controls

executable file
·
30 lines (16 loc) · 641 Bytes

Cryptographic Birthday Attack on CBC

Charles Marshall & Bruno Lehouque

Program instructions

  • To compile:

make clean

make

Using make clean first is mandatory, otherwise the constants may not be correctly initialized.

  • Programs:

  • to put a random 128 bit key in a file

    ./generate_key <key file>

  • to check non-determinism and correct encryption/decryption

    ./verif [--verbose] <key file> <text file>

  • to launch N birthday attacks on CBC (default N = 1)

    ./attack [--verbose] [-n N] <key file> <text file>

Please read the report for additional information, and analysis of tests.