C# Class Org.BouncyCastle.Crypto.Generators.BCrypt

ファイルを表示 Open project: gkardava/WinPass Class Usage Examples

Public Methods

Method Description
Generate ( byte password, byte salt, int cost ) : byte[]

Private Methods

Method Description
BCrypt ( ) : System
CyclicXorKey ( byte key ) : void
DeriveRawKey ( int cost, byte salt, byte psw ) : byte[]
EncryptMagicString ( ) : byte[]
F ( uint x ) : uint
InitState ( ) : void
ProcessTable ( uint xl, uint xr, uint table ) : void
ProcessTableWithSalt ( uint table, uint salt32Bit, uint iv1, uint iv2 ) : void

Method Details

Generate() public static method

public static Generate ( byte password, byte salt, int cost ) : byte[]
password byte
salt byte
cost int
return byte[]