SHA1 hash

SHA1 encoded string

f52aae530a37894324042e881b0cd8d14f63fc1c

Your last 10 encodings

AlgorithmStringHash
sha1['OXY' 'GSBD' 'UMH' 'MSB' 'HHS' 'CM']f52aae530a37894324042e881b0cd8d14f63fc1c

String encoded to other algorithms

Here you can view hashes for "['OXY' 'GSBD' 'UMH' 'MSB' 'HHS' 'CM']" string encoded with other popular algorithms

MD2 ecc6759a671c8dbea615b640433172b1
MD4 c0dc9a16b4931e1fe372b78f54d8e6c6
MD5 1cf3f1b3edfb511c395ddc0cc77713f5
SHA1 f52aae530a37894324042e881b0cd8d14f63fc1c
SHA224 7772a5461f62075e68de273b1c3c741c54082e2622418b362b064000
SHA256 06ffbda9f883bb29918780dc1150038da451e3c93758d924ae7550a2cda0a8dc
SHA384 053ef9ce7a7d6452da3c22b7fba02c46bb52c381db71df6bcde677a29ac6e7a7676b036f5f0b1157f27a2d10bbfefd13
SHA512/224 c9043c126a2fa970c9ae5509803317eadf1427d85d89e5131939556a
SHA512/256 19b32dd7ac2c8f41ae263c5b637debfd28952d483846e16ca4b9b84052a1512f
SHA512 1b3e4467043f9b375ae4ab8c04a8ed78829cbeae4c5843ddb5408fb23d0a592fe1903a801b0749d5e8bfb7742fa9bfa497ad91ad9eeb72e50e8f96591186b2d4
SHA3-224 ac6915faa56004c0e36381a4ad6d57f88ced491a1c64af20ba90f719
SHA3-256 2774ca753287b8d5348dd66af0b6b325646b3b992c92d0120acb724ddf219b36
SHA3-384 c324523e1f1e2953d595851bdbdc7c4e24ce7fd65db327e254fe3039000e4da3951a15bb76130cc6b1627cdb554a824a
SHA3-512 121071915d4199f27796930e362b765e2804d324abf1123b37fb77f65352f411fa8becce5172846de157190111eced280f94f888a060e2b6b08c463c51b90665
RIPEMD128 fa72a64c902ad5e55e3e8bee5479a22f
RIPEMD160 2b08176e54dcac0939d8af1dc055e9046b0702dd
RIPEMD256 c61a9264198814c74458b43bceed032a7c0488f423360b76c1a285c2688d1760
RIPEMD320 2aa2841eeeb4817a20f81a51a2009d303efeae58fc4b3a6c33124969aa2c8af44952cc5b4222ca11
WHIRLPOOL 688abb000d89631fc0a3218b7aabbbe357d146e94f9d6e2469799ac0ffc90d3610c94e94b3e9a5298f3781e24ab8deecbb9ff57a9226187fee76f57768422183
TIGER128,3 e87cd5c06b4eab057d6ab64be76bae5e
TIGER160,3 e87cd5c06b4eab057d6ab64be76bae5e27afb4aa
TIGER192,3 e87cd5c06b4eab057d6ab64be76bae5e27afb4aab40f13ab
TIGER128,4 745c9ff90be2ef2c68c7f6816c5e4358
TIGER160,4 745c9ff90be2ef2c68c7f6816c5e4358c6cd55c0
TIGER192,4 745c9ff90be2ef2c68c7f6816c5e4358c6cd55c0b7eb2e05
SNEFRU 8204a9929fcdbe6c0c31634006143d2f260769362bb949b8857f291a1b726880
SNEFRU256 8204a9929fcdbe6c0c31634006143d2f260769362bb949b8857f291a1b726880
GOST 10ddacdb384c23076b90e3d80d4c0d5079c3ddfa5073f4e9d19bdbf59ba8b0b1
GOST-CRYPTO 4f1401995833bf3b1fb3355a1b200c02dda733b8aa4b731548406b6fb7410887
ADLER32 a5eb088c
CRC32 c81d7c72
CRC32B 504cbfb1
FNV132 13a34fce
FNV1A32 615f56b0
FNV164 d9f61fd25b78a4ae
FNV1A64 505107c147d50a70
JOAAT 066ad6ca
HAVAL128,3 13c414a218b49315cfa7b5b03d7b1646
HAVAL160,3 f473ea9188b94032c8a772566f3f7c3520207cb8
HAVAL192,3 cb987e63f1a9124b99dd77d5a5597ed18856750323a608ce
HAVAL224,3 ecc6a89eb4b757cc0865b8e69b279914f6be39ba5b73e25e557366d4
HAVAL256,3 79119b21bee2054e4ebd0c14576ef33e013966a5eec3aae6fb5e0ed6aa902c12
HAVAL128,4 becbc9b5d5f2b4bb4c25dad9989ee471
HAVAL160,4 cfef49bc05af52afa53fc9d365e957e00fe368fb
HAVAL192,4 94143db4e10a3bb245aef92e00443953a0d071eb9db9e3f3
HAVAL224,4 0ba45167b1043d392e921cb20e297cb7a1dc18be5afccf7ab76d3721
HAVAL256,4 512fcd6cde41ebaf085dd11de7e2769726439615952fb8e0020cd48c358bffe9
HAVAL128,5 6097941325902f825fd420f092a249df
HAVAL160,5 e29aba1c374bfef77b488324eaf9d0751945bf3b
HAVAL192,5 169f726522c558969006cfd5411303d778439937ee5b063f
HAVAL224,5 fb493c132a4f2106870ee265a6ecb19478d3af9aa906c78459910684
HAVAL256,5 3116cdcc52ed41108bdb3df9712aed5ba3fecb2d14fe449850604771655ba6b2

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