TS Bcrypt

🔒 Secure Password Hashing in TypeScript

Optimized Zero-Dependency bcrypt implementation. Built with TypeScript and Node.js Crypto for maximum security and performance.

NPM VersionLicenseTypeScriptSecurity
🔒

Why ts-bcrypt?

Secure by design, lightweight by nature. Using industry-standard algorithms.

  • Uses PBKDF2 with SHA-256: Adaptive hashing
  • Zero Dependencies: 100% self-contained
  • Strength validation: Proactive security
  • Password generator: Secure defaults

Support Development

Secure Hashing

Adaptive implementation protects against rainbow tables and brute-force.

Fully Typed

Written in TypeScript with complete and strict type definitions.

Sync & Async

Flexible APIs for both synchronous and asynchronous operations.

Password Gen

Secure random password generator with customizable complexity rules.

Validation

Check password strength with detailed feedback and scoring (0-100).

Contribution

We welcome contributions to ts-bcrypt!

  1. 1Fork the repository on GitHub
  2. 2Clone your fork locally
  3. 3Create a new branch & Commit your changes
  4. 4Open a Pull Request

License

MIT License

This project is free and open-source software licensed under the MIT License.

Copyright © 2025 Noor Mohammad

Support the Project

If this package saves you time, consider buying me a coffee.

Your support helps keep a secure web for everyone. 🙏

Zero dependenciesSecurity first
Buy me a coffeeBuy me a coffee

💝 Thank you for your support!