Blake2#
BLAKE2 comes in two variants:
BLAKE2b (or just BLAKE2), and
BLAKE2s.
BLAKE2b is optimized for 64-bit platforms and produces digests of any size between 1 and 64 bytes. It also has a build-in keying mechanism so that it can be used to replace HMAC-based constructions.
BLAKE2s is optimized for 8- to 32-bit platforms and produces digests of any size between 1 and 32 bytes.
- Blake2b
- API Reference
- One-Shot
- Streaming (without key)
Hacl_Hash_Blake2b_state_t
Hacl_Hash_Blake2b_malloc()
Hacl_Hash_Blake2b_update()
Hacl_Hash_Blake2b_digest()
Hacl_Hash_Blake2b_reset()
Hacl_Hash_Blake2b_free()
Hacl_Hash_Blake2b_Simd256_state_t
Hacl_Hash_Blake2b_Simd256_malloc()
Hacl_Hash_Blake2b_Simd256_update()
Hacl_Hash_Blake2b_Simd256_digest()
Hacl_Hash_Blake2b_Simd256_reset()
Hacl_Hash_Blake2b_Simd256_free()
- API Reference
- Blake2s
- API Reference
- One-Shot
- Streaming (without key)
Hacl_Hash_Blake2s_state_t
Hacl_Hash_Blake2s_malloc()
Hacl_Hash_Blake2s_update()
Hacl_Hash_Blake2s_digest()
Hacl_Hash_Blake2s_reset()
Hacl_Hash_Blake2s_free()
Hacl_Hash_Blake2s_Simd128_state_t
Hacl_Hash_Blake2s_Simd128_malloc()
Hacl_Hash_Blake2s_Simd128_update()
Hacl_Hash_Blake2s_Simd128_digest()
Hacl_Hash_Blake2s_Simd128_reset()
Hacl_Hash_Blake2s_Simd128_free()
- API Reference