Function
EN
Version 10.01
@VerifyPassword
Misc
Text
Syntax
@VerifyPassword(TEXTPASSWORD1;TEXTHASH2);
Description
Checks whether the password TEXT TEXTPASSWORD1 matches the hash TEXT TEXTHASH2; see @Password.
On success, TRUE is returned; otherwise FALSE is returned.
Example: @VerifyPassword(TEXTPASSWORD1;TEXTHASH2);
TEXTPASSWORD1:="Test";
TEXTHASH2:=@Password(TEXTPASSWORD1);
Ret:=@VerifyPassword(TEXTPASSWORD1;TEXTHASH2);
@LogReport(Ret);
A hash (hash type 1) is generated from TEXT TEXTPASSWORD1 ("Test") and assigned to the variable TEXTHASH2.
The generated hash is then verified against the original text. The verification result, in this case TRUE, is assigned to the variable Ret and output to the log.
Note : This text was machine-translated and may contain inaccuracies.
