SHA1 hash

SHA1 encoded string

dfa297c031b35a1339a95691a821cde06b384340

Your last 10 encodings

AlgorithmStringHash
sha1['WEYS' 'RCAT' 'HHS' 'MNDO']dfa297c031b35a1339a95691a821cde06b384340
murmur3c['WAFD' 'JPM' 'WFC' 'C' 'PNC']80bbde32e05b255bb694c8ad610c4d0f
ripemd256['ELS' 'AGNC' 'XOM' 'MCD']0de1e3ef5fc331c63646444e10b9516b57127ea68256dd6a3130d0ff54063858

String "['WEYS' 'RCAT' 'HHS' 'MNDO']" encoded to other algorithms

Here you can view hashes for "['WEYS' 'RCAT' 'HHS' 'MNDO']" string encoded with other popular algorithms

MD2 a06fe323d796a9d90f631018c7151de0
MD4 69fb29f6df7d5d5a8eceb7be12ace498
MD5 87dd9fb228d17042588b0ecab89f251b
SHA1 dfa297c031b35a1339a95691a821cde06b384340
SHA224 42627ad5fc386c16756f95b13213dd07c71b361b4800a4582ca20051
SHA256 1e906e9bfc085a599ffc4ea1b77ce756a88074f4db764892baacfd41e1e571ee
SHA384 10d62d62c0a75b20141c5071f3f3b926e1a5d71276696cc4a5e24ceb4c1973670aabd1e70e53447cfc9cd6e46b41efc2
SHA512/224 6bef1b0b1f90be066c49374185d594d822ae81ae327a75d9b8a1b006
SHA512/256 ffdbdbdd036a2344969090d9aa8f4f46b69d71ec69104317ef8a1751f5d2e5b0
SHA512 ffbb01b563fe6936b61a297406efac3dd1cdd8522dbc77d6725859b841379e0abe2239aa2d2eee046cd5c698ab88f4b99a4b6805639db4ac59e8607cad92e1d9
SHA3-224 326aa5d602e6078023c9ff29c70e331c4b1d5b0c7c54e28e658bcb21
SHA3-256 03b470e67ac4732a9bfa6b61c769a705aceee0a9e037dd0b46f139ea522d96a3
SHA3-384 7d7eea305eb9cb4509889cd8cb7e309eace9ab6e13bfac6e8491d54a32230fde9def96195ada31c4dde38c7f5e81b58d
SHA3-512 ac74557a00854c89e4178a9da3fac947287db43b73d77d3feeccc52834bab0533081997ef5f6a2ce5369834a2c62d3689f3b196fab6f9041547695afea4c35cd
RIPEMD128 a184d1a68bfd252529fd5b9ea6e7c2a9
RIPEMD160 90ab5415f276541e67eb104235082302dc5f8940
RIPEMD256 6580d590b81fe9be52db7f801ad5ed3882d3a8b7cbd9f36d2cd74b2924443867
RIPEMD320 a5bd2ff10da2859f809cd04fd83a06df59b75de9bb90bdaa13bbf7e675d7aba18f51078d45dd6d65
WHIRLPOOL eb6ca829766beccc152e5750bb0abd0383b7769733a4e87565cc835bd285fb643ddf354dae485bec571a42710ea5f6af4b15364a5de12cd987a30765d01ab41a
TIGER128,3 135506f5a7658350b395b0bcabdb2c9d
TIGER160,3 135506f5a7658350b395b0bcabdb2c9dc7d4ea78
TIGER192,3 135506f5a7658350b395b0bcabdb2c9dc7d4ea78302f01bb
TIGER128,4 5fcd84a553fc96bd913f033e3e933512
TIGER160,4 5fcd84a553fc96bd913f033e3e933512956413d1
TIGER192,4 5fcd84a553fc96bd913f033e3e933512956413d167156259
SNEFRU 0020e96850fa1d2682a0a6febe089abf9eddf761de8ee9e2b9e09e0faf8652d7
SNEFRU256 0020e96850fa1d2682a0a6febe089abf9eddf761de8ee9e2b9e09e0faf8652d7
GOST def13cd63ec7c5befb913ab4dee99b7e69ae1a771ca88bdda215248ce729fa9f
GOST-CRYPTO 43c4bb6ca4f9aca641c44c7dad5e610cf158fb3cad663f73491a1d105d4580bf
ADLER32 641606d4
CRC32 b39dba15
CRC32B 78f8a4ec
CRC32C 8afcc29e
FNV132 69804fa6
FNV1A32 3f12e538
FNV164 1a1afda6122213e6
FNV1A64 17ee72f03e003b18
JOAAT e7bf665e
MURMUR3A ddf8449b
MURMUR3C 9cc37836ba703e6158be1da0f7204751
MURMUR3F ca4ac9de1a84aaf6958f44dd227525b2
XXH32 8fa16e36
XXH64 43cb87bab0a2bf96
XXH3 c5c30142f27116c7
XXH128 2a796a598fc4d1d0a53ad40451356f9f
HAVAL128,3 77251ff915d86953ba9b334414a1f21a
HAVAL160,3 70daf0001cea7c5c2aca30d34f514bec05079d64
HAVAL192,3 6e1f02fd75b61614de179d27e66994fc76cae25ade276375
HAVAL224,3 fdc1e654539f41d60797190fdfa7763858b2e6c753ea9e8e1cbe61d0
HAVAL256,3 002927dd0cc1a8a1dde12b5860f9926217c7c99bbc9977466494bf0fd2d05262
HAVAL128,4 fe797efe9bb379839abb2fd925447d07
HAVAL160,4 5185d92c2822c3124dc23a089710217218d67f44
HAVAL192,4 ab7698bc4efdef793b155c68ad0b6e891b05ee9e686c58ec
HAVAL224,4 b739d73f701fbba17bfcfe6f4e85b539e9f5811bd71a2439b0c18846
HAVAL256,4 bf27cb5d694ee6d00e59af04ae11b6f5eb7c9eafec827e7cd437d069b559fc2c
HAVAL128,5 b42a28da7c9ec1985d357b8eb038675a
HAVAL160,5 11ce49602da6df2448db74ab364988615838e214
HAVAL192,5 d2e119513616ee98c9b66e63477781ac7550b559133edf81
HAVAL224,5 ebe371df7105f75d48a2d1bbcc9439ffe4bcb684448753ab1d75b184
HAVAL256,5 945b318202db9828865c1e094ab30f3157427ef2db8f4fc7518cf5ec3a6050bb

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