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.180 -- Release Build+efa002733e5fdd8ca6ef590a1b20e48d37006b34
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