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