1.0.12 • Published 6 months ago
hashless v1.0.12
🔐 Hashless
Hashless is a lightweight and efficient hashing & verification library optimized for serverless environments like AWS Lambda and Cloudflare Workers.
📑 Table of Contents
- Overview
- Technologies
- Packages & Libraries Used
- Getting Started
- Setup
- Features
- Demo & Screenshots
- Acknowledgments
- License
🌟 Overview
Hashless provides a simple and fast hashing and verification solution, making it ideal for serverless applications where performance and efficiency are crucial.
💻 Technologies
This project is built with:
Technology | Description |
---|---|
TypeScript | Ensures type safety and performance optimization |
📦 Packages / Libraries Used
Package / Library | Purpose |
---|---|
Crypto | Provides hashing utilities |
🚀 Getting Started
- Install any IDEs (For eg. Visual Studio Code)
- Install Node.js or Bun.js
⚙️ Setup
- Clone the repositry
git clone https://GitHub.com/Jenil-Desai/Hashless.git
- Go to project directory
cd Hashless
- Install Dependencies
bun install
- Build the package
bun run build
🎯 Features
Hash String - Securely hash any string input.
Verify String - Validate hashed values against their original input.
🔗 Demo & Screenshots
Example -
import { hashString, verifyString } from "hashless"; async function main() { // Original string let originalString: string = "some important texts"; console.log(`Original String: ${originalString}`); // Hash the original string let hashedString: string = await hashString(originalString); console.log(`Hashed String: ${hashedString}`); // Verify the hashed string against the original string let isVerified: boolean = await verifyString(originalString, hashedString); console.log(`Verification Result: ${isVerified}`); } main().catch(console.error);
🙏 Acknowledgments
Special thanks to the following resource:
📜 License
This project is licensed under the MIT License. See the LICENSE file for details.