Blake2sDigest
Implementation of the cryptographic hash function BLAKE2s.
BLAKE2s is optimized for 32-bit platforms and produces digests of any size
between 1 and 32 bytes.
public Blake2sDigest()
Initializes a new instance of Blake2sDigest.
Constructs a new instance of Blake2sDigest from another Blake2sDigest./>.
Initializes a new instance of Blake2sDigest with a given digest size.
Initializes a new instance of Blake2sDigest with a key.
Blake2s for authentication ("Prefix-MAC mode"). After calling the DoFinal method, the key will remain to be used for further computations of this instance. The key can be cleared using the ClearKey method.
Initializes a new instance of Blake2sDigest with a key, required digest length (in bytes), salt and personalization.
After calling the DoFinal method, the key, the salt and the personalization will remain and might be used for further computations with this instance. The key can be overwritten using the ClearKey method, the salt (pepper) can be overwritten using the ClearSalt method.
Clears the key.
Clears the salt (pepper).
Close the digest, producing the final digest value.
Close the digest, producing the final digest value.
Return the size in bytes of the internal buffer the digest applies it's compression
function to.
Reset the digest back to it's initial state.
The key, the salt and the personalization will remain for further computations.