SHA256 hash

SHA256 encoded string

902d872923b1c330f6fae112612539648791cbf2d9ccb9d2004a59cc5f997990

Your last 10 encodings

AlgorithmStringHash
sha256%5B%27MDT%27 %27BNS%27 %27BMO%27%5D902d872923b1c330f6fae112612539648791cbf2d9ccb9d2004a59cc5f997990

String encoded to other algorithms

Here you can view hashes for "%5B%27MDT%27 %27BNS%27 %27BMO%27%5D" string encoded with other popular algorithms

MD2 4ebf96afd2f909087c21e83d0acf78bd
MD4 8cc859f771035485c2c0b7aec0ecfa64
MD5 b61c874126ca8af274ee6d39ccf64289
SHA1 64698659c0c18f15678fc1c80a67ad9e0307438d
SHA224 625821db971f235d03a85ce0848a366cdf457a12539467f5658e8d5a
SHA256 902d872923b1c330f6fae112612539648791cbf2d9ccb9d2004a59cc5f997990
SHA384 8b8849e100d62ec27e5f7194574791de1b76c5e2d5f342126a33df6551d4e69234651336db642f65d9023858a416c584
SHA512/224 8cd91464a6a6b88af804097e13c6b6e8a4275735e01fcd2a24294f00
SHA512/256 18b61095c780b4876e7077aa2441142bdcce08f475cc8018ab387158ed20a6ee
SHA512 766c8d5bfb753fbc0678b58734058350f33d87b38a2a9c0ec918c724813dadab4a5fadff724221e708d5191d1fb4cc385706398e92d4f4cc316d50b09e4f6bba
SHA3-224 db2006988b7479fd193ef363c2b16d1d0e081040161136b0b0406364
SHA3-256 7bc0352884c746e41414ff1b326b3f1ed2a9d29f232309537e9c98129323539a
SHA3-384 16b3c07ce57fa8a4202e26552edbcd6e387de716c36b8e38cc65a20d5c7b7d59a33a7314d4bf22b3cc2fa090d6107645
SHA3-512 8b41db5dd84861eb19c388c7cb4f971e7007b0d4cccf6a971dc86465e2caa54340578cc209cf95adf57da32e40de7bc904f2cbe2b91852489dc91b6ff288dbe9
RIPEMD128 2e36280b69af990c491c9dfd6ca27563
RIPEMD160 3d15702eb03bef37cb23db612b5ddeef7110b69f
RIPEMD256 d816fff324d1f5ffafbb155efaf51b2a6d57e4ae4f16d3d5a8dfca1a75f95e45
RIPEMD320 25fbf45cb3834bbf3eb3f6e1d33eafc4b16686890dd651e8285278a482405b64f453040c07188ffc
WHIRLPOOL 96da8a57dc4d424ac6e267a8b88338bf6d723f37eecd6ec61e10e64a81d5f9deb3462d84301e82bc63d425f09921c073473e96babc99f8a81586bdbfe56ee5bb
TIGER128,3 32500a66a564f3c52a8309cbc532924e
TIGER160,3 32500a66a564f3c52a8309cbc532924ec930dc7a
TIGER192,3 32500a66a564f3c52a8309cbc532924ec930dc7a19e8e2c6
TIGER128,4 ac3eeaeb64744842f3e0c0d8cbc77212
TIGER160,4 ac3eeaeb64744842f3e0c0d8cbc772126c65cbbf
TIGER192,4 ac3eeaeb64744842f3e0c0d8cbc772126c65cbbf2f34c968
SNEFRU 2ed175c3b0bc4131998c5a6902d3e7e74c16f7cf18bbacf52b97ffa4dc32b795
SNEFRU256 2ed175c3b0bc4131998c5a6902d3e7e74c16f7cf18bbacf52b97ffa4dc32b795
GOST 104fabbfe0e15a281df45385ef9f1ba4787a746013412893622cbc58f7f98d56
GOST-CRYPTO a5f0d60ea8a4d63d520ba75d250de52bbad4c624eee568274d7dd199e2683dc9
ADLER32 85a40775
CRC32 6ad5db28
CRC32B dc8f75ab
CRC32C 21abfcef
FNV132 fe7dae05
FNV1A32 39ef1c01
FNV164 7e64e00017bbb2a5
FNV1A64 09c1c15f57b61e21
JOAAT 3ef54f0b
MURMUR3A 9f51037d
MURMUR3C 3fa4e5262eb33a7ed1c805fc98bb9047
MURMUR3F 4e8b926881ffa8210362d0cd9a679c3e
XXH32 a6749787
XXH64 78b2009acb9c8d47
XXH3 d79c2c555d4486df
XXH128 2a8a6beab80bc465d6b6ec32a08024ea
HAVAL128,3 6fc8018bf8db964ddb78460f5a03020a
HAVAL160,3 050be1286fd6691bbaa3ce953b55a7e7488f595e
HAVAL192,3 61a27d1ae1bffbaf6969429fa46d41be26a6ce398ec3a43b
HAVAL224,3 695a6120a68dfddabf5b6a48d8ab615135f875cff809f11f0d037501
HAVAL256,3 a34be130b3cce118387a8c57c091fe224254df16c566dfe3343bf52fbe63fa6b
HAVAL128,4 98f1fbade339c07957889bb82fc85a90
HAVAL160,4 c7695ae9c78aeb3288a6e056153d0f12bcf29028
HAVAL192,4 9310e89162b4d155836afeb477c2cef3c28ba61e25817ce3
HAVAL224,4 04d94faa1a71d54e81d9c1c6162f01c5db96f8692684df967bfbd25a
HAVAL256,4 745c7204006352eda0519edceca993409be330ec2051be30eacd9613b013946f
HAVAL128,5 c9d591643b9d4e952e6491753cc40e71
HAVAL160,5 5ee97302f2351a8f3b26264d18197520c7957341
HAVAL192,5 bad019dbae5bf089882b6f5b44093526e5e661ddf0084bdb
HAVAL224,5 be5d30ec03b0bee318c2195725e6b99fc42bebfef69d0ff9eaa18242
HAVAL256,5 2ee141f0143cb771a63a8318bff2befbd3eda7ab6968177437e02befd9b1e0a2

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