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.167 -- Release Build+327f7394dcedeaebafc0dd7a935c53bbb45ff86a
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