all repos — TinyCrypT @ f4038a7f6da3fa7166150fcdb87b4667b54ce10f

Short and sweet classical cryptographic primitives

README.md (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
# TinyCrypT

Personal-use implementations of various cryptographic algorithms (NOT FOR PRODUCTION USE)

## Algorithms
- ChaCha20-Poly1305 for combined encryption and MAC
- KangarooTwelve128 for hashing
- X25519 for elliptic-curve Diffie-Hellman key exchange
- SHA-256 and SHA-512 for hashing, ECDH, and Ed25519

## Known Vulnerabilities
The CC20-P1305 implementation was not designed with side-channel attacks in mind. Rewriting it to perform actions in constant time is a goal currently being undertaken (after unit tests are in place).