import * as bcrypt from "https://deno.land/x/[email protected]/mod.ts";
export async function main(password: string, salt_num: number) {
const salt = await bcrypt.genSalt(salt_num);
const hash_pass = await bcrypt.hash(password, salt);
return hash_pass;
}
Submitted by hugo697 220 days ago
import * as bcrypt from "https://deno.land/x/[email protected]/mod.ts";
export async function main(password: string, salt_num: number) {
const salt = await bcrypt.genSalt(salt_num);
const hash_pass = await bcrypt.hash(password, salt);
return hash_pass;
}
Submitted by admin 853 days ago
import * as bcrypt from "https://deno.land/x/[email protected]/mod.ts";
export async function main(password: string, salt_num: number) {
const salt = await bcrypt.genSalt(salt_num);
const hash_pass = await bcrypt.hash(password, salt);
return hash_pass;
} Submitted by admin 856 days ago
import * as wmill from "https://deno.land/x/[email protected]/mod.ts";
import * as bcrypt from "https://deno.land/x/[email protected]/mod.ts";
export async function main(password: string, salt_num: number) {
const salt = await bcrypt.genSalt(salt_num);
const hash_pass = await bcrypt.hash(password, salt);
return hash_pass;
} Submitted by adam186 984 days ago
import * as wmill from "https://deno.land/x/[email protected]/mod.ts";
import * as bcrypt from "https://deno.land/x/[email protected]/mod.ts";
export async function main(password: string, salt_num: number) {
const salt = await bcrypt.genSalt(salt_num);
const hash_pass = await bcrypt.hash(password, salt);
return hash_pass;
} Submitted by adam186 1019 days ago
import * as wmill from "https://deno.land/x/[email protected]/mod.ts";
import * as bcrypt from "https://deno.land/x/[email protected]/mod.ts";
export async function main(password: string, salt_num: number) {
const salt = await bcrypt.genSalt(salt_num);
const hash_pass = await bcrypt.hash(password, salt);
return hash_pass;
} Submitted by rossmccrann 1227 days ago