Skip to main content
Module

x/bcrypt/mod.ts>genSalt

A port of jBCrypt to TypeScript for use as a Deno module
Latest
function genSalt
import { genSalt } from "https://deno.land/x/bcrypt@v0.4.1/mod.ts";

Generates a salt using a number of log rounds Requires the --allow-net flag

Parameters

optional
log_rounds: number | undefined = [UNSUPPORTED]

Returns

Promise<string>

The generated salt