C# Class AniDBmini.HashAlgorithms.Ed2k

Inheritance: System.Security.Cryptography.HashAlgorithm
Show file Open project: ahodesuka/AniDBmini

Public Methods

Method Description
Cancel ( ) : void
ComputeHash ( Stream stream ) : byte[]
Ed2k ( ) : System.Collections.Generic
Initialize ( ) : void

Protected Methods

Method Description
HashCore ( byte b, int offset, int length ) : void
HashFinal ( ) : byte[]

Calculates both ed2k hashes

Method Details

Cancel() public method

public Cancel ( ) : void
return void

ComputeHash() public method

public ComputeHash ( Stream stream ) : byte[]
stream System.IO.Stream
return byte[]

Ed2k() public method

public Ed2k ( ) : System.Collections.Generic
return System.Collections.Generic

HashCore() protected method

protected HashCore ( byte b, int offset, int length ) : void
b byte
offset int
length int
return void

HashFinal() protected method

Calculates both ed2k hashes
protected HashFinal ( ) : byte[]
return byte[]

Initialize() public method

public Initialize ( ) : void
return void