tiger160,4 hash generator online

Create the tiger160,4 hash of any text: 40 hex characters, the same result as PHP's hash(). Check a hash or a file below. Nothing leaves your browser.

Runs in your browser
A hash is one-way. It can't be turned back into the text.
Check & convert

Compare, hash a file, copy any format

Type text in the tool above or choose a file. Case, spaces and prefixes like tiger160,4: don't matter.

Formats for hello world
Hex
24465a3f6e4aa92d903ee535476591e937f3a14d
HEX (upper case)
24465A3F6E4AA92D903EE535476591E937F3A14D
Base64
JEZaP25KqS2QPuU1R2WR6TfzoU0=

Files are read in your browser and never uploaded.

In short

What is Tiger/160, 4 passes?

Tiger is a hash by Ross Anderson and Eli Biham (1995), designed for 64-bit processors. tiger160,4 is the first 40 hex characters of tiger192,4: the 160-bit form is simply the full hash cut short. Four passes is a slower, more conservative variant.

LegacyNo practical break of the full algorithm is public, but it is rarely used and not recommended for new designs.
Try it

Change one letter, see what happens

A cryptographic hash changes about half of all bits when one input character changes. Nothing about the old hash tells you what the new one will be.

Hash A…
Hash B…

Calculating…

Use it in code

The same result in your code

Every snippet prints 24465a3f6e4aa92d903ee535476591e937f3a14d for hello world, the same as the tool. They are run against PHP's hash() before each release.

PHP
echo hash('tiger160,4', 'hello world');

Python, JavaScript, Java and Go have no built-in function for it. If you use a library, compare its output with the test values above.

Test values

Tiger/160, 4 passes test values

Hashes of common test strings (UTF-8, no line break). Use them to check your own implementation.

Inputtiger160,4
empty string24cc78a7f6ff3546e7984e59695ca13d804e0b68
abc538883c8fc5f28250299018e66bdf4fdb5ef7b65
hello world24465a3f6e4aa92d903ee535476591e937f3a14d
The quick brown fox jumps over the lazy dogc1f3a704e9f6267e9f75fa47191f83c354100a04
Common mistakes

Why your Tiger/160, 4 passes doesn't match

Shorter Tiger = cut Tiger

tiger128,3 and tiger160,3 are the first 32 and 40 hex characters of tiger192,3. The family table below shows it with your text.

Byte order of old Tiger

Before PHP 5.4, hash("tiger…") printed the bytes in a different order. Hashes stored by very old PHP code may not match today's results.

A line break sneaks in

echo "hello world" | sha256sum hashes 12 bytes: the text plus a line break. Use printf '%s' 'hello world' or echo -n to hash exactly 11 bytes.

Same text, different bytes

The tool hashes UTF-8 bytes, like most languages. Windows APIs and .NET's Encoding.Unicode use UTF-16, older systems Latin-1. "ü" is 2 bytes in UTF-8, 1 in Latin-1, 2 in UTF-16, and each gives a different hash.

Upper or lower case

Hex is not case-sensitive: 5EB63BBB… and 5eb63bbb… are the same hash. Compare in one case, and watch for spaces or a prefix like "sha256:".

This tool trims and uses CRLF

Like the form on the original site, the tool removes spaces and line breaks at the start and end and sends line breaks as CRLF (\r\n). For exact bytes use "Hash a file" or "Exactly as typed" in the check panel.

Compare

The Tiger family side by side

The same text, every Tiger algorithm. Shown for hello world; type in the tool above to use your text.

AlgorithmHashBits
tiger128,34c8fbddae0b6f25832af45e7c62811bb128
tiger160,34c8fbddae0b6f25832af45e7c62811bb64ec3e43160
tiger192,34c8fbddae0b6f25832af45e7c62811bb64ec3e43691e9cc3192
tiger128,424465a3f6e4aa92d903ee535476591e9128
tiger160,424465a3f6e4aa92d903ee535476591e937f3a14d160
tiger192,424465a3f6e4aa92d903ee535476591e937f3a14d81c4c7b6192
Measured on your device

How fast is Tiger/160, 4 passes?

Hashes up to 4 MB of random data in your browser and compares with sha256, xxh3. Browser numbers are lower than native code, but the ranking holds.

FAQ

Questions about Tiger/160, 4 passes

Can Tiger/160, 4 passes be decrypted?

No. Tiger/160, 4 passes is a one-way function: there is no key and no way to compute the input from the hash. Sites that "decrypt" Tiger/160, 4 passes look the hash up in large tables of known inputs, which only works for short or common strings.

How long is a Tiger/160, 4 passes hash?

A Tiger/160, 4 passes hash is always 160 bits, written as 40 hexadecimal characters (20 bytes), no matter how long the input is.

Is Tiger/160, 4 passes secure?

It is not known to be broken in practice, but Tiger/160, 4 passes is rarely used, little studied today and not recommended for new designs. Use SHA-256 or SHA3-256 instead.

Should I hash passwords with Tiger/160, 4 passes?

No. Tiger/160, 4 passes is fast, so attackers can test huge numbers of guesses. Use Argon2id, bcrypt or scrypt with a unique salt per password.

Is tiger160,4 a shortened tiger192,4?

Yes. tiger160,4 is the first 40 hex characters of tiger192,4.

Good to know

Before you rely on it

Searches the list of pages on this site. What you type stays in your browser.