<PackageReference Include="BouncyCastle.Cryptography" Version="2.5.1" />

Org.BouncyCastle.Cms.Pkcs5Scheme2Utf8PbeKey

namespace Org.BouncyCastle.Cms { public class Pkcs5Scheme2Utf8PbeKey : CmsPbeKey { public Pkcs5Scheme2Utf8PbeKey(char[] password, byte[] salt, int iterationCount); public Pkcs5Scheme2Utf8PbeKey(char[] password, AlgorithmIdentifier keyDerivationAlgorithm); public Pkcs5Scheme2Utf8PbeKey(ReadOnlySpan<char> password, ReadOnlySpan<byte> salt, int iterationCount); public Pkcs5Scheme2Utf8PbeKey(ReadOnlySpan<char> password, AlgorithmIdentifier keyDerivationAlgorithm); } }