CipherVerifyPasswordHash Method
Verifies the given user password against a given hash.
Namespace: Gemstone.Security.CryptographyAssembly: Gemstone.Security (in Gemstone.Security.dll) Version: 1.0.147 -- Release Build+3014b8a0edc553e56f868ef31b6f0f5012f8db4f
public static bool VerifyPasswordHash(
string hash,
string password,
int categoryID = 0
)
Public Shared Function VerifyPasswordHash (
hash As String,
password As String,
Optional categoryID As Integer = 0
) As Boolean
public:
static bool VerifyPasswordHash(
String^ hash,
String^ password,
int categoryID = 0
)
Gemstone.Security.Cryptography.Cipher.VerifyPasswordHash = function(hash, password, categoryID);
- hash String
- Stored hash.
- password String
- User provide password.
- categoryID Int32 (Optional)
- Specifies the optional category ID.
Booleantrue if the given user password matches the stored hash; otherwise,
false.