Blake2BConfigKey Property

Gets or sets the key value used in the hash. If not null, must be 128 bytes or shorter.

Definition

Namespace: Gemstone.Security.Cryptography.Blake2BHash
Assembly: Gemstone.Security (in Gemstone.Security.dll) Version: 1.0.171 -- Release Build+9bbaecd83e44e0973a7b18ef958272cfb4d67729
public byte[]? Key { get; set; }

Property Value

Byte

Remarks

Blake2 keyed hashing can be used for authentication as a faster and simpler replacement for HMAC.

Exceptions

ArgumentException Attempt to set Key greater than 128 bytes.

See Also