GenerateSCryptHash()
Generates an SCrypt password hash. ACF-compatible name. Also available as SCryptHash() for consistent naming.
Status:
Requires Extension: Crypto Extension
GenerateSCryptHash( input=string, costParameter=numeric, blockSize=numeric, parallelization=numeric );
Returns: String
| Argument | Description | Default |
|---|---|---|
|
input
string,
required
|
edit
Password to hash |
|
|
costParameter
numeric,
optional
|
edit
CPU/memory cost (N) - must be power of 2 |
16384 |
|
blockSize
numeric,
optional
|
edit
Block size (r) |
8 |
|
parallelization
numeric,
optional
|
edit
Parallelization factor (p) |
1 |
Usage Notes
editACF-compatible function name.
Also available as SCryptHash() for consistent naming with the {Algorithm}Hash/{Algorithm}Verify pattern. Both functions are identical.
Examples
There are currently no examples for this function 31,889ms WARN No examples for function GenerateSCryptHashSee also
- Cryptography
- SCryptHash()
- SCryptVerify()
- VerifySCryptHash()
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)