VerifySCryptHash()
Verifies a password against an SCrypt hash. ACF-compatible name. Also available as SCryptVerify() for consistent naming.
Status:
Requires Extension: Crypto Extension
VerifySCryptHash( input=string, hash=string, throwOnError=boolean );
Returns: Boolean
| Argument | Description | Default |
|---|---|---|
|
input
string,
required
|
edit
Password to verify |
|
|
hash
string,
required
|
edit
SCrypt hash to check against |
|
|
throwOnError
boolean,
optional
|
edit
If true, throws an exception on invalid hash format instead of returning false |
false |
Usage Notes
editACF-compatible function name.
Also available as SCryptVerify() for consistent naming with the {Algorithm}Hash/{Algorithm}Verify pattern. Both functions are identical.
Examples
There are currently no examples for this function 35,805ms WARN No examples for function VerifySCryptHashSee also
- Cryptography
- GenerateSCryptHash()
- SCryptHash()
- SCryptVerify()
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)