Skip to content

kaworu/cryptopals

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

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 through the cryptopals challenges

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages