Method | Description | |
---|---|---|
MD5 ( byte data ) : string |
Creates an md5 hash of bytes
|
|
MD5 ( string filePath ) : string |
Creates an md5 hash of a file
|
|
SHA1 ( byte data ) : string |
Creates a sha1 hash of bytes
|
|
SHA1 ( string filePath ) : string |
Creates a sha1 hash of a file
|
|
SHA256 ( byte data ) : string |
Creates a sha256 hash of bytes
|
|
SHA256 ( string filePath ) : string |
Creates a sha256 hash of a file
|
|
SHA384 ( byte data ) : string |
Creates a sha384 hash of bytes
|
|
SHA384 ( string filePath ) : string |
Creates a sha384 hash of a file
|
|
SHA512 ( byte data ) : string |
Creates a sha512 hash of bytes
|
|
SHA512 ( string filePath ) : string |
Creates a sha512 hash of a file
|
Method | Description | |
---|---|---|
HashBytes ( |
Hash a set of bytes with a given algorithm, digested to hex form
|
|
HashFile ( |
Hash a file with a given algorithm, digested to hex form
|
public static MD5 ( byte data ) : string | ||
data | byte | The bytes to hash |
return | string |
public static MD5 ( string filePath ) : string | ||
filePath | string | The path to the file |
return | string |
public static SHA1 ( byte data ) : string | ||
data | byte | The bytes to hash |
return | string |
public static SHA1 ( string filePath ) : string | ||
filePath | string | The path to the file |
return | string |
public static SHA256 ( byte data ) : string | ||
data | byte | The bytes to hash |
return | string |
public static SHA256 ( string filePath ) : string | ||
filePath | string | The path to the file |
return | string |
public static SHA384 ( byte data ) : string | ||
data | byte | The bytes to hash |
return | string |
public static SHA384 ( string filePath ) : string | ||
filePath | string | The path to the file |
return | string |
public static SHA512 ( byte data ) : string | ||
data | byte | The bytes to hash |
return | string |
public static SHA512 ( string filePath ) : string | ||
filePath | string | The path to the file |
return | string |