import * as bcrypt from "https://deno.land/x/bcrypt@v0.2.4/mod.ts";
export async function main(password: string) {
const salt = await bcrypt.genSalt();
const hash_pass = await bcrypt.hash(password, salt);
return hash_pass;
}
Submitted by admin 480 days ago
import * as bcrypt from "https://deno.land/x/bcrypt@v0.2.4/mod.ts";
export async function main(password: string) {
const salt = await bcrypt.genSalt();
const hash_pass = await bcrypt.hash(password, salt);
return hash_pass;
}
Submitted by admin 483 days ago
import * as wmill from "https://deno.land/x/windmill@v1.85.0/mod.ts";
import * as bcrypt from "https://deno.land/x/bcrypt@v0.2.4/mod.ts";
export async function main(password: string) {
const salt = await bcrypt.genSalt();
const hash_pass = await bcrypt.hash(password, salt);
return hash_pass;
}
Submitted by adam186 612 days ago
import * as wmill from "https://deno.land/x/windmill@v1.70.1/mod.ts";
import * as bcrypt from "https://deno.land/x/bcrypt@v0.2.4/mod.ts";
export async function main(password: string) {
const salt = await bcrypt.genSalt();
const hash_pass = await bcrypt.hash(password, salt);
return hash_pass;
}
Submitted by adam186 646 days ago
import * as wmill from "https://deno.land/x/windmill@v1.27.2/mod.ts";
import * as bcrypt from "https://deno.land/x/bcrypt@v0.2.4/mod.ts";
export async function main(password: string) {
const salt = await bcrypt.genSalt();
const hash_pass = await bcrypt.hash(password, salt);
return hash_pass;
}
Submitted by rossmccrann 854 days ago
import * as wmill from "https://deno.land/x/windmill@v1.27.2/mod.ts";
import * as bcrypt from "https://deno.land/x/bcrypt@v0.2.4/mod.ts";
export async function main(password: string) {
const salt = await bcrypt.genSalt(salt_num);
const hash_pass = await bcrypt.hash(password, salt);
return hash_pass;
}
Submitted by rossmccrann 854 days ago