Skip to main content
Module

x/scrypt/lib/format.ts>scryptFormat

🔑 Deno library for hashing passwords using scrypt
Latest
type alias scryptFormat
import { type scryptFormat } from "https://deno.land/x/scrypt@v4.4.4/lib/format.ts";

Available formats for scrypt hashes scrypt - original scrypt format, see (https://github.com/Tarsnap/scrypt/blob/master/FORMAT). This is the default format. phc - PHC format, a stricter subset of Modular Crypt Format created for argon2. raw - raw hash, without any additional data. Can't be used to verify the hash without also passing the parameters used to generate it.

definition: "scrypt" | "phc" | "raw"