Table of Contents

Class AesGcmSiv256

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

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

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

Constructors

AesGcmSiv256(ReadOnlySpan<byte>)

Initializes a new instance of the AesGcmSiv256 class.

public AesGcmSiv256(ReadOnlySpan<byte> key)

Parameters

key ReadOnlySpan<byte>

The 32-byte key.

Fields

KeySize

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

public const int KeySize = 32

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-256-GCM-SIV instance.

public static AesGcmSiv256 Create(ReadOnlySpan<byte> key)

Parameters

key ReadOnlySpan<byte>

The 32-byte key.

Returns

AesGcmSiv256

A new AES-256-GCM-SIV instance.