Thanks to visit codestin.com
Credit goes to github.com

Skip to content

alexweej/cryptopals

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

These are my solutions to the interesting challenges at [the cryptopals crypto
challenges](https://cryptopals.com). All solutions are coded in C++11 and Boost.

To run these solutions, you will need:
 - GNU Compiler Collection (GCC) -- I used v5.3.0 in MinGW-W64 (posix-seh-rev0).
 - Boost C++ Libraries -- I used v1.61.0.
 - Google Test -- I used the "master" branch at commit ec44c6c.
 - GNU Make -- I used v4.1 in MinGW-W64 (mingw32-make).

Although my development environment is in Windows, I tried to make no
assumptions about the environment, instead stuck by whatever is guaranteed by
the language standard and library documentation. The solutions should build in a
UNIX environment just fine.

The solutions are organized in two directory levels: the first level for the Set
and the second level for the Challenge (as in the Cryptopals website). Each
inner directory has a GNUmakefile that expects these environment variables:
 - BOOST_DIR -- the top-level directory of your Boost installation
 - GTEST_DIR -- the top-level directory of your Google Test installation

To build any solution, ensure that the above environment variables are set, then
"cd" to that directory and run "make" (or "gmake", "mingw32-make", etc.). This
will produce the executable, along with other intermediary build products. The
executable name will begin with "test_", so should be easy to locate.

The "main" translation unit of each solution is full of test cases written for
the Google Test framework. The main() inside Google Test is used, so you will
not find a main() function in here.

About

My answers to challenges in https://cryptopals.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 88.6%
  • Makefile 11.4%