VerifyBCryptHash()

edit

Verifies a password against a BCrypt hash. ACF-compatible name. Also available as BCryptVerify() for consistent naming.

Status:

deprecated

Requires Extension: Crypto Extension

VerifyBCryptHash( input=string, hash=string, throwOnError=boolean );

Returns: Boolean

Argument Description Default
input
string, required
edit

Password to verify

hash
string, required
edit

BCrypt 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 BCryptVerify() for consistent naming with the {Algorithm}Hash/{Algorithm}Verify pattern. Both functions are identical.

Examples

There are currently no examples for this function 35,850ms WARN No examples for function VerifyBCryptHash

See also