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.169 -- Release Build+43e28b5fd7125e5e0921cb1e975c038b7a974af2
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