C# Class Meek.Security.Cryptography.MD5CryptoServiceProvider

MD5 Crypto Service Provider
Show file Open project: klintz/Meek Class Usage Examples

Public Methods

Method Description
ComputeHash ( Stream stream ) : byte[]

Compute Hash from a specified stream

ComputeHash ( Stream stream, byte salt ) : byte[]

Compute Hash from a specified stream and a salt

ComputeHash ( byte data ) : byte[]

Compute Hash

ComputeHash ( byte data, byte salt ) : byte[]

Compute Hash with a specified salt

Method Details

ComputeHash() public method

Compute Hash from a specified stream
public ComputeHash ( Stream stream ) : byte[]
stream Stream stream
return byte[]

ComputeHash() public method

Compute Hash from a specified stream and a salt
public ComputeHash ( Stream stream, byte salt ) : byte[]
stream Stream stream
salt byte salt
return byte[]

ComputeHash() public method

Compute Hash
public ComputeHash ( byte data ) : byte[]
data byte byte[] to hash
return byte[]

ComputeHash() public method

Compute Hash with a specified salt
public ComputeHash ( byte data, byte salt ) : byte[]
data byte byte[] to hash
salt byte salt
return byte[]