mirror of
https://github.com/boostorg/hash2.git
synced 2026-01-19 04:12:12 +00:00
@@ -314,7 +314,7 @@ a digest of 256 bits.
|
||||
|
||||
BLAKE2 is also designed explicitly with keyed hashing in mind, making it functionally equivalent to a Message Authentication Code (MAC). The seeded constructors act as the
|
||||
keys, BLAKE2b using a maximum of the first 64 bytes of input as the key and BLAKE2s using a maximum of the first 32 bytes. Excess input is handled by passing it to the `update()` function
|
||||
and then `result()` is called. HMAC typedefs are still provided for convenience and for compatiblity with existing protocols such as https://noiseprotocol.org/noise.html[Noise]. BLAKE2
|
||||
and then `result()` is called. HMAC typedefs are still provided for convenience and for compatibility with existing protocols such as https://noiseprotocol.org/noise.html[Noise]. BLAKE2
|
||||
behaves as all other cryptographic hash functions do when used with `hmac<H>`.
|
||||
|
||||
### RIPEMD-160, RIPEMD-128
|
||||
|
||||
@@ -39,7 +39,7 @@ The only differences between them are the size of the message digest and the siz
|
||||
which is by truncating the bottom portion of the 1600-bit state.
|
||||
|
||||
The `shake_128` and `shake_256` functions are similar to the fixed-digest functions except they use a different delimiter to denote finalization of the
|
||||
digest and extending the output has defined behavior, unlike the default pseudorandom behavior used elsewhere in the library. But they work similary
|
||||
digest and extending the output has defined behavior, unlike the default pseudorandom behavior used elsewhere in the library. But they work similarly
|
||||
in that truncations of the 1600-bit state are returned as the digest.
|
||||
|
||||
## sha3_256
|
||||
|
||||
Reference in New Issue
Block a user