ps-password-hasher
v1.0.1
Published
An npm package to hash your password
Maintainers
Readme
Password Hasher
A simple password hashing library using SHA-256.
Installation
npm install password-hasherExample Ussage
const { hashPassword, verifyPassword } = require("./index");
const password = "mySecurePassword123";
const hashedPassword = hashPassword(password);
console.log("Hashed Password:", hashedPassword);
if (verifyPassword(password, hashedPassword)) {
console.log(" Password Matched!");
} else {
console.log(" Password Incorrect!");
}