C# Class Granados.Crypto.Bcrypt

Partial implementation of bcrypt
Datei anzeigen Open project: poderosaproject/poderosa Class Usage Examples

Public Methods

Method Description
BcryptPbkdf ( string pass, byte salt, uint rounds, int keylen ) : byte[]

bcrypt_pbkdf (pkcs #5 pbkdf2 implementation using the "bcrypt" hash)

Private Methods

Method Description
BcryptHash ( Blowfish blowfish, byte sha2pass, byte sha2salt ) : byte[]

bcrypt_hash

Method Details

BcryptPbkdf() public method

bcrypt_pbkdf (pkcs #5 pbkdf2 implementation using the "bcrypt" hash)
public BcryptPbkdf ( string pass, byte salt, uint rounds, int keylen ) : byte[]
pass string password
salt byte salt
rounds uint rounds
keylen int key length
return byte[]