Method | Description | |
---|---|---|
ComputeHash ( byte buffer ) : byte[] |
Computes the hash value for the specified byte array.
|
|
ComputeHash ( string buffer ) : byte[] |
Computes the hash value for the specified string (UTF8 default encoding).
|
|
ComputeHash ( string buffer, |
Computes the hash value for the specified string.
|
|
ComputeHashToBase64String ( string buffer ) : string |
Computes the hash for the specified string (UTF8 default encoding) to base64 string.
|
|
ComputeHashToBase64String ( string buffer, |
Computes the hash for the specified string to base64 string.
|
|
HMACMD5 ( byte key ) : System |
Initializes a new instance of the HMACMD5 class the supplied key.
|
|
HMACMD5 ( string key ) : System |
Initializes a new instance of the HMACMD5 class using the supplied key with UT8 encoding.
|
|
HMACMD5 ( string key, |
Initializes a new instance of the HMACMD5 class using the supplied key with supplied encoding.
|
Method | Description | |
---|---|---|
Combine ( byte a1, byte a2 ) : byte[] |
Combines two array (a1 and a2).
|
|
InitializeKey ( byte key ) : void |
Initializes the key.
|
|
UpdateIOPadBuffers ( ) : void |
Updates the IO pad buffers.
|
public ComputeHash ( byte buffer ) : byte[] | ||
buffer | byte | The input to compute the hash code for. |
return | byte[] |
public ComputeHash ( string buffer ) : byte[] | ||
buffer | string | The input to compute the hash code for. |
return | byte[] |
public ComputeHash ( string buffer, |
||
buffer | string | The input to compute the hash code for. |
encoding | The encoding. | |
return | byte[] |
public ComputeHashToBase64String ( string buffer ) : string | ||
buffer | string | The input to compute the hash code for. |
return | string |
public ComputeHashToBase64String ( string buffer, |
||
buffer | string | The input to compute the hash code for. |
encoding | The encoding. | |
return | string |
public HMACMD5 ( string key, |
||
key | string | The key. |
encoding | The encoding used to read the key. | |
return | System |