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

x/scrypt/lib/format.ts>decomposeFormat

๐Ÿ”‘ Deno library for hashing passwords using scrypt
Go to Latest
function decomposeFormat
import { decomposeFormat } from "https://deno.land/x/scrypt@v4.4.1/lib/format.ts";

Retrieve scrypt parameters from a supported formatted hash

Parameters

formattedHash: string
  • formatted hash
optional
format: scryptFormat
  • format of the hash. Will be detected automatically if not provided