SHA1 hash for "hello"

SHA1 encoded string

aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d

Your last 10 encodings

AlgorithmStringHash
sha1helloaaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d

String "hello" encoded to other algorithms

Here you can view hashes for "hello" string encoded with other popular algorithms

MD2 a9046c73e00331af68917d3804f70655
MD4 866437cb7a794bce2b727acc0362ee27
MD5 5d41402abc4b2a76b9719d911017c592
SHA1 aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d
SHA224 ea09ae9cc6768c50fcee903ed054556e5bfc8347907f12598aa24193
SHA256 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
SHA384 59e1748777448c69de6b800d7a33bbfb9ff1b463e44354c3553bcdb9c666fa90125a3c79f90397bdf5f6a13de828684f
SHA512/224 fe8509ed1fb7dcefc27e6ac1a80eddbec4cb3d2c6fe565244374061c
SHA512/256 e30d87cfa2a75db545eac4d61baf970366a8357c7f72fa95b52d0accb698f13a
SHA512 9b71d224bd62f3785d96d46ad3ea3d73319bfbc2890caadae2dff72519673ca72323c3d99ba5c11d7c7acc6e14b8c5da0c4663475c2e5c3adef46f73bcdec043
SHA3-224 b87f88c72702fff1748e58b87e9141a42c0dbedc29a78cb0d4a5cd81
SHA3-256 3338be694f50c5f338814986cdf0686453a888b84f424d792af4b9202398f392
SHA3-384 720aea11019ef06440fbf05d87aa24680a2153df3907b23631e7177ce620fa1330ff07c0fddee54699a4c3ee0ee9d887
SHA3-512 75d527c368f2efe848ecf6b073a36767800805e9eef2b1857d5f984f036eb6df891d75f72d9b154518c1cd58835286d1da9a38deba3de98b5a53e5ed78a84976
RIPEMD128 789d569f08ed7055e94b4289a4195012
RIPEMD160 108f07b8382412612c048d07d13f814118445acd
RIPEMD256 cc1d2594aece0a064b7aed75a57283d9490fd5705ed3d66bf9adfe3a58b25de5
RIPEMD320 eb0cf45114c56a8421fbcb33430fa22e0cd607560a88bbe14ce70bdf59bf55b11a3906987c487992
WHIRLPOOL 0a25f55d7308eca6b9567a7ed3bd1b46327f0f1ffdc804dd8bb5af40e88d78b88df0d002a89e2fdbd5876c523f1b67bc44e9f87047598e7548298ea1c81cfd73
TIGER128,3 2cfd7f6f336288a7f2741b9bf874388a
TIGER160,3 2cfd7f6f336288a7f2741b9bf874388a54026639
TIGER192,3 2cfd7f6f336288a7f2741b9bf874388a54026639cadb7bf2
TIGER128,4 e8e50e239f932a1c357194e5ead0f528
TIGER160,4 e8e50e239f932a1c357194e5ead0f528dc2aebfe
TIGER192,4 e8e50e239f932a1c357194e5ead0f528dc2aebfeaed01c74
SNEFRU 7c5f22b1a92d9470efea37ec6ed00b2357a4ce3c41aa6e28e3b84057465dbb56
SNEFRU256 7c5f22b1a92d9470efea37ec6ed00b2357a4ce3c41aa6e28e3b84057465dbb56
GOST a7eb5d08ddf2363f1ea0317a803fcef81d33863c8b2f9f6d7d14951d229f4567
GOST-CRYPTO 92ea6ddbaf40020df3651f278fd7151217a24aa8d22ebd2519cfd4d89e6450ea
ADLER32 062c0215
CRC32 3d653119
CRC32B 3610a686
CRC32C 9a71bb4c
FNV132 b6fa7167
FNV1A32 4f9f2cab
FNV164 7b495389bdbdd4c7
FNV1A64 a430d84680aabd0b
JOAAT c8fd181b
MURMUR3A 248bfa47
MURMUR3C 2b2444a0db91def79adb31b69adb31b6
MURMUR3F cbd8a7b341bd9b025b1e906a48ae1d19
XXH32 fb0077f9
XXH64 26c7827d889f6da3
XXH3 9555e8555c62dcfd
XXH128 b5e9c1ad071b3e7fc779cfaa5e523818
HAVAL128,3 85c3e4fac0ba4d85519978fdc3d1d9be
HAVAL160,3 0e53b29ad41cea507a343cdd8b62106864f6b3fe
HAVAL192,3 bfaf81218bbb8ee51b600f5088c4b8601558ff56e2de1c4f
HAVAL224,3 92d0e3354be5d525616f217660e0f860b5d472a9cb99d6766be90b15
HAVAL256,3 26718e4fb05595cb8703a672a8ae91eea071cac5e7426173d4c25a611c4b8022
HAVAL128,4 fe10754e0b31d69d4ece9c7a46e044e5
HAVAL160,4 b9afd44b015f8afce44e4e02d8b908ed857afbd1
HAVAL192,4 ae73833a09e84691d0214f360ee5027396f12599e3618118
HAVAL224,4 e1ad67dc7a5901496b15dab92c2715de4b120af2baf661ecd9266317
HAVAL256,4 2d39577df3a6a63168826b2a10f07a65a676f5776a0772e0a877e27ec3c4c0ad
HAVAL128,5 d20e920d5be9d9d34855accb501d1987
HAVAL160,5 dac5e2024bfea142e53d1422b90c9ee2c8187cc6
HAVAL192,5 bbb99b1e989ec3174019b20792fd92dd67175c2ff6ce5965
HAVAL224,5 aa6551d75e33a9c5cd4141e9a068b1fc7b6d847f85c3ab1629578ed3
HAVAL256,5 348298791817d5088a6de6c1b6364756d404a50bd64e645035f8cd4291c482c7

