NonCryptographicHashAlgorithm Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a non-cryptographic hash algorithm.
public ref class NonCryptographicHashAlgorithm abstract
public abstract class NonCryptographicHashAlgorithm
type NonCryptographicHashAlgorithm = class
Public MustInherit Class NonCryptographicHashAlgorithm
- Inheritance
-
NonCryptographicHashAlgorithm
- Derived
Constructors
NonCryptographicHashAlgorithm(Int32) |
Called from constructors in derived classes to initialize the NonCryptographicHashAlgorithm class. |
Properties
HashLengthInBytes |
Gets the number of bytes produced from this hash algorithm. |
Methods
Append(Byte[]) |
Appends the contents of |
Append(ReadOnlySpan<Byte>) |
When overridden in a derived class, appends the contents of |
Append(Stream) |
Appends the contents of |
AppendAsync(Stream, CancellationToken) |
Asychronously reads the contents of |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetCurrentHash() |
Gets the current computed hash value without modifying accumulated state. |
GetCurrentHash(Span<Byte>) |
Writes the computed hash value to |
GetCurrentHashCore(Span<Byte>) |
When overridden in a derived class, writes the computed hash value to |
GetHashAndReset() |
Gets the current computed hash value and clears the accumulated state. |
GetHashAndReset(Span<Byte>) |
Writes the computed hash value to |
GetHashAndResetCore(Span<Byte>) |
Writes the computed hash value to |
GetHashCode() |
Obsolete.
This method is not supported and should not be called. Call GetCurrentHash() or GetHashAndReset() instead. |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
Reset() |
When overridden in a derived class, resets the hash computation to the initial state. |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
TryGetCurrentHash(Span<Byte>, Int32) |
Attempts to write the computed hash value to |
TryGetHashAndReset(Span<Byte>, Int32) |
Attempts to write the computed hash value to |
Applies to
.NET