Table of Contents

Class AesGcmSiv128

Namespace
CryptoHives.Foundation.Security.Cryptography.Cipher
Assembly
CryptoHives.Foundation.Security.Cryptography.dll

AEAD_AES_128_GCM_SIV nonce-misuse-resistant authenticated encryption (RFC 8452).

public sealed class AesGcmSiv128 : AesGcmSiv, IAeadCipher, IDisposable
Inheritance
AesGcmSiv128
Implements
Inherited Members

Constructors

AesGcmSiv128(ReadOnlySpan<byte>)

Initializes a new instance of the AesGcmSiv128 class.

public AesGcmSiv128(ReadOnlySpan<byte> key)

Parameters

key ReadOnlySpan<byte>

The 16-byte key.

Fields

KeySize

Key size in bytes for AES-128-GCM-SIV.

public const int KeySize = 16

Field Value

int

Properties

AlgorithmName

Gets the algorithm name.

public override string AlgorithmName { get; }

Property Value

string

Methods

Create(ReadOnlySpan<byte>)

Creates a new AES-128-GCM-SIV instance.

public static AesGcmSiv128 Create(ReadOnlySpan<byte> key)

Parameters

key ReadOnlySpan<byte>

The 16-byte key.

Returns

AesGcmSiv128

A new AES-128-GCM-SIV instance.