Class AesCcm192
- Namespace
- CryptoHives.Foundation.Security.Cryptography.Cipher
- Assembly
- CryptoHives.Foundation.Security.Cryptography.dll
AES-192-CCM authenticated encryption.
public sealed class AesCcm192 : AesCcm, IAeadCipher, IDisposable
- Inheritance
-
AesCcm192
- Implements
- Inherited Members
Remarks
AES-192-CCM uses a 192-bit (24-byte) key with CCM mode for authenticated encryption.
Constructors
AesCcm192(ReadOnlySpan<byte>)
Initializes a new instance of the AesCcm192 class.
public AesCcm192(ReadOnlySpan<byte> key)
Parameters
keyReadOnlySpan<byte>The 24-byte key.
Fields
KeySizeBytesConst
Key size in bytes for AES-192.
public const int KeySizeBytesConst = 24
Field Value
Properties
AlgorithmName
Gets the algorithm name.
public override string AlgorithmName { get; }
Property Value
KeySizeBytes
Gets the key size in bytes.
public override int KeySizeBytes { get; }
Property Value
Methods
Create(ReadOnlySpan<byte>)
Creates a new AES-192-CCM instance.
public static AesCcm192 Create(ReadOnlySpan<byte> key)
Parameters
keyReadOnlySpan<byte>The 24-byte key.
Returns
- AesCcm192
A new AES-192-CCM instance.