Elixir implementation of the Blake2 hashing algorithm
Blake2 is a modern cryptographic hash function that is fast, but at least as secure as the latest standard SHA-3.
Blake2 comes in two flavors:
- Blake2b is optimized for 64-bit platforms
- produces digests of any size between 1 and 64 bytes
- Blake2s is optimized for 8- to 32-bit platforms
- produces digests of any size between 1 and 32 bytes
There are also the 4-way parallel Blask2bp and 8-way parallel Blake2sp versions.
Standard, keyed, salted and personalized hashing are now supported for all four versions.
Tree hashing and b2sum are not yet supported.