DEV
🎨 Format
Hash Generator (SHA-256, SHA-512, SHA-1, MD5)
Generate cryptographic hash values for your text input. Supports SHA-256, SHA-512, SHA-1, and MD5 algorithms. Runs entirely in your browser using the Web Crypto API (SHA-2/SHA-1) and a built-in MD5 implementation.
How to Use
- Enter the text you want to hash.
- Select the hash algorithm (SHA-256, SHA-512, SHA-1, or MD5).
- Click Transform to generate the hash.
- Click Copy to copy the hash value.
How It Works
SHA-256 produces a 256-bit (64 hex char) digest. SHA-512 produces a 512-bit (128 hex char) digest. SHA-1 produces a 160-bit (40 hex char) digest. MD5 produces a 128-bit (32 hex char) digest. SHA-256 and SHA-512 use the browser's Web Crypto API; MD5 uses a built-in pure-JS implementation.