import { hash } from "bcryptjs"; export async function hashPassword(password: string) { const hashedPassword = await hash(password, 12); return hashedPassword; }