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.174 -- Release Build+9cd3cc683b50408a668eb0b3154de86256819210
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