Methods
hash
- hash(id: string, params: {}, salt: string, password: string): string
- hash(id: string, salt: string, password: string): string
-
Parameters
-
id: string
-
params: {}
-
salt: string
-
password: string
Returns string
-
Parameters
-
id: string
-
salt: string
-
password: string
Returns string
Static create
-
Parameters
-
Parameters
Hashes a password to be stored.
See: {@link HashingStrategy#hash}