master
import bcrypt from "bcrypt"; export async function hashPassword(plainTextPassword: string): Promise<string> { const salt = await bcrypt.genSalt(10); return bcrypt.hash(plainTextPassword, salt); }