Class SeedGcm
- Namespace
- CryptoHives.Foundation.Security.Cryptography.Cipher
- Assembly
- CryptoHives.Foundation.Security.Cryptography.dll
SEED-GCM authenticated encryption (RFC 4269).
public sealed class SeedGcm : GcmCipher, IAeadCipher, IDisposable
- Inheritance
-
SeedGcm
- Implements
- Inherited Members
Constructors
SeedGcm(ReadOnlySpan<byte>)
Initializes a new instance of the SeedGcm class.
public SeedGcm(ReadOnlySpan<byte> key)
Parameters
keyReadOnlySpan<byte>The 16-byte SEED 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 SEED-GCM instance.
public static SeedGcm Create(ReadOnlySpan<byte> key)
Parameters
keyReadOnlySpan<byte>The 16-byte SEED key.
Returns
- SeedGcm
A new SEED-GCM instance.