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 246 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 879 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 882 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 1011 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 1045 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 1253 days ago