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

Public Member Functions

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

Constructor & Destructor Documentation

◆ MD5()

GregoryAdam.Base.Security.Hashing.MD5.MD5 ( )

Creates an MD5 object and initializes the context

Member Function Documentation

◆ Hash() [1/4]

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

◆ Hash() [2/4]

byte [] GregoryAdam.Base.Security.Hashing.MD5.Hash ( byte []  input)

hashes a byte array

Parameters
inputbyte array
Returns
MD5 hash in a byte array

◆ Hash() [3/4]

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

◆ Hash() [4/4]

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

◆ HashFile()

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:
About Us | Privacy Policy