| SaltedHashVerifyHash Method |
Verifies that the supplied data string matches the value in the supplied hash.
Namespace:
Galactic.Cryptography
Assembly:
Galactic.Cryptography (in Galactic.Cryptography.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public static bool VerifyHash(
string data,
int salt,
string hash
)
Public Shared Function VerifyHash (
data As String,
salt As Integer,
hash As String
) As Boolean
public:
static bool VerifyHash(
String^ data,
int salt,
String^ hash
)
static member VerifyHash :
data : string *
salt : int *
hash : string -> bool
Parameters
- data
- Type: SystemString
The string of data to check against the hash. - salt
- Type: SystemInt32
The salt for this data. - hash
- Type: SystemString
The hash to compare against.
Return Value
Type:
BooleanTrue if the data matches, false otherwise.
See Also