Repetier-Host Plugin  2.0.0
GregoryAdam.Base.Security.Hashing.MD5 Class Reference

List of all members.

Public Member Functions

 MD5 ()
 Creates an MD5 object and initializes the context.
byte[] Hash (byte[] input, int index, int count)
 hashes a part of a byte array
byte[] Hash (byte[] input)
 hashes a byte array
byte[] Hash (string input)
 Hashes a string. The String is first converted to a utf8 byte array.
byte[] Hash (string input, int index, int count)
 Hashes a string. The String is first converted to a utf8 byte array.
byte[] Hash (Stream stream)
byte[] HashFile (string FileName)
 Hashes a file.

Constructor & Destructor Documentation

Creates an MD5 object and initializes the context.


Member Function Documentation

byte [] GregoryAdam.Base.Security.Hashing.MD5.Hash ( byte[]  input,
int  index,
int  count 
)

hashes a part of a byte array

Parameters:
inputbyte array
indexstart hashing at
countnumber of bytes to hash
Returns:
MD5 hash in a byte array
byte [] GregoryAdam.Base.Security.Hashing.MD5.Hash ( byte[]  input)

hashes a byte array

Parameters:
inputbyte array
Returns:
MD5 hash in a byte array
byte [] GregoryAdam.Base.Security.Hashing.MD5.Hash ( string  input)

Hashes a string. The String is first converted to a utf8 byte array.

Parameters:
inputstring to hash
Returns:
byte [] GregoryAdam.Base.Security.Hashing.MD5.Hash ( string  input,
int  index,
int  count 
)

Hashes a string. The String is first converted to a utf8 byte array.

Parameters:
inputstring to hash
indexstart index
countnumber of chars to hash
Returns:
byte [] GregoryAdam.Base.Security.Hashing.MD5.HashFile ( string  FileName)

Hashes a file.

Parameters:
FileName
Returns:

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Properties Events