Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/scrypt/lib/format.ts>scryptFormat

๐Ÿ”‘ Deno library for hashing passwords using scrypt
Go to Latest
type alias scryptFormat
import { type scryptFormat } from "https://deno.land/x/scrypt@v4.4.1/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"