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