Skip to content

hashPassword

function hashPassword(password, iterations?): Promise<PasswordHash>;

Defined in: src/password.ts:46

Hash a password for storage on a link.

Parameter Type Default value
password string undefined
iterations? number DEFAULT_PASSWORD_ITERATIONS

Promise<PasswordHash>