Blake2b256 Constructor
Assembly: Rebex.Security.dll (version 7.0.9083)
Blake2b256(Byte[])
Initializes a new instance of the Blake2b class.
Declaration
public Blake2b256(byte[] key)
Parameters
Type |
Name |
Description |
Byte[] |
key |
Key to use in HMAC calculation.
The key must be a 0 - 64 bytes long array or null. When a null value is provided, the key is treated as an empty array.
When the key is null or an empty array, the instance will calculate hashes.
When the key is 1 - 64 bytes long, the instance will calculate message authentication codes (HMAC).
An instance of the Blake2b256 class creates, uses, and clears a copy of the key .
An instance of the Blake2b256 class is not the owner of the key
and the key will not be cleared when the Dispose method is called.
The owner of the key should clear the key.
|
Blake2b256()
Initializes a new instance of the Blake2b256 class.
Declaration