confluent-kafka-dotnet
Show / Hide Table of Contents

Class AesPmac

PMAC message authentication code, defined in the paper A Block-Cipher Mode of Operation for Parallelizable Message Authentication .

Inheritance
object
AesPmac
Implements
IDisposable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Confluent.SchemaRegistry.Encryption.Vendored.Miscreant
Assembly: Confluent.SchemaRegistry.Encryption.dll
Syntax
public sealed class AesPmac : IDisposable

Constructors

AesPmac(byte[])

Initializes a new instance of the AesPmac class with the specified key.

Declaration
public AesPmac(byte[] key)
Parameters
TypeNameDescription
byte[]key

The secret key for AesPmac authentication.

Methods

Dispose()

Disposes this object.

Declaration
public void Dispose()

HashCore(byte[], int, int)

Adds more data to the running hash.

Declaration
public void HashCore(byte[] input, int index, int size)
Parameters
TypeNameDescription
byte[]input

The input to hash.

intindex

The offset into the input byte array from which to begin using data.

intsize

The number of bytes in the input byte array to use as data.

HashFinal()

Returns the current hash and resets the hash state.

Declaration
public byte[] HashFinal()
Returns
TypeDescription
byte[]

The value of the computed hash.

Implements

IDisposable
In this article