@devtools-at/hash-generator
v1.0.2
Published
Generate MD5, SHA-1, SHA-256, SHA-512 hashes
Maintainers
Readme
Hash Generator
Online Tool
Try Hash Generator online at DevTools.at →
Use this tool directly in your browser - no installation required:
- No registration needed
- Works instantly in your browser
- Your data never leaves your device (100% client-side)
- Available in 20+ languages
- Free forever
What is Hash Generator?
Generate MD5, SHA-1, SHA-256, SHA-512 hashes. This is a standalone TypeScript/JavaScript implementation that you can use in your own projects.
Features
- Zero Dependencies - Lightweight with no external dependencies
- TypeScript Support - Full type definitions included
- Browser & Node.js - Works in both environments
- UTF-8 Support - Handles international characters correctly
Usage
import { md5, sha1, sha256, sha512 } from '@devtools-at/hash-generator';
const text = 'Hello, World!';
// Generate different hash types
console.log(md5(text)); // "65a8e27d8879283831b664bd8b7f0ad4"
console.log(sha1(text)); // "0a0a9f2a6772942557ab5355d76af442f8f65e01"
console.log(sha256(text)); // "dffd6021bb2bd5b0af676290809ec3a53191dd81c7f70a4b28688a362182986f"
console.log(sha512(text)); // Full 128-character hashAPI Reference
Core Functions
The source code in src/index.ts contains the core implementation. You can copy and use these functions directly in your project.
Related Tools
Check out our other free developer tools at DevTools.at:
| Tool | Description | |------|-------------| | JSON Formatter | Format and beautify JSON | | Base64 Encoder | Encode/decode Base64 | | Hash Generator | Generate MD5, SHA hashes | | UUID Generator | Generate random UUIDs | | Password Generator | Create secure passwords | | JWT Decoder | Decode JSON Web Tokens | | URL Encoder | Encode URL parameters | | Regex Tester | Test regular expressions |
Browse all 100+ free developer tools →
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT License - see the LICENSE file for details.
