Table of Contents

Class OpenBsdBCrypt

Namespace
Enterprises.Org.BouncyCastle.Crypto.Generators
Assembly
Enterprises.BouncyCastle.Crypto.dll
public class OpenBsdBCrypt
Inheritance
OpenBsdBCrypt
Inherited Members

Constructors

OpenBsdBCrypt()

public OpenBsdBCrypt()

Methods

CheckPassword(string, char[])

public static bool CheckPassword(string bcryptString, char[] password)

Parameters

bcryptString string
password char[]

Returns

bool

Generate(char[], byte[], int)

public static string Generate(char[] password, byte[] salt, int cost)

Parameters

password char[]
salt byte[]
cost int

Returns

string

Generate(string, char[], byte[], int)

public static string Generate(string version, char[] password, byte[] salt, int cost)

Parameters

version string
password char[]
salt byte[]
cost int

Returns

string