Skip to main content
Module

x/scrypt/mod.ts

🔑 Deno library for hashing passwords using scrypt
Latest
import * as scrypt from "https://deno.land/x/scrypt@v4.4.4/mod.ts";

Functions

generate random salt using Deno csprng (crypto.getRandomValues)

Hash a password with scrypt. Outputs a string in scrypt format by default.

Checks provided string against provided hash