mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-29 10:50:05 +00:00
There is a lot of code duplicated in convenience methods in each hash implementation, and having a generic hash type makes implementing higher-level constructs such as HMAC significantly easier down the road.
crypto/legacy
These are algorithms that are shipped solely for the purpose of interoperability with legacy systems. The use of these packages in any other capacity is discouraged, especially those that are known to be broken.
- keccak - The draft version of the algorithm that became SHA-3
- MD5 - Broken (https://eprint.iacr.org/2005/075)
- SHA-1 - Broken (https://eprint.iacr.org/2017/190)