C# Class Blake2Sharp.Blake2BCore

Datei anzeigen Open project: BLAKE2/BLAKE2 Class Usage Examples

Public Methods

Method Description
HashCore ( byte array, int start, int count ) : void
HashFinal ( ) : byte[]
HashFinal ( bool isEndOfLayer ) : byte[]
Initialize ( ulong config ) : void

Private Methods

Method Description
BytesToUInt64 ( byte buf, int offset ) : ulong
Compress ( byte block, int start ) : void
UInt64ToBytes ( ulong value, byte buf, int offset ) : void

Method Details

HashCore() public method

public HashCore ( byte array, int start, int count ) : void
array byte
start int
count int
return void

HashFinal() public method

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

HashFinal() public method

public HashFinal ( bool isEndOfLayer ) : byte[]
isEndOfLayer bool
return byte[]

Initialize() public method

public Initialize ( ulong config ) : void
config ulong
return void