UNPKG

ragvault

Version:

Securely manage and query your private data using a local vector database. Your private RAG.

6 lines (5 loc) 163 B
import bcrypt from "bcryptjs"; export async function hashPassword(password) { const salt = await bcrypt.genSalt(10); return bcrypt.hash(password, salt); }