LegacyScrypt.hash()
Method of LegacyScrypt. Hashes the provided password with scrypt.
Definition
function hash(password: string): Promise<string>;
Parameters
password
Example
const hash = await scrypt.hash(password);
LegacyScrypt.hash()Method of LegacyScrypt. Hashes the provided password with scrypt.
function hash(password: string): Promise<string>;
passwordconst hash = await scrypt.hash(password);