Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-512 (in-browser).
Henüz özet yok
Yukarıdaki alana metin girin — MD5, SHA-1, SHA-256, SHA-384 ve SHA-512 anında hesaplanır.
What is Hash Generator?
The Hash Generator computes MD5, SHA-1, SHA-256 and SHA-512 digests of your input in the browser via the Web Crypto API; the text never reaches a server.
Hash functions are one-way and deterministic: the same input always gives the same output, and a one-character change gives a completely different one. File integrity verification relies on exactly that.
MD5 and SHA-1 are cryptographically broken — collision attacks are practical. Never use them for passwords or signatures; they're for legacy compatibility or simple integrity checks only.
Frequently Asked Questions
8 questionsIs my text sent to the server?
No. All hashing runs in your browser via the Web Crypto API; your input never leaves your device.
Is MD5 still secure?
Cryptographically, no — collision attacks are practical. Never use it for passwords or signatures; it's acceptable only for legacy compatibility or simple integrity checks. Prefer SHA-256 or better.
Can a hash be reversed to the original text?
Hash functions are one-way and mathematically irreversible. However, short predictable inputs (common passwords) can be found via precomputed tables — which is why passwords are stored salted.
Does the same text always produce the same hash?
Yes — hashes are deterministic. Even a one-character change produces a completely different output; file integrity verification relies on this property.
Can I hash a file?
This tool takes text input. For file integrity use your OS command: shasum -a 256 file on macOS/Linux, Get-FileHash file on Windows.
Which hash should I pick?
SHA-256 for anything new. SHA-512 produces a longer digest and is marginally faster on 64-bit systems, but the security difference is immaterial in practice. Use MD5 and SHA-1 only for legacy compatibility.
Which one should I use to store passwords?
None of them. The SHA family is designed to be fast, which helps attackers. Use algorithms designed to be slow: Argon2id, scrypt or bcrypt.
Can two different inputs produce the same hash?
Mathematically yes — the output is fixed-length and the input isn't, so collisions are inevitable. What matters is that finding one is infeasible; MD5 and SHA-1 are considered broken because it no longer is.