Skip to main content

util.compareHash()

Compares a value against a password hash. Password: at most 4096 UTF-16 code units; unsupported scrypt work factors return false.

Signature

Example

See all util methods or runtime basics.
Last modified on November 8, 2026