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 318 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 950 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 954 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 1082 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 1117 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 1325 days ago