VerifyArgon2Hash()
Verifies a password against an Argon2 hash. Alias for Argon2CheckHash(). For new code, prefer Argon2Verify() for consistent naming.
Status:
Requires Extension: Crypto Extension
VerifyArgon2Hash( input=string, hash=string, throwOnError=boolean );
Returns: Boolean
| Argument | Description | Default |
|---|---|---|
|
input
string,
required
|
edit
Password to verify |
|
|
hash
string,
required
|
edit
Argon2 hash to check against |
|
|
throwOnError
boolean,
optional
|
edit
If true, throws an exception on invalid hash format instead of returning false |
false |
Usage Notes
editThis is an alias for Argon2CheckHash() provided by the crypto extension. For new code, prefer Argon2Verify() for consistent naming with BCryptVerify() and SCryptVerify().
Examples
There are currently no examples for this function 35,796ms WARN No examples for function VerifyArgon2HashSee also
- Cryptography
- Argon2CheckHash()
- Argon2Hash()
- Argon2Verify()
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)