core-cryption
v1.0.2
Published
A lightweight and easy-to-use password hashing utility for Node.js.
Maintainers
Readme
Core-Cryption
A lightweight, zero-dependency password hashing and verification utility for Node.js.
Installation
Install the package via npm:
npm install core-cryptionUsage
const coreCryption = require('core-cryption');
// 1. Password ko hash karo
const hash = coreCryption.hash("mypassword");
console.log("Hashed Password:", hash);
// 2. Password ko verify karo (Returns true or false)
const isMatch = coreCryption.compare("mypassword", hash);
console.log("Password Match:", isMatch); Features
- 🚀 Lightweight: No heavy external dependencies.
- 🔒 Secure: Designed for safe password verification.
- 🛠️ Simple API: Just two functions (
hashandcompare) to get the job done.
License
ISC
