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 227 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 860 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 863 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 991 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 1026 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 1234 days ago