GenerateSCryptHash()

edit

Generates an SCrypt password hash. ACF-compatible name. Also available as SCryptHash() for consistent naming.

Status:

deprecated

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

edit

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

See also