Usage FAQ

Usage from Address Bar

You can use direct access to this page from your browser address bar. Type string that you need to encode with algorithm according to next schema: https://md5calc.com/hash/<ALGORITHM>/<PHRASE> For example to visit page that contains hash of "hello world" you can just visit url: https://md5calc.com/hash/md5/hello+world The another cool thing is that you can specify "json" or "plain" mode into URL and you will get only HASH in response. Schema of this future: https://md5calc.com/hash/<ALGORITHM>.<OUTPUT:plain|json>/<PHRASE> Example: https://md5calc.com/hash/md5.json/hello+world Will output only: "5eb63bbbe01eeed093cb22bb8f5acdc3"

If you have string that contains complicated urlencoded characters you can send it directly via params to avoid processing of our url parser. Use:
str - for string to encode
algo - for algorithm
output - for output type (empty, "json" or "plain")
https://md5calc.com/hash?algo=<ALGORITHM>&str=<PHRASE>&output=<OUTPUT:plain|json> https://md5calc.com/hash?algo=md5&str=hello%0Aworld https://md5calc.com/hash/md5?str=hello%0Aworld

Usage from Javascript

We have removed CORS restriction so you can use direct access to hash calculator in your javascript applications via AJAX.

Example:

var toEncode = 'hello world';
var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function () {
if (xhr.readyState == 4 && xhr.status == 200) {
console.log('JSON of "'+toEncode+'" is "'+JSON.parse(xhr.response)+'"');
};
};
xhr.open('GET', 'https://md5calc.com/hash/md5.json/'+encodeURIComponent(toEncode), true);
xhr.send();
Will output: JSON of "hello world" is "5eb63bbbe01eeed093cb22bb8f5acdc3"

Usage from PHP

You can use direct access to hash in your applications.

PHP Example: <?php
$str = 'hello world';
$url ='https://md5calc.com/hash/md5.plain/'.urlencode($str);
$md5hash = file_get_contents($url);
echo 'Hash of "'.$str.'" is "'.$md5hash.'"';
Will output: Hash of "hello world" is "5eb63bbbe01eeed093cb22bb8f5acdc3"

Chains of algorithms

In some cases you can need encode string with two or more algorithms. For these cases we have introduced chains of algorithms. For example if you need to encode string according to this schema md5(sha512(sha1('hello world'))) you can do this by connecting algorithms with a double dash: https://md5calc.com/hash/md5--sha512--sha1/hello+world If you will do this in your address bar you can also use semicolon instead of double dash. https://md5calc.com/hash/md5;sha512;sha1/hello+world Pay attention that semicolon should be encoded in url, so if you use it not in your browser, you should use '%3B' instead https://md5calc.com/hash/md5%3Bsha512%3Bsha1/hello+world Such approach can be also used with "plain" and "json" mode https://md5calc.com/hash/md5--sha512--sha1.plain/hello+world https://md5calc.com/hash/md5;sha512;sha1.json/hello+world

You can also use special chain item "b64d" or "base64decode" to make base64 decode. It can help to hash any of not printable characters. Example: https://md5calc.com/hash/md5.plain/hello+world https://md5calc.com/hash/b64d--md5.plain/aGVsbG8gd29ybGQ= will be the same: 5eb63bbbe01eeed093cb22bb8f5acdc3

Carriage Return and Line Feed characters

At present time our text editor doesn't have functionality that can take into account which of those characters you want to keep in string. This problem come from browsers which normalize all of the line endings to "CRLF" ("\r\n") format according to "HTML specification". It means that if you paste from buffer string
"hello\nword" and press "Encode", your browser will convert it to "hello\r\nword" and only after this your browser send FORM to us. As a result we will show you hash of "hello\r\nword" but not "hello\nword"

You can avoid this with encode string to "base64" on your side and use "Chains of algorithms" that described above.

Example 1: Hash from string with only Line Feed (LF) character Text: hello\nworld
Text encoded to BASE64: aGVsbG8Kd29ybGQ=
URL: https://md5calc.com/hash/b64d--md5.plain/aGVsbG8Kd29ybGQ=
RESULT: 9195d0beb2a889e1be05ed6bb1954837

Example 2: Hash from string with Carriage Return (CR) and Line Feed (LF) character. This result you will have if you use editor with CR, LF or CRLF symbols.
Text: hello\r\nworld
Text encoded to BASE64: aGVsbG8NCndvcmxk
URL: https://md5calc.com/hash/b64d--md5.plain/aGVsbG8NCndvcmxk
RESULT: 6a4316b18e6162cf9fcfa435c8eb74c1

How to calculate sha1 hash in PHP with hash function

Since version 5.1.2 PHP contains function hash() that you can use to get sha1 hash from strings.

<?php
    $str = '¡Hola!';
    $hash = hash('sha1', $str, false);
    echo '<pre>';
    echo $str.PHP_EOL
         .' &rarr; '.$hash.PHP_EOL
    ;
    echo '</pre>';
Please read the privacy policy (agreement of the cookies usage, other websites embedded content, etc.). If you continue to use the site, we will assume that you agree with our privacy policy.
OkPrivacy Policy