NonCryptographicHashAlgorithm(Int32) Constructor

Definition

Called from constructors in derived classes to initialize the NonCryptographicHashAlgorithm class.

C#
protected NonCryptographicHashAlgorithm(int hashLengthInBytes);

Parameters

hashLengthInBytes
Int32

The number of bytes produced from this hash algorithm.

Exceptions

hashLengthInBytes is less than 1.

Applies to

Produkt Verzie
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)