Blake2BConfigOutputSizeInBytes Property

Gets or sets the output size in bytes. Must be less than or equal to 64.

Definition

Namespace: Gemstone.Security.Cryptography.Blake2BHash
Assembly: Gemstone.Security (in Gemstone.Security.dll) Version: 1.0.180 -- Release Build+efa002733e5fdd8ca6ef590a1b20e48d37006b34
public int OutputSizeInBytes { get; set; }

Property Value

Int32

Remarks

Blake2 incorporates this value into the hash. The array returned by the Blake2BHasher.Finish call will be this length unless the Result64ByteBuffer value is non-null. If that property is non-null, that buffer gets returned by the Blake2BHasher.Finish call regardless of the OutputSizeInBytes property. In that case, you can copy the first OutputSizeInBytes bytes of the Result64ByteBuffer array to get the value that Blake2 would have returned.

See Also