C# Class MinerLib_cs.Scrypt

Datei anzeigen Open project: GarageGames/Bitcoin Class Usage Examples

Public Methods

Method Description
ByteReverse ( uint value ) : uint
GetHash ( ) : byte[]
Hash ( uint nonce ) : bool
SHA2562 ( byte input ) : byte[]
Scrypt ( Work w ) : System

Private Methods

Method Description
Ch ( uint x, uint y, uint z ) : uint
Maj ( uint x, uint y, uint z ) : uint
ROTATE ( uint a, int n ) : uint
ScryptHash ( ) : void
Sigma0 ( uint x ) : uint
Sigma1 ( uint x ) : uint
sha256_block ( uint output, uint state, uint input, uint inputOffset ) : void
sigma0 ( uint x ) : uint
sigma1 ( uint x ) : uint
xor_salsa ( uint B ) : void

Method Details

ByteReverse() public static method

public static ByteReverse ( uint value ) : uint
value uint
return uint

GetHash() public method

public GetHash ( ) : byte[]
return byte[]

Hash() public method

public Hash ( uint nonce ) : bool
nonce uint
return bool

SHA2562() public static method

public static SHA2562 ( byte input ) : byte[]
input byte
return byte[]

Scrypt() public method

public Scrypt ( Work w ) : System
w Work
return System