Skip to content

A homegrown rewrite of several cryptographic algos and protocols

Notifications You must be signed in to change notification settings

bankisan/brykto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

brykto

brykto (broken crypto)

     8 8 8 8                     ,ooo.
     8a8 8a8                    oP   ?b
    d888a888zzzzzzzzzzzzzzzzzzzz8     8b
     `""^""'                    ?o___oP'

🚧 This crate is for educational purposes only. It's a homegrown rewrite of several cryptographic libraries and protocols that should NOT be used in production. 🚧

Why?

As the name implies, this is a broken cryptography crate. Its aim is to tear apart cryptography libraries and peek inside. Exposing the blackbox. Over time, the aim is to implement the most widely used algorithms and some esoteric ones as well.

Integration tests and benchmarks will have answers to cryptography problem sets in the wild. Contained within are answers to cryptopals, uncloak course homework, and others. While the aim is to rewrite most libraries, several answers will use implementations from the RustCrypto crate until they have been rewritten.

Planned TODOs

Block ciphers
  • AES
    • ECB
    • CBC
    • CRT
Hashers
  • SHA1
  • SHA256, SHA512
  • SHA3
  • keccak256
  • MD4
  • MD5
  • Pedersen hash
PRNGs
  • MT19937 Mersenne Twister

About

A homegrown rewrite of several cryptographic algos and protocols

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages