Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Build Status

cryptopals

Just me going tough the cryptopals challenges. It is slow, insecure code by design. So, don't use it.

Building

Start by git submodule init && git submodule update. Then, simply make. You'll need Cmake (sorry) and a C11 compiler.

...and?

Type make test, sit back and enjoy the show. Alternatively, just check the Travis-CI build output.

...aaaand?

That's it. It's a bunch of functions in a lib wrapped by tests using the data from the challenges. It's should be easy to discover though, hopefully well commented and using the µnit Testing Framework.

coverage?

Before I get a coverage banner you can

% BUILD_TYPE=COVERAGE make
% ./build/testrunner --no-fork --log-visible debug --show-stderr \
    --param srp_server ./python/srp_server.py \
    --param mac_server ./python/hmac_padding_oracle.py \
    --param mac_filepath ./README.md
% lcov --directory build/CMakeFiles/cryptopals.dir/src \
    --base-directory build/CMakeFiles/cryptopals.dir/src \
    --gcov-tool $PWD/llvm-gcov.sh \
    --capture \
    -o cov.info
% genhtml cov.info -o output

About

Just me going tough the cryptopals challenges

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages