Method | Description | |
---|---|---|
Hash ( this data, |
Computes the hash of a byte array
|
|
Hash ( this data, |
Computes the hash of a string
|
Method | Description | |
---|---|---|
GenerateSalt ( this random, int size ) : byte[] |
public static Hash ( this data, |
||
data | this | Byte array to hash |
algorithm | Hash algorithm to use (defaults to SHA1) | |
return | byte[] |
public static Hash ( this data, |
||
data | this | string to hash |
algorithm | Algorithm to use (defaults to SHA1) | |
encodingUsing | Encoding used by the string (defaults to UTF8) | |
return | string |