Skip to main content
Module

x/scrypt/mod.ts>hash

🔑 Deno library for hashing passwords using scrypt
Go to Latest
function hash
import { hash } from "https://deno.land/x/scrypt@v4.0.0/mod.ts";

Hash a password with scrypt. Outputs a string in rscrypt format.

Parameters

password: string
  • Password that will be hashed
optional
parameters: ScryptParameters
optional
format: scryptFormat

Returns

string
  • Hash in scrypt format