HashHelper.VerifyPassword Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

VerifyPassword(String, String)

Compares a hash of the specified plain text password to a given hash value. Plain text is hashed with the same salt value as the original hash.

public static bool VerifyPassword(string password, string hash)

Parameters

password
System.String
hash
System.String

Returns

System.Boolean

If computed hash mathes the specified hash the function the return value is true; otherwise, the function returns false.