-
Notifications
You must be signed in to change notification settings - Fork 3
Macs
Bruce Wayne edited this page Jul 28, 2021
·
2 revisions
IMac mac = GHashUtils.Create(ReadOnlySpan<byte> key);IMac mac = HmacUtils.Create(DigestType type, ReadOnlySpan<byte> key);IMac mac = Poly1305Utils.Create(ReadOnlySpan<byte> key);| Property | Description |
|---|---|
| Name | Name of the MAC |
| Length | Output length of the MAC |
| Method | Description |
|---|---|
void Update(ReadOnlySpan<byte>) |
Update the state |
void GetMac(Span<byte>) |
Get the hash value and reset the state |
void Reset() |
Reset the state |
void Dispose() |
Releases the resources |