Kmac256 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.
Computes the KMAC256 MAC for the input data.
public ref class Kmac256 sealed : IDisposable
public sealed class Kmac256 : IDisposable
type Kmac256 = class
interface IDisposable
Public NotInheritable Class Kmac256
Implements IDisposable
- Inheritance
-
Kmac256
- Implements
Remarks
This algorithm is specified by NIST SP 800-185.
Constructors
Kmac256(Byte[], Byte[]) |
Initializes a new instance of the Kmac256 class. |
Kmac256(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) |
Initializes a new instance of the Kmac256 class. |
Properties
IsSupported |
Gets a value that indicates whether the algorithm is supported on the current platform. |
Methods
AppendData(Byte[]) |
Appends the specified data to the data already processed in the hash. |
AppendData(ReadOnlySpan<Byte>) |
Appends the specified data to the data already processed in the hash. |
Clone() |
Creates a new instance of Kmac256 with the existing appended data preserved. |
Dispose() |
Release all resources used by the current instance of the Kmac256 class. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetCurrentHash(Int32) |
Retrieves the hash for the data accumulated from prior calls to the |
GetCurrentHash(Span<Byte>) |
Fills the buffer with the hash for the data accumulated from prior calls to the |
GetHashAndReset(Int32) |
Retrieves the hash for the data accumulated from prior calls to the |
GetHashAndReset(Span<Byte>) |
Fills the buffer with the hash for the data accumulated from prior calls to the |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
HashData(Byte[], Byte[], Int32, Byte[]) |
Computes the hash of data using the KMAC256 algorithm. |
HashData(Byte[], Stream, Int32, Byte[]) |
Computes the hash of a stream using the KMAC256 algorithm. |
HashData(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Int32, ReadOnlySpan<Byte>) |
Computes the hash of data using the KMAC256 algorithm. |
HashData(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Span<Byte>, ReadOnlySpan<Byte>) |
Computes the hash of data using the KMAC256 algorithm. |
HashData(ReadOnlySpan<Byte>, Stream, Int32, ReadOnlySpan<Byte>) |
Computes the hash of a stream using the KMAC256 algorithm. |
HashData(ReadOnlySpan<Byte>, Stream, Span<Byte>, ReadOnlySpan<Byte>) |
Computes the hash of a stream using the KMAC256 algorithm. |
HashDataAsync(Byte[], Stream, Int32, Byte[], CancellationToken) |
Asynchronously computes the hash of a stream using the KMAC256 algorithm. |
HashDataAsync(ReadOnlyMemory<Byte>, Stream, Int32, ReadOnlyMemory<Byte>, CancellationToken) |
Asynchronously computes the hash of a stream using the KMAC256 algorithm. |
HashDataAsync(ReadOnlyMemory<Byte>, Stream, Memory<Byte>, ReadOnlyMemory<Byte>, CancellationToken) |
Asynchronously computes the hash of a stream using the KMAC256 algorithm. |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Applies to
משוב
https://aka.ms/ContentUserFeedback.
בקרוב: במהלך 2024, נפתור בעיות GitHub כמנגנון המשוב לתוכן ונחליף אותו במערכת משוב חדשה. לקבלת מידע נוסף, ראה:שלח והצג משוב עבור