# VerifySCryptHash()

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

**Status:** deprecated

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

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

**Returns:** boolean

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| input | string | Yes | Password to verify |  |
| hash | string | Yes | SCrypt 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 [SCryptVerify()](scryptverify.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

[GenerateSCryptHash()](generatescrypthash.md), [SCryptHash()](scrypthash.md), [SCryptVerify()](scryptverify.md)