SHA256 hash

SHA256 encoded string

b31a326a6f30753e402f73fa53f51553ec77df9b25c1d9e941b57e6e9237532d

Your last 10 encodings

AlgorithmStringHash
sha256%5B%27DVA%27 %27MOH%27 %27PEG%27 %27PNM%27%5Db31a326a6f30753e402f73fa53f51553ec77df9b25c1d9e941b57e6e9237532d

String encoded to other algorithms

Here you can view hashes for "%5B%27DVA%27 %27MOH%27 %27PEG%27 %27PNM%27%5D" string encoded with other popular algorithms

MD2 4a28ed604955635c12ff5ffe892cef4f
MD4 e951ed3d6f488dc9e5a8a55002172606
MD5 bd205700f05af840aee5582f8157d390
SHA1 35d15f0fe572037f30270b55cfafb2426ca546cb
SHA224 801952d5f9487c48809caaa74472238a75458e493ae0e72fa023cac1
SHA256 b31a326a6f30753e402f73fa53f51553ec77df9b25c1d9e941b57e6e9237532d
SHA384 72b694750352d364fbac2325357d922fb833247ee16b99f3fe27709175fe85efeda93a24ef856d0381147296b50eaea0
SHA512/224 dad44d8b5cdd1ba80918aed97d3803ea3bc15a5685f2fc295cc5dddf
SHA512/256 8c85d66f91a73b583a6841fb23234268caf5245b8f854d33ec3ff706ec7a52bb
SHA512 80530596d06dd7d056e9e1f6a11bc9b68b3acba6f5924ff6c40d97ce35aa22f98bcb06eadeb9a93ca2cdce8bc375df0fbbbc9eb31675fedb7790d855c5132783
SHA3-224 09de5ddac057a52cdd7861747d22c70e6d0e4152e8cea1e598c9f7a7
SHA3-256 3191a9a35249d5b737839dbc8901b0621941c880051023edfc3fdd31523de9f4
SHA3-384 2f6f3122ff4f9ab1aad3cfeff6826e06c96dbeca3595be04c8a5150ed9903a849050ab57b98fa28b3b53ec8615c55ded
SHA3-512 f1e11c13992768569981fc868b2e74cbdc3f42ad0df3db1d99ccac216e9b7d601d5422f86b9decd0c104d836f181d485ae50ebbfda3dc6f932b2e6215f48553e
RIPEMD128 c5a5dd91dd66724e13eb97312bc2bfd8
RIPEMD160 00aff7824827d60da1f9988b216424239de869da
RIPEMD256 1c3f834d2af28a8cfecc8f9cce1f93f57ae2771f8c9ef940b5e6fcb8450a612e
RIPEMD320 bd7f7d88c2f9f2e976ca817d7d69168e0f3f592362ebb70ddaace1b2790f55b9b91b9f446125b0de
WHIRLPOOL e052a84090ae05ec6b7c5b41f9a84c749aea1732545824057d65cc19c8eb9d17cf7131c5fe2e009f5824302ecbba942c2a6c4b4cac329cf30e3ef926b9b41b07
TIGER128,3 f14867744307fd6164e8cf889c84bb05
TIGER160,3 f14867744307fd6164e8cf889c84bb05c48af1ef
TIGER192,3 f14867744307fd6164e8cf889c84bb05c48af1effd889808
TIGER128,4 acc7ac48388c98a5d279bfa234543cc5
TIGER160,4 acc7ac48388c98a5d279bfa234543cc5f3ae334b
TIGER192,4 acc7ac48388c98a5d279bfa234543cc5f3ae334b4f572918
SNEFRU ed51ed48a2379b108dff4dede8712c1fb420060f66689c2f6c7d60a7f70b8096
SNEFRU256 ed51ed48a2379b108dff4dede8712c1fb420060f66689c2f6c7d60a7f70b8096
GOST c5615c737866500582fab4ed5e568d68952cf15f77acc1741e7599ddf883cc78
GOST-CRYPTO 965e319e0104bc69cec56046c73daa9fa86cf0a761b256aa6997a39c18c90a2b
ADLER32 da730991
CRC32 5962d8d2
CRC32B 4ed7b56c
CRC32C d61a1511
FNV132 840deee5
FNV1A32 b8a95505
FNV164 ed095fdc1d9c6025
FNV1A64 3fb6c0eaf20eacc5
JOAAT 6f8c063d
MURMUR3A 9a625cbb
MURMUR3C 471933ea09616587b79c29fc01fb7591
MURMUR3F 7c9ffbfe3faad5f5c0c6778348676544
XXH32 463a4ceb
XXH64 3c8141cfb6edff23
XXH3 5efd52f98a193328
XXH128 89966c07ac7e71839a003c08584daef4
HAVAL128,3 f88907cac0d480250382f8f99f73b68c
HAVAL160,3 ff6b3757f0acddda42d2deb4f24257cfa8c80045
HAVAL192,3 bd1824bd69b4b1939807f12284a9707ab006742ec7c65674
HAVAL224,3 5364939fec5c3ae26aa40555fbec759b4433ff885a7b95139816b92f
HAVAL256,3 d4ae96e6f5db2027bf57db385f4c1854371a5037909e578bdd071a93ce23cacf
HAVAL128,4 aef38be5676a12756f0602e5efb3ee76
HAVAL160,4 5581196d8d776f9b4bb2ea3a5fd434e102558d8b
HAVAL192,4 742a0212d9c462b1c52448248cf0544ff25998d6468e321e
HAVAL224,4 5ba9ba6b950b20e9d75a51217647bd552a536746835f2a43aae1493a
HAVAL256,4 9af36af68447b4e4ce5fd3f9521408826d5527ed4c6230430c798f6deccfc679
HAVAL128,5 fda8c01dd70273d18d21b83ae9b747ce
HAVAL160,5 c375bf67bf9db6a25cdb898f097af789cca21390
HAVAL192,5 6f75b6c550c31e09b9293e0a9518414b986292eca0b8646c
HAVAL224,5 a3dc041d503aeafdf99b982779c2659b08bdf806ce35ddc1e7f620fa
HAVAL256,5 dab57c26254e9fa8fc41a3dd145a628f4fb697ab7f5baf206a8b82571d052e79

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