Hash Generator

    Hash Generator

    Generate MD5, SHA1, SHA256 hashes

    About the Hash Generator

    A cryptographic hash function maps arbitrary input to a fixed-length fingerprint. Hashes are deterministic (same input → same hash) and one-way (you can't invert them). They're the foundation of digital signatures, file integrity verification, password storage, and content-addressable systems like Git. This tool exposes the four most common hashes — MD5, SHA-1, SHA-256, SHA-512 — with a real, RFC-compliant MD5 implementation (not the fake hash some online tools ship).

    Features

    How it works

    1. Paste the text you want to hash.
    2. Pick an algorithm from MD5, SHA-1, SHA-256, or SHA-512.
    3. The hex digest appears instantly.
    4. Copy it or switch algorithms to compare.

    Use cases

    Frequently asked questions

    Is MD5 safe for passwords?

    +

    No. MD5 has been cryptographically broken since 2004 — use bcrypt, scrypt, or Argon2 for passwords. MD5 is fine for non-security checksums (file integrity, caching keys).

    What's the difference between SHA-1 and SHA-256?

    +

    SHA-1 produces a 160-bit digest and is also considered broken for collision resistance. SHA-256 produces 256 bits and is the current safe default for general hashing.

    Is my text sent to a server?

    +

    No. Hashing runs in your browser using the Web Crypto API for SHA variants and a local RFC 1321 implementation for MD5.

    Why does my hash differ from a CLI tool's output?

    +

    Usually a newline difference — some CLIs add a trailing newline. Also check character encoding; this tool hashes UTF-8 bytes.

    Can I hash files?

    +

    This version supports text input. File hashing is on the roadmap and will arrive in a later update.