SHA256 hash for "['DRI']"

SHA256 encoded string

71a17557ba2cd3dd8e05649fd578ce075b476cead94a6d94a8f1c63ce2b2bc99

Your last 10 encodings

AlgorithmStringHash
sha256['DRI']71a17557ba2cd3dd8e05649fd578ce075b476cead94a6d94a8f1c63ce2b2bc99

String "['DRI']" encoded to other algorithms

Here you can view hashes for "['DRI']" string encoded with other popular algorithms

MD2 78dfcdf62a5d71895bc5a5ea574901da
MD4 e3814d27f45d41cf8042edeb659cc5c9
MD5 b75508e68556b5691fa9b4381f4a95eb
SHA1 ee20d6665b17aa5c6c36d4736aacfe40b7184eaf
SHA224 dbf4edd16e8351ef6220ccea35e1d1d2f205dcd8bf71a8e1adc5ef8b
SHA256 71a17557ba2cd3dd8e05649fd578ce075b476cead94a6d94a8f1c63ce2b2bc99
SHA384 0363600b2eb2122c7f2314c8bec25e847a72aa50e251549ef50f7a8cb4415ae3c12be79eab8d275c2b7a14d335fbcf71
SHA512/224 d1d0d8b57a312153f2e93c592a50cf78d77d9ecc569c16e08ec81609
SHA512/256 8e9a0ff8d17ebfe327b034ed77239a833eaf64e27688462d3ad8616ad409f5c6
SHA512 49ca5b22765ea10eaa734c84b3dbe5a4b46e0df874da37251d1814144f7af642049f79516c02a89e8d791d4347092519be08c5489c38d3a3b75bf600168d4a08
SHA3-224 16908f1902019a0be66ddb3b9405007671fd7e3bf6d0f61a3ce531b6
SHA3-256 65d421db12dc033cc1b9547252ba7c30427d414c92a6fee16120495489a90a66
SHA3-384 37e8e772504412a6fdba90b369c212ee43fc426e3f8215c4b3db6f80561bc5b86f7c18e20a4dde6183cc15b999bf94ef
SHA3-512 9f566fb5940250f935b6a80ac097b298cc152a356bf2e39d82b10b41d897180b6a02d5be1148320365a2b3a44df03b7c3fbc71a9c3ae24afcc5782a9b42668bf
RIPEMD128 fe821391f93f8a63f0207a795627ea5c
RIPEMD160 e3b365de2de2cc04790d0f7350efcf08ed74fb01
RIPEMD256 ce23a0efe93dfce3ee743cbdfbfcf3f043d0eb66fbac80b519d4c21a4e39b073
RIPEMD320 164f0b58129a76d9baad3e82d4a9a269ebef599950f3f0961702a2bf57386fe224ee4b86697aae0d
WHIRLPOOL addb71712e415667aeffb96009cd6f027fb5ff6e1baeba43af0d3ae4cbec04c8c3e028be9397117433adc7d28444a599d4adf0c815a5559f4f9a4265b57437e6
TIGER128,3 170e979ed55f3f4a178719ab4aa6c6a9
TIGER160,3 170e979ed55f3f4a178719ab4aa6c6a9d8b49802
TIGER192,3 170e979ed55f3f4a178719ab4aa6c6a9d8b49802b0a78492
TIGER128,4 2c7f9d02966877e207ea91e8851601ad
TIGER160,4 2c7f9d02966877e207ea91e8851601ad9c2885bf
TIGER192,4 2c7f9d02966877e207ea91e8851601ad9c2885bf00616f7a
SNEFRU a4491d4c3cbd800c6757c50048a2b0d6797f97aca74418b328109db8b32aaec2
SNEFRU256 a4491d4c3cbd800c6757c50048a2b0d6797f97aca74418b328109db8b32aaec2
GOST 8936f31597987b0e6f1232f783294bcfc56bd53ab0305a74a156f24dc414ece1
GOST-CRYPTO a492ed841ed71d72b2ecd9c574d0dfbf534bb380befc8f8b4647daa62282edb8
ADLER32 079001e6
CRC32 fdc9781c
CRC32B da34477e
FNV132 6f575a8a
FNV1A32 c528c6a0
FNV164 bb64532c97a6774a
FNV1A64 8482e1b6cf1eb8c0
JOAAT 43fec90f
HAVAL128,3 1ea26f6c20895530609bca8c1b0c4e72
HAVAL160,3 d63d6f8e7bc496b04c413f13dca2c0eb85a93005
HAVAL192,3 1560974110394db7c533f0c9bf170729201baaf415d1a6be
HAVAL224,3 eea88fde20102647897b2e7703982439c17d8fd5c83b88a67ade0bf9
HAVAL256,3 ac4ba5a42e1925a6a11e8a1177247287d0dd4da0e1f140db9ebfb439867cd2fd
HAVAL128,4 9d2240d3d4de012d863f8b8d7fb8820e
HAVAL160,4 c0147bcc482e0e8b98eb9bb836c22984a480cccc
HAVAL192,4 d0e0f2fc4c3084e6d6b68d2aee756b0924d9dc100e3cc1d2
HAVAL224,4 0db0f12bcdc4508fa2d32b900b9206697458d26ae97665e4b3536823
HAVAL256,4 1a41b9d725d8e79d956af443e5c2b5c833991bfc01c96cd6cb3c14136a576238
HAVAL128,5 f36d429e3c04d84d9adb127a2f5f75af
HAVAL160,5 308a04e5c7e3d5d8ea79b177d71bb961f5ccd0be
HAVAL192,5 49471e0923fabf80724dd7959dc3c20cb4127b48b9a69fbe
HAVAL224,5 2c124fc34b085a94168a3d26561e51734575f251728c0405d6469cc1
HAVAL256,5 4c4f1c9a7de91d3c7e943ffd3792230bde5b238fa3c922a4a6762bb9c5bae290

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