SHA-1 produces a deterministic 160-bit digest, normally written as 40 hexadecimal characters. It was widely used for file integrity, signatures and password storage, but practical collisions mean it should not be selected for new security applications.
The generator hashes the exact bytes of your input. The lookup then compares each digest with our multi-hash corpus. It may recover a previously indexed plaintext, including values from our own research, but it cannot reconstruct arbitrary text from the digest.
The SHA-1 digest of hello is aa f4 c6 1d dc c5 e8 a2 da be de 0f 3b 48 2c d9 ae a9 43 4d without spaces. Hello, hello and hello\n all produce different results.
A miss only means the plaintext is not present in the currently queried corpus. Salted hashes, random strings, long inputs and unusual encodings are less likely to match. For multiple digests, the API provides batch lookup through the same logical database.
Do not use SHA-1 for new signatures, certificates or security designs. Passwords should use Argon2id, scrypt or bcrypt with a unique salt. Salting SHA-1 blocks precomputed tables but does not fix its excessive speed against offline guessing.
These examples hash exactly the text “hello” without a trailing newline. A space or line break would change the digest.
printf %s 'hello' | sha1sumecho hash('sha1', 'hello');const bytes = new TextEncoder().encode('hello');
const digest = await crypto.subtle.digest('SHA-1', bytes);SHA-1 is longer than MD5 but is no longer collision-resistant. SHA-256 and SHA-512 belong to SHA-2 and remain suitable for integrity when correctly used, although they are still not password-storage functions.
SHA-1 produces 160 bits, which is 20 bytes or 40 hexadecimal characters.
No. Md5Decrypt searches for an already calculated match in its corpus; it does not mathematically reverse SHA-1.
Practical collisions show that different contents can be constructed with the same digest, invalidating modern hostile-integrity and signature use.
A salt prevents precomputed tables, but SHA-1 remains too fast. Use a configurable password KDF such as Argon2id, scrypt or bcrypt.
The plaintext may be absent, salted, long, random or encoded differently from what you expect.
The lookup compares exact SHA-1 digests with the database. The file checker is useful for integrity checks, but SHA-1 is no longer suitable for modern signatures or password storage.
Practical collisions have been demonstrated. It should no longer protect signatures, certificates or new systems.
It calculates a file digest so it can be compared with a published value. This verification is separate from a database lookup.
The database can only return previously indexed text that exactly matches the digest.
These commands hash the five UTF-8 bytes in “hello”, without adding a trailing newline.
printf %s "hello" | sha1sumhash('sha1', 'hello');const bytes = new TextEncoder().encode('hello');
const digest = await crypto.subtle.digest('SHA-1', bytes);