<PackageReference Include="Microsoft.Bcl.Cryptography" Version="11.0.0-preview.7.26381.103" />

Internal.NativeCrypto.Cng

static class Cng

public const string BCRYPT_3DES_ALGORITHM = "3DES"

public const string BCRYPT_AES_ALGORITHM = "AES"

public const string BCRYPT_CHACHA20_POLY1305_ALGORITHM = "CHACHA20_POLY1305"

public const string BCRYPT_CHAIN_MODE_CBC = "ChainingModeCBC"

public const string BCRYPT_CHAIN_MODE_CCM = "ChainingModeCCM"

public const string BCRYPT_CHAIN_MODE_CFB = "ChainingModeCFB"

public const string BCRYPT_CHAIN_MODE_ECB = "ChainingModeECB"

public const string BCRYPT_CHAIN_MODE_GCM = "ChainingModeGCM"

public const string BCRYPT_DES_ALGORITHM = "DES"

public const string BCRYPT_RC2_ALGORITHM = "RC2"

public static SafeAlgorithmHandle BCryptOpenAlgorithmProvider(string pszAlgId, string pszImplementation = null, OpenAlgorithmProviderFlags dwFlags = 0)

public static void SetCipherMode(this SafeAlgorithmHandle hAlg, string cipherMode)

public static void SetEffectiveKeyLength(this SafeAlgorithmHandle hAlg, int effectiveKeyLength)

public static void SetFeedbackSize(this SafeAlgorithmHandle hAlg, int dwFeedbackSize)