Method | Description | |
---|---|---|
HashString ( string value, string &hashedValue, string &salt ) : void |
Salt and hash a string using SHA256
|
|
HashStringWithSalt ( string value, string salt ) : string |
Hash a string with a set salt using SHA256
|
Method | Description | |
---|---|---|
GenerateSalt ( ) : byte[] |
public static HashString ( string value, string &hashedValue, string &salt ) : void | ||
value | string | The string to hash |
hashedValue | string | The salted hash of the input string |
salt | string | The salt used to generate the hash |
return | void |
public static HashStringWithSalt ( string value, string salt ) : string | ||
value | string | The string to hash |
salt | string | The salt to hash with |
return | string |