Skip to content

danbev/learning-crypto

Repository files navigation

Cryptography notes and code

This repository contains notes and code for learning about various things related to cryptography. Notes are available in the notes directory and I'll try have one file for each topic.

Cryptopals challenges

This following are links to cryptopals crypto challenges.

Set 1:

Example of building and running:

$ make out/challenge_01

All binary files are located in the outdirectory. The challenge can then be run using:

$ ./out/challenge_01
Cryptopals Set 1, Challenge 1 hex to base64 conversion
Input:     49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368726f6f6d
Expected : SSdtIGtpbGxpbmcgeW91ciBicmFpbiBsaWtlIGEgcG9pc29ub3VzIG11c2hyb29t
Actual   : SSdtIGtpbGxpbmcgeW91ciBicmFpbiBsaWtlIGEgcG9pc29ub3VzIG11c2hyb29t

This works in the same way for all challenges.

Frequency distribution generator

Frequency distribution generator

About

Cryptography code and notes

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published