<PackageReference Include="Microsoft.Bcl.Cryptography" Version="11.0.0-rc.2.26504.105" />

System.Security.Cryptography

Namespace with 29 public types

Classes

 AesGcm Represents an Advanced Encryption Standard (AES) key to be used with the Galois/Counter Mode (GCM) mode of operation.
 AuthenticationTagMismatchException The exception that is thrown when a decryption operation with an authenticated cipher has an authentication tag mismatch.
 CompositeMLDsaAlgorithm Represents a composite ML-DSA algorithm identifier, combining ML-DSA with a traditional algorithm.
 CompositeMLDsaCng Provides a Cryptography Next Generation (CNG) implementation of Composite ML-DSA.
 CompositeMLKemAlgorithm Represents a Composite ML-KEM algorithm identifier, combining ML-KEM with a traditional algorithm.
 CompositeMLKemCng Provides a Cryptography Next Generation (CNG) implementation of the Composite Module-Lattice-Based Key-Encapsulation Mechanism (Composite ML-KEM) algorithm.
 HpkeSuite Represents a Hybrid Public Key Encryption (HPKE) cipher suite.
 MLDsaAlgorithm Represents a specific algorithm within the ML-DSA family.
 MLDsaCng Provides a Cryptography Next Generation (CNG) implementation of the Module-Lattice-Based Digital Signature Algorithm (ML-DSA).
 MLKemAlgorithm Represents a specific algorithm within the ML-KEM family.
 MLKemCng Provides a Cryptography Next Generation (CNG) implementation of the Module-Lattice-Based Key-Encapsulation Mechanism (ML-KEM).
 PbeParameters Represents parameters to be used for Password-Based Encryption (PBE).
 SlhDsaAlgorithm Represents a specific algorithm within the SHL-DSA family.
 SlhDsaCng Provides a Cryptography Next Generation (CNG) implementation of the Stateless Hash-Based Digital Signature Algorithm (SLH-DSA).
 SP800108HmacCounterKdf NIST SP 800-108 HMAC CTR Key-Based Key Derivation (KBKDF)
 X25519DiffieHellmanCng Provides a Cryptography Next Generation (CNG) implementation of X25519 Diffie-Hellman.

Enumerations

 HpkeAead Specifies an authenticated encryption with associated data (AEAD) algorithm for an HPKE cipher suite.
 HpkeKdf Specifies a key derivation function (KDF) for an HPKE cipher suite.
 HpkeKem Specifies a key encapsulation mechanism (KEM) for an HPKE cipher suite.
 PbeEncryptionAlgorithm Specifies encryption algorithms to be used with Password-Based Encryption (PBE).

Abstract Classes

 CompositeMLDsa Represents a Composite ML-DSA key.
 CompositeMLKem Represents a Composite ML-KEM key.
 Hpke Represents a Hybrid Public Key Encryption (HPKE) key.
 HpkeRecipient Represents an HPKE recipient context for decrypting multiple messages and exporting secrets.
 HpkeSender Represents an HPKE sender context for encrypting multiple messages and exporting secrets.
 MLDsa Represents an ML-DSA key.
 MLKem Represents an ML-KEM key.
 SlhDsa Represents an SLH-DSA key.
 X25519DiffieHellman Represents an X25519 Diffie-Hellman key.