<PackageReference Include="SSH.NET" Version="2020.0.2" />

Renci.SshNet.Security.Cryptography.BCrypt

sealed class BCrypt
BCrypt implementation.
namespace Renci.SshNet.Security.Cryptography { internal sealed class BCrypt { public class SaltParseException : Exception { public SaltParseException(); public SaltParseException(string message); public SaltParseException(string message, Exception innerException); } public static string HashString(string source); public static string HashString(string source, int workFactor); public static string HashPassword(string input); public static string HashPassword(string input, int workFactor); public static string HashPassword(string input, string salt); public static string GenerateSalt(int workFactor); public static string GenerateSalt(); public static bool Verify(string text, string hash); public void Hash(byte[] hpass, byte[] hsalt, byte[] output); public void Pbkdf(byte[] password, byte[] salt, int rounds, byte[] output); public BCrypt(); } }