SHA256 hash

SHA256 encoded string

f77e2e2e6f38a3dafee284e68f8a2ec86def4dff311d28b53d8e69d6fd678473

Your last 10 encodings

AlgorithmStringHash
sha256['MDT' 'RY' 'TD' 'CM']f77e2e2e6f38a3dafee284e68f8a2ec86def4dff311d28b53d8e69d6fd678473

String "['MDT' 'RY' 'TD' 'CM']" encoded to other algorithms

Here you can view hashes for "['MDT' 'RY' 'TD' 'CM']" string encoded with other popular algorithms

MD2 cfc3c3ba65dbaf77db7f8c7d14e81971
MD4 fc514eb934618584a42bcc1fb4507760
MD5 9d287c0779d51851d2b40d626f2cb781
SHA1 a731bf6b358abc7120a12e884f3aa1a70d47307e
SHA224 3a041729dc6af53a97058b19f14577c33be338227c6a36fc409c73cd
SHA256 f77e2e2e6f38a3dafee284e68f8a2ec86def4dff311d28b53d8e69d6fd678473
SHA384 50764f6cbe11901f4857f47ea986366c7749d7b6c7a89fd02510ae2a8ef6efcd17aec1f49c60ddc71f20599a31452b96
SHA512/224 9c828b917253240dd10cb003e4f353426277c2659a1b336ab18fb6dc
SHA512/256 a0b22fa1bbdefd02c10e649c18d25a79566740690ada1206740c3616da8309a2
SHA512 c7d59db5adcaf52bd83da75102a2c3865e0d1da8d3c6a4b2c187f5111bb130383b0dbb7d8509ac2f7952ab23f93dcaf79ff261a79a963bc7e9e3f165e4d53ce6
SHA3-224 ba61e8f67fdc24b037e70dd22f3b5b67572d7ea8cdf1602a7c06cf29
SHA3-256 f74b586439cdda32c0f42cf2669c420f925eb0b5eff6dceae9eecd0faf8af1ac
SHA3-384 4c50d5b431b575443093c9ed811336f331a9f84bcf701f8cf50d1d297c18ac8c4f7ec99105190369b07be0fb683a8c2d
SHA3-512 52e2a4be7e1d9b9d332db09261d5b90ec3d68e3ee42b35890d9c0aae3d3771b317c5c5cdcddef993a533eb1778a8b6d846e86c2acbe0449668f1a626054dfeae
RIPEMD128 0dff7aed012f5ef72080563123aebed1
RIPEMD160 7410b7d6608b3eda880b197c2bd93cb32882f0ed
RIPEMD256 b831bc529f0b8e946fc1ce2e913f5735088f813798542258648b7ff4ca2d12d9
RIPEMD320 daa3e0703f6964e2915aa0e35cdcff0fdbc955b0ddee91069f92482366ee78844f6e8d56c3e4447b
WHIRLPOOL 7d1068df5caf137618c88432bbad6bce49915def0577df870d38b22bb1580276e36766715feb5416591de79792c275f4cea38c9cc5a40d7f614863c6688bafae
TIGER128,3 a8b4a0f4ffebcaaac388c696585589ce
TIGER160,3 a8b4a0f4ffebcaaac388c696585589ced89750ae
TIGER192,3 a8b4a0f4ffebcaaac388c696585589ced89750aecb1a817e
TIGER128,4 d8b4cb6ba22309f9adbfa3d741c719d3
TIGER160,4 d8b4cb6ba22309f9adbfa3d741c719d3207e764a
TIGER192,4 d8b4cb6ba22309f9adbfa3d741c719d3207e764a85200c3a
SNEFRU 04774740bbaeeaed0f025bb0bd2c934a38eeaeecc2e07742aa6af67ed719d1c6
SNEFRU256 04774740bbaeeaed0f025bb0bd2c934a38eeaeecc2e07742aa6af67ed719d1c6
GOST f7a6f6bc0beaa0304c4e0e1f430dc4c55436c671be8f46c8e909e559172b1e57
GOST-CRYPTO b4bbac447e22bda3ff9ff8cac83c4f0c245383409946119d3a11efde95e45371
ADLER32 3af40509
CRC32 09f0472a
CRC32B ca0d8470
FNV132 813d378f
FNV1A32 b41e2e37
FNV164 7e1390b481bb9baf
FNV1A64 8974801eb70f3e57
JOAAT a6df9639
HAVAL128,3 b43c3de25ffd0b28d7f1c43d2231103b
HAVAL160,3 4b0930efde5161e76dd09d463cc58e363d01a666
HAVAL192,3 d09a356e9dfb4993a25f66211c6a8478fdcf8fb6d2e12024
HAVAL224,3 fa801a0ec3833896e85a99ad9c84bec248b812a876a5242cdcc06dab
HAVAL256,3 3070d87830b4160d6d32f3b541d45dd88487ba2c87be1e03c25551724ed1f91e
HAVAL128,4 ded3cc733f6252b7f0f96c4e6b983ba3
HAVAL160,4 d97b3f808a41e3dd4a9278e4e1067c6d36f71324
HAVAL192,4 0150dbf3673c046f16b5dadfa87b8a18b528b7f06dd34cea
HAVAL224,4 c51db6343d4bfdd749503b45dee8eb5d7bb06e6ea37c493056f52f6e
HAVAL256,4 d0368ebb22422c0b9019186a8202bf2938910ca8b7fb90c055a16b2306bb4b9c
HAVAL128,5 b8f8d81ce77495632f1958455af4ce93
HAVAL160,5 e7aefa998f09a77d7616a78c66f4b904ddaabb7e
HAVAL192,5 e77d55fa696e2664e0a4efa7193b1206da3294b1a37fb891
HAVAL224,5 f7078e05256cd1968e7dfa841f0a95e0b7b20ad9ce465de35330e273
HAVAL256,5 da851dc731d808d89374c2b73b6e1e55541dd6ac2bf5c0659414835609b44e03

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 sha256 hash in PHP with hash function

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

<?php
    $str = '¡Hola!';
    $hash = hash('sha256', $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