Class AriaGcm
- Namespace
- CryptoHives.Foundation.Security.Cryptography.Cipher
- Assembly
- CryptoHives.Foundation.Security.Cryptography.dll
ARIA-GCM authenticated encryption (ARIA per RFC 5794; used in TLS by RFC 6209).
public sealed class AriaGcm : GcmCipher, IAeadCipher, IDisposable
- Inheritance
-
AriaGcm
- Implements
- Inherited Members
Constructors
AriaGcm(ReadOnlySpan<byte>)
Initializes a new instance of the AriaGcm class.
public AriaGcm(ReadOnlySpan<byte> key)
Parameters
keyReadOnlySpan<byte>The 16, 24, or 32-byte ARIA key.
Exceptions
- ArgumentException
The key has the wrong length.
Properties
AlgorithmName
Gets the algorithm name.
public override string AlgorithmName { get; }
Property Value
Methods
Create(ReadOnlySpan<byte>)
Creates a new ARIA-GCM instance.
public static AriaGcm Create(ReadOnlySpan<byte> key)
Parameters
keyReadOnlySpan<byte>The 16, 24, or 32-byte ARIA key.
Returns
- AriaGcm
A new ARIA-GCM instance.