SHA256 hash

SHA256 encoded string

e8c8ced7c4e2eca42bcabb9f1e7436887b85b21abd0632115f3761df774ff744

Your last 10 encodings

AlgorithmStringHash
sha256['OI' 'DCPH' 'AAIC' 'DNOW']e8c8ced7c4e2eca42bcabb9f1e7436887b85b21abd0632115f3761df774ff744

String "['OI' 'DCPH' 'AAIC' 'DNOW']" encoded to other algorithms

Here you can view hashes for "['OI' 'DCPH' 'AAIC' 'DNOW']" string encoded with other popular algorithms

MD2 9dc9e131a704b4d14ac5e4534f3830c2
MD4 12f3b5058791a0ea8c1a185daf54141a
MD5 d2dababd556d72adfe986d7403878e98
SHA1 47476456ac10d28391e46921731c95dcbbd624ef
SHA224 fc681b84f95277af84de7d5d3616616c1b58cbbd2a09b4634ca39183
SHA256 e8c8ced7c4e2eca42bcabb9f1e7436887b85b21abd0632115f3761df774ff744
SHA384 5e743cbd79189102d083ec2ba19e673891b389dc0886ff1ed3136eba92e66bdd707362bc056e88ba64eead91b6288e6f
SHA512/224 306074a47abf2a9376b4a90c5abba39b399ba4faedbe2084c5cbbd5a
SHA512/256 2cfbfca516829b08e0741160a1884c39cebc6d915d0be3e5a5f37c6c1d52c9ad
SHA512 1293bd68966871a21ddad687b6ff24cf868e89fb70f4494edebaf39043ad955a9dadd0a520f79c07c55b70aabd7344cc98af1d6453fec8189dbfa63d9a4851a0
SHA3-224 21628f7168618cd3db908b01b6852935adbaa2181d4ea695b188946e
SHA3-256 79deaa170c3f42224a8ae9edbf8df96231f8b8689961a5b34ea018d488a2527f
SHA3-384 a43552af9d5fa63f9813c03aff53b993fa6ee8b928b4db21a34c62dfa0708ede8058d96729b835c9b48f1cb8a9781bba
SHA3-512 d3ec7533a788f40acd85ce4b17d906e06ab44fd58747a81a424704ec87b310f86614f0187958ee913b78b14483500b2b56b9ea6c24c385bbbd9b256b8ba8984b
RIPEMD128 92ff1c4ecc6531bb0ff995cce5b26e6e
RIPEMD160 263f42cfa65c066bc8ff4e24c0de0a1e28a0c970
RIPEMD256 fc4b0b3e8475919bb02f3de5a56c61109746b79cdfbb408697a8dcd5ddaefd77
RIPEMD320 19390415e68387d7192382fc23cb517d6ae00e19de2452203c91d334ef48b428169fece83b317d19
WHIRLPOOL de268bea87481caa5ba38b9402c379be32c95e2a79433c04cf26de31921922a67d0c861f94459d6b818bd0f6166edccfb4fbed90542525bf652126f316861d77
TIGER128,3 426de9040874db9866e25116646981e7
TIGER160,3 426de9040874db9866e25116646981e7b83c8eeb
TIGER192,3 426de9040874db9866e25116646981e7b83c8eeb32c38887
TIGER128,4 e761877c8dac1362b8eadff8ed3da0f0
TIGER160,4 e761877c8dac1362b8eadff8ed3da0f0e2f651fb
TIGER192,4 e761877c8dac1362b8eadff8ed3da0f0e2f651fbc32a0235
SNEFRU 887ff34f272c462993f26a70b20b70e69a257351260da3ca3c0cc257651c0b4d
SNEFRU256 887ff34f272c462993f26a70b20b70e69a257351260da3ca3c0cc257651c0b4d
GOST edf413dd1a21dba4ef856d87493c5fc3c2a657a3854f68e4ddfb2febb17add57
GOST-CRYPTO e630637f0486487a5b5e6360fd0a17824a2d95c7ec87836a74eb4e8a6103e2b2
ADLER32 5664064e
CRC32 1d80908d
CRC32B 8e623bb6
FNV132 dd3b5498
FNV1A32 8419cd96
FNV164 9ceac35201ffb398
FNV1A64 9a13af94ad507876
JOAAT 65db5058
HAVAL128,3 83696cd4a76048862ad8c39aa25a8d0c
HAVAL160,3 77f6559ac444a70d3e508af6db9f820ef09c46cd
HAVAL192,3 6b457846b60ae2a797f1a135ceed1797a9df138414fbb6d3
HAVAL224,3 c91b6221d9afda2e980128883b913ea804c0f70ecf473eae402cc421
HAVAL256,3 fed6465a478e8609db04cb7c4338e3dc1c9dfb1d9e3f477b5a99568c24ea76c6
HAVAL128,4 cc8abf20dde93a3645bdf77e5695f1b4
HAVAL160,4 345947d94ccaa3cf46e641c6a6a85863505dc41a
HAVAL192,4 d76012399e5c741de94e8b909be227507cc2cbaea297b832
HAVAL224,4 6a70b332a037e3814eecbcbc50b2dba3a5ee4c6dd1f3af2f18ddcda8
HAVAL256,4 a9368829cacaec5fa6ffdb2f4f33982294d4342cdb066e25f8bfe2085c35585d
HAVAL128,5 255fe2684fb935ac926c391d99df7a86
HAVAL160,5 c944956930313fa4a7df5f26a833da18edecf09e
HAVAL192,5 bd3a4dedd5deb9b427ae5e1f613039df6b03e6add109baed
HAVAL224,5 d516677fb4e57c058eb52726d9d39619dae8992d016b7ea336c02c08
HAVAL256,5 1dad0761909e24b7215391112711d2ce12530711cd38a076f0ac770699dd80f2

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