GeneralZero / ChaCha-and-Salsa

A simple, commented and readable python implementation of ChaCha, Salsa, Poly1305, MD2, MD4, MD5, SHA1, SHA2, SHA3, Blake, Blake2, DES, 3DES, and more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChaCha-and-Salsa

A simple, commented and readable python implementations of

Asymetric Encryption:

Hash Functions:

Key Derivation:

Key Exchange:

Message Authentication Codes (MAC):

Signatures:

Symetric Encryption:

While these should not be used in real world applications. Hopefully the simple implimenation and comments should let people under stand the flow of the program and how each of the implimenations work.

Special Mentions

@oiidmnk for bringing the MD2 RFC Eratta to my attention and making the Pull Request. https://www.rfc-editor.org/errata/eid555

These Implimenations have been verified against some of the Test Vectors in the RFC's to make sure that the functions are correct.

About

A simple, commented and readable python implementation of ChaCha, Salsa, Poly1305, MD2, MD4, MD5, SHA1, SHA2, SHA3, Blake, Blake2, DES, 3DES, and more

License:MIT License


Languages

Language:Python 100.0%