Skip to main content

BcryptPasswordHashingStrategy

A hashing strategy which uses bcrypt (https://en.wikipedia.org/wiki/Bcrypt) to hash plaintext password strings.

Signature

hash

method(plaintext: string) => Promise<string>

check

method(plaintext: string, hash: string) => Promise<boolean>
Was this chapter helpful?
Report Issue
Edited Feb 10, 2026ยทEdit this page