# VerifyBCryptHash()

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

**Status:** deprecated

**Requires Extension:** [Crypto Extension](https://download.lucee.org/#17AB52DE-B300-A94B-E058FC978BE4542D)

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

**Returns:** boolean

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| input | string | Yes | Password to verify |  |
| hash | string | Yes | BCrypt hash to check against |  |
| throwOnError | boolean | No | If true, throws an exception on invalid hash format instead of returning false | false |

# Usage Notes

ACF-compatible function name.

Also available as [BCryptVerify()](bcryptverify.md) for consistent naming with the {Algorithm}Hash/{Algorithm}Verify pattern. Both functions are identical.

# Examples

*There are currently no examples for this function*







# Categories

[Cryptography](../../categories/crypto.md)

# See Also

[BCryptHash()](bcrypthash.md), [BCryptVerify()](bcryptverify.md), [GenerateBCryptHash()](generatebcrypthash.md)