What is a hash?
A hash is a fixed-length fingerprint of a piece of data. The same input always produces the same digest, and even a one-character change typically produces a very different one. Because outputs are finite, collisions are possible: different inputs can produce the same digest. SHA-1 produces 40 hexadecimal characters, SHA-256 produces 64, SHA-384 produces 96, and SHA-512 produces 128.
Is hashing the same as encryption?
No. Encryption is two-way — an encrypted value can be decrypted back to the original. Hashing is one-way: a digest cannot be reversed into its input, and one-way only. This tool computes hashes, so nothing it produces can ever be decrypted back to the text or file you started with.
Which hash algorithm should I use?
SHA-256 is the ready default: widely supported, fast, and the format most download pages and developer tools publish. SHA-384 and SHA-512 exist for standards that explicitly require them, and SHA-1 is kept only for compatibility — it is no longer considered collision-resistant and should not be used for new work.
Why does TechFixGen still offer SHA-1?
SHA-1 is retained for compatibility, such as verifying a checksum that a legacy system or historical dataset published with SHA-1. It is labelled as legacy because SHA-1 is no longer considered collision-resistant, and the tool shows that warning whenever SHA-1 is selected.
Are my text and files uploaded to TechFixGen?
No. Text and files are hashed locally in your browser and are not uploaded to TechFixGen. Hashing uses your browser's native Web Crypto and can work without any network connection; the digest you see is computed entirely on your device.
Can a hash be reversed?
No, not by design. A digest is a one-way fingerprint with no way back to its input. Guessing candidates and hashing them to compare is the only strategy, which is why fast hashes like SHA-256 are never appropriate for storing passwords and why common inputs should never be treated as secret just because they were hashed.
What is the difference between a hash and a checksum?
A checksum is simply a hash used as a consistency check. Comparing a downloaded file with a trusted SHA-256 checksum provides strong practical evidence that its bytes match, helping detect corruption. Collisions are theoretically possible, so a match is not mathematical proof. The underlying digest is the same thing either way.
Does a matching checksum prove the file is authentic?
No. A match provides strong practical evidence that the bytes are the same if the expected digest is trusted and the algorithm remains appropriate, but it does not verify a file's authenticity. Hash collisions are possible. If the checksum itself came from an untrusted source or traveled over an insecure channel, the match says nothing about who really produced the file. Treat checksums as integrity checks and verify provenance through a trusted channel.
Can I use this tool to store passwords securely?
No. Fast hashes like the SHA family can be guessed at enormous speed, so they are unsuited to password storage. Use a dedicated password-hashing or key-stretching function with a random per-password salt. Argon2 and scrypt are designed to be memory-hard. PBKDF2 is deliberately computationally expensive key stretching, not memory-hard; bcrypt also uses a configurable computational cost. Use a dedicated password-hash library for that.
Why isn't the hash of an empty input empty?
A hash always produces its fixed-length output, no matter how short (or empty) the input is. SHA-256 of the empty string is e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855; SHA-1, SHA-384 and SHA-512 produce their own 40-, 96- and 128-character digests for it.
Does uppercase or lowercase matter for the digest?
No. Uppercase and lowercase hex represent the same digest, and the Compare checksum box ignores case as well as surrounding spaces. This tool shows lowercase by default. Uppercase changes only the display; Copy always copies the lowercase digest.
Can the tool hash very large files?
Yes, but the file is loaded fully into browser memory before hashing, so extremely large files may be slow or exceed the browser's memory limits. For ordinary files — code, documents, archives, firmware images — it works instantly.
What does the 256 in SHA-256 mean?
It is the digest size in bits: SHA-256 reads any input and outputs 256 bits of digest, which is 32 bytes — 64 hexadecimal characters. SHA-1 outputs 160 bits (40 hex chars), SHA-384 outputs 384 bits (96 hex chars), and SHA-512 outputs 512 bits (128 hex chars).