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 396 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 1028 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 1031 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 1160 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 1194 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 1402 days ago