SHA256 hash

SHA256 encoded string

561c0d347e8d5deac82a57a2fd23447552f366b5ab8078931779b8aeff97a723

Your last 10 encodings

AlgorithmStringHash
sha256['CNC' 'IT' 'AVNT']561c0d347e8d5deac82a57a2fd23447552f366b5ab8078931779b8aeff97a723

String "['CNC' 'IT' 'AVNT']" encoded to other algorithms

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

MD2 967f404be429d5f7f660095883042789
MD4 2d641bb86530a4cdf61582e924d7fb98
MD5 bb20a1a59d893250bc7c08347f0c041f
SHA1 94fa042e7ea2692cccc8e70331b0d3a4bde7a1aa
SHA224 1f3458be2be6cd8a9d9ca0a87774dd731f945b04e6da2365fa8d3c59
SHA256 561c0d347e8d5deac82a57a2fd23447552f366b5ab8078931779b8aeff97a723
SHA384 5d20d27fdb06a93097ca6f7f6a596ee906fb87562cbf731d93cada99795589ad783a3d072b89f83dd9ea5040eccf3672
SHA512/224 38d7fea56a64d21b1dd81765b88b3d69e3427df2fb45bbf2998b94be
SHA512/256 641569d593f6fc6c13faa15636c762e8d9582fe0c84837fd3b076b30355c40d2
SHA512 aaa68906a7f0ed81054a8ce79b9bcc60b4de25b723d76da02340b59251c75d98a6b76227cfd7e38c728ed725bcdff9b861e72f67403a6160179e269dc4adc1f6
SHA3-224 302c245139b967f90c0d2c8500ea1241581942c6d8ebaf8bab9e9f6f
SHA3-256 205b6f603fdf3b2a1df5ff086c0803070a2621e31d165b18a68d9eb86cb2c576
SHA3-384 10483ce85ea2e6728a494177de5db0b7fbc08443ca7b7c612414466a2514726b44fcf369e3d36c300a90cdc5456e893e
SHA3-512 aae81ece1696ae7a8fdca75d9c826f8d593f3b45c71a72eb76d0c32d5e627d787ce0df7aa88bd844a32a2a6d29ca94570fb3d18240bb795734eb2b0a2445e556
RIPEMD128 0bfd2916f6f9711e39b1249430123135
RIPEMD160 86f41aa223fc52c3c78a2dc435b8b988bc2b45da
RIPEMD256 3d89fc46f92182af4d41a936d7088658cec8d4dbc3cfd1b23a8756d4ca2091bb
RIPEMD320 d77936d9d98bfe35d9e220f4b6f7f7790876b12c9234da1c7e00ff1eb3efb2191167c95cb7bd7360
WHIRLPOOL 75e5f4da0413d9d24a3b376bbf97b1f6c75b3a52c4b5d91baae63e1886872b4d936a378be24cce4bce14450de248e16e12b815ae82ac865c8b01cd0569e5e3cd
TIGER128,3 ae53bd3fe28b852947fef94426957ad7
TIGER160,3 ae53bd3fe28b852947fef94426957ad762a72bb1
TIGER192,3 ae53bd3fe28b852947fef94426957ad762a72bb1a42d43a7
TIGER128,4 5a8b3a516bde6a16aac1f2d8facaf837
TIGER160,4 5a8b3a516bde6a16aac1f2d8facaf837e6ac7615
TIGER192,4 5a8b3a516bde6a16aac1f2d8facaf837e6ac76157ea731e5
SNEFRU d5d4d787ea9f467133cb9f9f14fed3e6e4c673d2cfde18fe7a71cd63aefebdd5
SNEFRU256 d5d4d787ea9f467133cb9f9f14fed3e6e4c673d2cfde18fe7a71cd63aefebdd5
GOST c7a4b95b7783e6cf2059f57ce750c540d842aa20aaadd34e87c60276c77568fd
GOST-CRYPTO 9f08ab1aaf3d058e7395ba83b05f4ffd52318d02985486d866f306cfeabc5871
ADLER32 2c56048d
CRC32 cae68916
CRC32B 9a35ed10
FNV132 5cb9113d
FNV1A32 fe06b571
FNV164 aa45511c6d5293dd
FNV1A64 aaa39d91c3521e11
JOAAT 7c4e3d1b
HAVAL128,3 009e6dbe7bc2fd6fbeebc389a0971b89
HAVAL160,3 12d1293273a6f58c238107e4b6ef55feb5cd02b0
HAVAL192,3 9f20697ff33b405b790cc6e55841542e1d6f6264dfc1c8a8
HAVAL224,3 ad1a19287a4939ceb666bebd54f19cf62e4ed2d2a2c8e96a29b0fe4b
HAVAL256,3 0d5643819a43c90f7041cb0a3a0142f5d84f4fcf5594dfbae91c297cfa54b28b
HAVAL128,4 1463c36f38af2adb40b7d5576ea3633b
HAVAL160,4 55ba491682819e05cd87857786ad75e1c2e12361
HAVAL192,4 b087e58545274475ae12a37a13558817e0b53f695a0daab3
HAVAL224,4 557802985671553385cac8a4395986a6879eb84959357ca125cfacbc
HAVAL256,4 67690a090b65a1fe4ed5763906022ec379cd83a806ffcf4607802099d4585de5
HAVAL128,5 b0a1af79b18ac0cd3fec0a6985c75ccd
HAVAL160,5 140238285c360e1c329165f2f7ff348ae7e6dd71
HAVAL192,5 f33f764cd3e319a31e9a57820e74df51b51fbcfa3428a9ca
HAVAL224,5 0fbed6a626f11030b752a2e871afa2525bca88cd2006f3e646ccacdb
HAVAL256,5 d51a8dfdcdf3c75c42157e70f398f36507516d2c7a1a560fd04a88afec23ee05

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