Cryptography
Generate MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, SHA3, CRC32, NTLM, LM, BCrypt, RIPEMD-160, Blake2, Whirlpool, and HMAC hashes, SRI tags, and WordPress/Laravel password hashes — 20+ algorithms computed privately in your browser, with plain-English guides to what each hash means, when it is safe to use, how to verify a downloaded file, and how to recognize weak password storage when you meet it in a security assessment.
A hash generator is a tool that takes input data — text, files, or binary — and produces a fixed-length fingerprint called a hash using a cryptographic hash function. This online hash generator supports over 20 algorithms including MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, SHA3-224/256/384/512, CRC32, NTLM, LM Hash, BCrypt, RIPEMD-160, Blake2b, Blake2s, and Whirlpool. All hashing runs locally in your browser, so your data never leaves your device.
Hashing is a one-way function: you can compute a hash from input, but you cannot reverse a hash back to its input. This makes hashing fundamental to password storage, file integrity verification, digital signatures, and malware identification. Whether you need an MD5 hash generator for legacy checksums, a SHA-256 hash generator for file verification, or a BCrypt hash generator for password security, this tool covers every use case.
Unlike encryption, which is reversible with a key, hashing is intentionally irreversible. Two different inputs should produce completely different hashes (the avalanche effect), and the same input should always produce the same hash. This determinism is what makes hashes useful for verification: if the hash matches, the data is intact.
Two properties make the output of this generator useful everywhere in security work. First, hashing is deterministic: the same input always produces the same output, on any machine, forever — which is why a checksum published in Tokyo can verify a file downloaded in Berlin. Second, a good hash function has the avalanche effect: change one letter of the input and roughly half the output bits flip, so two similar passwords or two nearly identical files have completely unrelated hashes. If either property fails for an algorithm, as collision resistance failed for MD5 and SHA-1, the security uses of that algorithm fail with it.
A hash function processes input data in fixed-size blocks, applying mathematical operations that mix and scramble the bits to produce a fixed-length output. The SHA-256 algorithm, for example, processes data in 512-bit blocks and produces a 256-bit (32-byte, 64-hex-character) output. MD5 produces 128 bits, SHA-512 produces 512 bits, and SHA3-256 produces 256 bits.
The key properties of a cryptographic hash function are: determinism (same input always produces same output), quick computation (fast to hash but slow to reverse), avalanche effect (small input change causes large output change), collision resistance (hard to find two inputs with the same hash), and preimage resistance (hard to find an input that produces a given hash).
This hash generator uses the browser's native Web Crypto API for SHA-1, SHA-256, SHA-384, and SHA-512, which provides hardware-accelerated performance. MD5 and SHA3 are implemented in pure JavaScript. BCrypt uses bcryptjs, and advanced algorithms like Blake2, RIPEMD-160, and Whirlpool use hash-wasm for WebAssembly-accelerated performance.
Under the hood, most classic hash functions process the input in fixed-size blocks, feeding each block through a compression function that mixes it into an internal state using bitwise rotations, modular addition, and carefully chosen constants. Padding is added so the final block is complete, and the internal state at the end becomes the digest. This is why the output length never depends on the input length: a one-word password and a 4 GB disk image both end as the same 64 hexadecimal characters with SHA-256 — the state is the product, not a summary that grows with the data.
Hashing, encryption, and encoding are often confused but serve fundamentally different purposes. Hashing is one-way and irreversible — you cannot recover the original data from a hash. Encryption is two-way and reversible with a decryption key — you can recover the original data. Encoding is also reversible but provides no security — it simply changes data representation (like Base64 or URL encoding).
Use hashing when you need to verify integrity or store passwords without revealing them. Use encryption when you need to protect data but recover it later. Use encoding when you need to transport data in a different format but security is not a concern. This tool includes a Base64 encoder/decoder tab to help you see the difference: Base64 is encoding (reversible), while SHA-256 is hashing (irreversible).
A common mistake is using encoding (like Base64) as if it were encryption. Base64-encoded data can be instantly decoded by anyone — it provides zero security. Similarly, MD5 should not be confused with a secure hash: while it produces a hash, it is cryptographically broken and should only be used for non-security checksums.
A quick decision rule prevents most beginner confusion. Ask: do I need the original data back? If yes, hashing is the wrong tool — use encryption, which is reversible with a key, or encoding, which is reversible by anyone. Hashing is for the opposite job: proving that data has not changed, or storing a password in a form you can verify later without being able to read. Login systems never decrypt your password to check it; they hash what you typed and compare digests. Any service that can email you your original password is storing it wrong.
The SHA (Secure Hash Algorithm) family includes three generations: SHA-1, SHA-2, and SHA-3. SHA-1 produces a 160-bit hash but is deprecated due to known collision attacks. SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512) is the current standard, widely used in TLS, SSL certificates, and blockchain. SHA-3 (SHA3-224, SHA3-256, SHA3-384, SHA3-512) uses the Keccak sponge construction and is the newest standard, designed as a future-proof alternative to SHA-2.
SHA-256 is the most commonly used hash algorithm today. It powers Bitcoin's proof-of-work, TLS certificate signatures, and software package verification. SHA-512 offers higher security margin with a 512-bit output. SHA3-256 and SHA3-512 use a completely different internal structure (sponge construction) than SHA-2, providing defense-in-depth: even if SHA-2 is broken in the future, SHA-3 would remain secure.
This hash generator supports the entire SHA family: SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, SHA3-224, SHA3-256, SHA3-384, and SHA3-512. Each is computed in real-time as you type, and you can toggle between uppercase and lowercase hex output.
SHA-2 and SHA-3 are both current standards, but they are built differently. SHA-2 (SHA-256, SHA-512) extends the Merkle–Damgård block design of the MD/SHA lineage, while SHA-3 uses a sponge construction based on the Keccak permutation, absorbing input into a large internal state and squeezing the digest out. The different construction is deliberate insurance: a mathematical break of one family would not automatically break the other. In practice, SHA-256 is the safe default for integrity today, SHA-512 is faster on 64-bit systems for large data, and SHA-3 or BLAKE2 are sound modern alternatives where a standard requires or permits them.
BCrypt is a password hashing function specifically designed to be slow, making brute-force attacks expensive. Unlike fast hash functions (MD5, SHA-256), BCrypt uses a configurable cost factor that determines how many iterations are performed. A cost of 10 means 2^10 = 1,024 iterations; a cost of 12 means 4,096 iterations. This hash generator includes a BCrypt tab with an adjustable cost factor slider.
BCrypt also includes a built-in salt, which is embedded in the output hash string. The salt prevents rainbow table attacks and ensures that hashing the same password twice produces different hashes. The output format is $2a$cost$salt+hash, which can be verified later using bcrypt's compare function.
For production password storage, BCrypt is a solid choice. Other options include scrypt (memory-hard) and Argon2 (winner of the Password Hashing Competition, 2015). Never store passwords with raw SHA-256 or MD5 — these are too fast and can be brute-forced with modern GPUs at billions of hashes per second.
Two bcrypt details matter in real audits. First, the cost factor is logarithmic: raising the cost by one doubles the work, so a hash tuned to take ~250 ms today can be re-tuned as hardware improves — when you see a cost of 04 in a captured hash, that password falls to cracking rigs orders of magnitude faster than one at cost 12. Second, bcrypt only uses the first 72 bytes of a password; anything longer is silently ignored, which is why some systems pre-hash — and why passphrases longer than 72 characters gain nothing extra from bcrypt itself. Both facts appear constantly in penetration-test reports.
NTLM (NT LAN Manager) and LM (LAN Manager) hashes are used in Windows authentication, particularly in Active Directory environments. The LM hash is the older format, based on DES encryption of the uppercase password, and is completely broken — it splits passwords into two 7-character halves and can be cracked almost instantly. NTLM hash is the newer format, computed as MD4 of the UTF-16LE encoded password.
This hash generator includes an NTLM/LM tab for educational purposes. Understanding how these hashes work is important for security professionals who audit Windows environments. Tools like Hashcat and John the Ripper can crack NTLM hashes, so understanding the hash format helps you assess password policy strength.
Modern Windows environments should use Kerberos authentication instead of NTLM. However, NTLM is still present for backward compatibility and is a common target in penetration testing engagements. These hashes are for educational use only — never use them to attack systems you do not own or have authorization to test.
In engagements you will meet these hashes in specific places: the local SAM database on a Windows machine, the NTDS.dit database on a domain controller, memory on logged-in systems, and network captures of NetNTLM challenge-response exchanges. LM is the older, far weaker scheme — it uppercases the password, truncates it to 14 characters, and splits it into two independently crackable 7-character halves, which is why it has been disabled by default for years and why finding it enabled is a reportable weakness. NTLM (MD4 of the UTF-16LE password) is unsalted and extremely fast to compute, so a single modern GPU tests billions of candidates per second; the defense is long unique passwords, Credential Guard, and disabling NTLM where Kerberos can take over.
Hashes are the standard way to verify file integrity. When you download software, the publisher often provides a SHA-256 checksum. By computing the hash of your downloaded file and comparing it to the published checksum, you confirm the file was not corrupted or tampered with during download. This hash generator includes a file hashing tab that computes SHA-256 for any local file.
In malware analysis, file hashes (MD5, SHA-256) are used to identify samples. Threat intelligence platforms like VirusTotal use hashes as unique identifiers, and incident response teams share indicators of compromise (IOCs) as file hashes. The compare tab lets you verify whether two hashes match, which is essential for integrity checking.
Subresource Integrity (SRI) is a browser security feature that uses hashes to verify that third-party resources (scripts, stylesheets) loaded from CDNs have not been tampered with. This tool includes an SRI generator tab that creates properly formatted integrity attributes for use in HTML script and link tags.
Make verification a habit with a concrete routine: whenever you download a security tool, an ISO such as Kali Linux, or firmware, find the publisher's checksum page first, note the SHA-256 value, then hash your downloaded file and compare before you run or install anything. A match proves the file is bit-for-bit what the publisher released — it does not prove the publisher itself was not compromised, which is why major projects also sign their checksum files with GPG and why verifying the signature is the stronger check for operating-system images. A mismatch means stop: delete the file and download again from the official source.
HMAC (Hash-based Message Authentication Code) combines a hash function with a secret key to prove both integrity and authenticity. Unlike a plain hash, an HMAC cannot be recomputed without the key, which makes it the right tool for signing API requests, verifying webhooks, and securing tokens. This generator's HMAC tab computes HMAC-SHA-256 and HMAC-SHA-512.
Rainbow tables are precomputed lookup tables that reverse hashes back to plaintexts. They are devastating against unsalted hashes. The defense is a salt: a unique random value added to each password before hashing. BCrypt includes salts automatically, but if you use SHA-256 for password storage, you must add and store a salt manually.
When auditing a system, check whether passwords are salted and whether a slow algorithm is used. If you find MD5 or unsalted SHA-1 in a password database, that is a critical finding, because those hashes can be cracked in seconds using wordlists and tools like John the Ripper.
Salts only work when they are unique per password. If a database uses one global salt (sometimes called a pepper when it is kept secret separately), rainbow tables cannot be precomputed for it, but two users with the same password still produce the same hash, leaking that fact instantly. With a fresh random salt per record — as bcrypt and Argon2 generate automatically — identical passwords hide among different digests, and an attacker is forced back to attacking one account at a time. HMAC solves a different problem: it mixes a secret key into the hash so that only key holders can produce or verify the tag, turning a hash into a message authentication code for APIs, webhooks, and signed tokens.
WordPress uses the phpass portable hash format ($P$) for password storage. This format is based on MD5 with iterated stretching and a salt, providing moderate security for web applications. This generator's WordPress tab creates compatible hashes that can be stored in the wp_users.user_pass column and verified with wp_check_password().
Laravel uses BCrypt for password hashing by default, through PHP's password_hash() function. The Laravel tab in this generator produces hashes compatible with Laravel's Hash::make() and Hash::check() methods. You can adjust the BCrypt cost factor to match your application's security requirements.
Both WordPress and Laravel hashes include embedded salts, so the same password will produce different hashes each time. This is by design and is verified by extracting the salt from the stored hash during the check operation.
When you audit a WordPress database, expect hashes beginning with $P$ or $H$ (the phpass portable format) on older installs and bcrypt $2y$ hashes on current versions, where WordPress 6.8 moved the default to bcrypt. Verification works by re-hashing the candidate password with the salt and iteration count embedded in the stored string and comparing — the same check wp_check_password performs at login. Laravel's Hash facade does the equivalent with bcrypt by default or Argon2id when configured, and Hash::needsRehash lets the application transparently upgrade a user's stored hash the next time they sign in, which is the correct pattern for migrating a live user base to a stronger algorithm.
Best practice: Use SHA-256 or SHA-512 for file integrity and digital signatures. Use BCrypt (cost 12+), scrypt, or Argon2 for password storage. Use HMAC with SHA-256 for API authentication. Use SRI tags for CDN-hosted resources. Always use salts with password hashes.
Common mistakes: Using MD5 for any security purpose (it is broken). Storing passwords with raw SHA-256 (too fast, vulnerable to GPU brute-force). Forgetting to add a salt. Using the same salt for all users. Using a cost factor that is too low for BCrypt (below 10 is not recommended). Confusing encoding (Base64) with encryption or hashing.
This hash generator helps you avoid these mistakes by clearly labeling each algorithm's security level: Broken (MD5, LM), Weak (SHA-1, NTLM), or Strong (SHA-2, SHA-3, BCrypt, Blake2). Use the comparison tab to verify hashes match, and use the download button to export results for documentation.
Finally, the rule that prevents nearly every hashing disaster: never design your own scheme, and never assemble one from primitives in a novel way. Do not hash passwords with SHA-256 because it is 'fast and standard' — speed is the enemy here. Do not store MD5 checksums as an integrity control against attackers, only against accidents. Use the maintained library for your platform, the algorithm it recommends today (Argon2id or bcrypt for passwords, SHA-256 or better for integrity), and parameters from current guidance such as the OWASP cheat sheets. Hashing fails in production far more often through configuration than through mathematics.
Scenario: you have just downloaded a network scanner installer from a vendor's website, and before running it you want proof the file is genuine. Step one — find the expected value. Reputable vendors publish a checksums file or a SHA-256 line on the download page; copy that 64-character value exactly. Step two — hash your file. Either drop the file into this generator's file mode and read its SHA-256, or run sha256sum on Linux or Get-FileHash on Windows and copy the result.
Step three — compare properly. Do not eyeball two 64-character strings side by side; paste both into the comparison tab here, or use sha256sum -c with a checksums file, and let the machine confirm the match. If every character matches, the file is bit-for-bit identical to the one the vendor hashed — download corruption and in-transit tampering are ruled out. If it does not match, stop. Delete the file, re-download from the official site (not a mirror or a search ad), and verify again; a persistent mismatch is a security event, not an inconvenience.
Step four — know the limit of the check. A checksum proves integrity against the published value; if the vendor's website itself were compromised, the page and the checksum could be replaced together. For operating systems and high-value software, prefer publishers who also provide a GPG signature over the checksum file and verify that too. Building this four-step habit takes under a minute and is one of the highest-value routines a beginner can adopt.
Analysts constantly meet an unlabeled hash — in a database dump, a config file, or a log — and the first question is 'which algorithm made this?' Length gives the shortlist. Count the hexadecimal characters: 32 points to MD5, NTLM, or LM; 40 to SHA-1 or RIPEMD-160; 56 to SHA-224; 64 to SHA-256; 96 to SHA-384; 128 to SHA-512 or Whirlpool. A CRC32 is only 8 hex characters. Length narrows the field but rarely settles it, because several algorithms share an output size.
Format and prefixes settle it further. Password-storage strings announce themselves: bcrypt looks like $2y$10$ followed by 53 characters (60 in total), Argon2id appears as a labeled PHC string beginning $argon2id$v=19$m=..., Unix crypt formats start $1$ (MD5-crypt), $5$ (SHA-256-crypt), or $6$ (SHA-512-crypt), and WordPress phpass hashes start $P$ or $H$. A bare 32-hex value in a Windows context is probably NTLM; the same string next to a website's user table is probably MD5. Context — which system produced it — is the final and most reliable clue.
Why this matters: identification decides what you do next. An MD5 or NTLM password hash goes to a cracking rig with mode-specific settings in Hashcat or John; a SHA-256 next to a download link is a checksum to verify, not a password to crack; a bcrypt string tells you the target application used a proper password hash and expectations for recovery should drop sharply. Misidentifying the type wastes hours and produces nonsense results, so identify first, act second.
Everything this page does in the browser has a command-line equivalent worth learning, because audits and incident response happen in terminals. On Linux, md5sum file and sha256sum file print the digest and filename; sha256sum -c release.sha256 verifies every file listed in a checksum file and reports OK or FAILED per line. To hash text instead of a file, pipe it: printf 'hello' | sha256sum. OpenSSL covers the rest of the family with one syntax — openssl dgst -sha512 file, openssl dgst -sha3-256 file — and on Windows, PowerShell's Get-FileHash file defaults to SHA-256 and accepts -Algorithm MD5 or SHA512.
One trap catches every beginner once: the trailing newline. Typing text into a web form hashes exactly the characters you entered, but echo 'hello' in a terminal hashes hello plus a newline character, producing a completely different digest. Use printf or echo -n when hashing text on the command line, and when a checksum comparison fails by a 'close but not equal' margin, suspect an invisible newline or a stray space before suspecting the file.
Choose the tool to fit the moment. The command line wins for automation, scripting, and verifying many files at once; this browser generator wins when you need twenty algorithms side by side, bcrypt or NTLM output a stock system may not provide, or a private check on a machine where you cannot install anything — remember that everything here is computed locally in your browser, so the text and files you hash are never uploaded.
Free online Wordlist Generator with 20 generation modes — custom charsets, patterns, masks, leetspeak, CUPP-style personal info, dates, PINs, hex, alphanumeric, Crunch-style ranges, and more. Export TXT, CSV, or JSON. Runs 100% in your browser.
Development ToolsGenerate cryptographically random UUID v4 and time-based UUID v1 identifiers in bulk for session tokens, API keys, and secure identifier testing.
Encoding & DecodingEncode and decode Base64 in real-time. Learn why attackers use Base64 to obfuscate malware payloads, PowerShell commands, and phishing data, and how to decode them for analysis.
Threat IntelligencePaste any suspicious link and get one plain verdict — SAFE, SUSPICIOUS or DANGEROUS. LinkGuard follows short links to reveal the real destination, checks it against known malicious-URL data, and spots fake brand login pages.
Learn how password hashing works, the difference between hashing and encryption, common algorithms, and best practices for secure password storage.
Security · IntermediateLearn to use John the Ripper for CPU-based password cracking including wordlist attacks, incremental mode, rule-based cracking, and hash format handling.
Security · IntermediateComprehensive Hashcat tutorial for Kali Linux. Learn GPU-accelerated password recovery, attack modes (-a 0, -a 3 mask attacks), rules, and hash modes cheat sheet.
OSINT · IntermediateLearn Google dorking: advanced search operators, a worked OSINT example on a domain you own, GHDB dorks, a cheat sheet, and how to protect your site.
Written by GO KALI FREE Team