SHA1 hash

SHA1 encoded string

5716f356b8252be583aab4e4df39935f37e4926b

Your last 10 encodings

AlgorithmStringHash
sha1robot/Simple-way-to-get-sha1-hash5716f356b8252be583aab4e4df39935f37e4926b

String encoded to other algorithms

Here you can view hashes for "robot/Simple-way-to-get-sha1-hash" string encoded with other popular algorithms

MD2 7ce1157e4a2ae5b26442a1301a26aee7
MD4 684e4eb437303ca20d68f09b2a299c48
MD5 31c9c9ec0f097b091685eed573514bd4
SHA1 5716f356b8252be583aab4e4df39935f37e4926b
SHA224 9087400929cdbe22b77ab67b5a339c4d91f0d801386111ff1c69e4a8
SHA256 50dd70340468c9417d89bee83908cba560a29aa0414576318032eb11a3b7b387
SHA384 c26dce989f99e34c270494fa81352543fd59a5798b862ee5bbec2620e7670ad7e528a19aeb55a6d4c8154967acf8abcd
SHA512/224 4c1b4bc5eb54362d0dc75537abbaddc0ce0dbd36d93720956ffd5ced
SHA512/256 20ac180b7d95d14b44d3dc9d0e600c55c484c423ef36caf73b849cbad533ccc8
SHA512 8a3c3ed2e8eab00b2c0176671ba35da1aed9594e1960d51bfd7f87709998f78ebce37b4c27cc6555c99621abea54a738e45816a6d879c9f35e1fc639b36825e8
SHA3-224 28d48a10718ed037c84578077e4ab0c3a467e86da782e2a66605f19f
SHA3-256 2d4facf4d000dea3f0ca54d85dfb5b5cbd9a58997d57b182b1675fe94c14312d
SHA3-384 f60bca7b226ef0e1690542d0432e970bc5d9750478544bfb0c6b4b619546692d2ec56838f4374a29f533f130523ce210
SHA3-512 b6c51f972fae660b1e0580ff156ff32c68711c8c823fbcdd594ae35368aada35a8b79a94222f244f74d27de233b44ecf95b83f891d5e4ea02b4e1178983a3bd2
RIPEMD128 477cbb9ef18720b1bb8856b6d3a2f1a5
RIPEMD160 f2fbbaab72cdcc6c1e94e6c18ffb34728a0e08fd
RIPEMD256 0891d10bf6477afb04a7873c935bd046246d6e2a8405d1f218464b05617e7272
RIPEMD320 6b919a2faa9e3b68a04d0b708d34cf044f29fa271bf7135b35e71dd1cfb45e825d56f5f14bb7783d
WHIRLPOOL 4f04216ee88e783cc3854321fb89944218dc7bb39426adec164015f493c18110d54fb9712cae7cb004891619aec56c2d2a6207a7c28e3188f472e9621ca0de29
TIGER128,3 7dcb712003fcccbda6ceb9240e8b2e4a
TIGER160,3 7dcb712003fcccbda6ceb9240e8b2e4a3e1d2421
TIGER192,3 7dcb712003fcccbda6ceb9240e8b2e4a3e1d2421bd7233d9
TIGER128,4 8fe39cf7e52b9f740d501e1f693fcd32
TIGER160,4 8fe39cf7e52b9f740d501e1f693fcd32cbf1fa37
TIGER192,4 8fe39cf7e52b9f740d501e1f693fcd32cbf1fa37325a773b
SNEFRU 42b5bbbb6df4bf7c1b25131d5b2f54972b8304572b5186dddf6c6993f1e3e3f6
SNEFRU256 42b5bbbb6df4bf7c1b25131d5b2f54972b8304572b5186dddf6c6993f1e3e3f6
GOST 15c75207f40fef7b6f9b5d727b8539c8f8f41c997e920f818e4b966e2c443d80
GOST-CRYPTO b175e63ee7f322a6be7cc77e3dcdbc09f7b540f53d76dad6106579c1303e5eb6
ADLER32 d3720c26
CRC32 d7040c4a
CRC32B 3bdb0a62
FNV132 35bf79b8
FNV1A32 d9b410b6
FNV164 db94d32f0afd0278
FNV1A64 214c81f5cbcdac96
JOAAT 4c39afd4
HAVAL128,3 bb65aadac278c4e677dcc481b517022d
HAVAL160,3 c9d32a499ffe6b81592ae95176afa15e3dcf1346
HAVAL192,3 498935fc9f18262ef310dd10b8fec9b487e3c45955872fd2
HAVAL224,3 20b5c33ded464a48845b592747a574d6241c2b668a7f92878789faff
HAVAL256,3 b2c4885cc5afebec5d5007d391a03e5113c1a86cf7ae4e387edd915dae0b56f4
HAVAL128,4 e4a8e6a568656b0e918df5716724471d
HAVAL160,4 18d65da9c65c9208765ab946822e9c3dbb45c0cc
HAVAL192,4 3187d84bb143f3ce2975fad8d051763cb3f6106d3d43f8db
HAVAL224,4 66e400727ceae0fcae35f71399aa02550516179a0ad46c434cd5f6e4
HAVAL256,4 5aa7968470f30dd73ae691dafe864c2adcd0422ea4f93082f43c84e6358c9866
HAVAL128,5 63bfffccedb5c5c87748145a9598d279
HAVAL160,5 d3ae7ade98cb2c7a8445606f3e47ae9bb2052842
HAVAL192,5 d643d95370b43084a1db6da8e053fc34fa10c5ded0f53e8b
HAVAL224,5 df514dbe17ebc2e7d942eac0b321a1e5107a7f785d0ef6db6c589aa6
HAVAL256,5 c289d7bef6025e30c538c1ce284332132cdf6b4adacff98bfd3e30e7c45ab7a0

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