Class AriaCcm
- Namespace
- CryptoHives.Foundation.Security.Cryptography.Cipher
- Assembly
- CryptoHives.Foundation.Security.Cryptography.dll
ARIA-CCM authenticated encryption (ARIA per RFC 5794, CCM per RFC 3610).
public sealed class AriaCcm : CcmCipher, IAeadCipher, IDisposable
- Inheritance
-
AriaCcm
- Implements
- Inherited Members
Constructors
AriaCcm(ReadOnlySpan<byte>)
Initializes a new instance of the AriaCcm class.
public AriaCcm(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-CCM instance.
public static AriaCcm Create(ReadOnlySpan<byte> key)
Parameters
keyReadOnlySpan<byte>The 16, 24, or 32-byte ARIA key.
Returns
- AriaCcm
A new ARIA-CCM instance.