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 497 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 500 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 628 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 663 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 871 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 871 days ago