Method | Description | |
---|---|---|
Hash ( this data, |
Computes the hash of a byte array
|
|
Hash ( this data, |
Computes the hash of a string
|
Method | Description | |
---|---|---|
ToByteArray ( this input, |
public static Hash ( this data, |
||
data | this | Byte array to hash |
algorithm | Hash algorithm to use (defaults to SHA256) | |
return | byte[] |
public static Hash ( this data, |
||
data | this | string to hash |
algorithm | Algorithm to use (defaults to SHA256) | |
encodingUsing | Encoding used by the string (defaults to UTF8) | |
return | string |