Org.BouncyCastle.Crypto.PasswordConverter
Standard char[] to byte[] converters for password based derivation algorithms.
namespace Org.BouncyCastle.Crypto
{
public sealed class PasswordConverter : ICharToByteConverter
{
private delegate byte[] ConverterFunction (char[] password);
public static readonly ICharToByteConverter Ascii;
public static readonly ICharToByteConverter Utf8;
public static readonly ICharToByteConverter Pkcs12;
public string Name { get; }
public byte[] Convert(char[] password);
}
}