VerifySCryptHash()

edit

Verifies a password against an SCrypt hash. ACF-compatible name. Also available as SCryptVerify() for consistent naming.

Status:

deprecated

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

edit

ACF-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 VerifySCryptHash

See also