SHA256 hash

SHA256 encoded string

e17ef013dad47f5fc0770945e394ba95a941148b6d5db607a37e93148dc80cb9

Your last 10 encodings

AlgorithmStringHash
sha256['CCK' 'PNR' 'MAN' 'GPK']e17ef013dad47f5fc0770945e394ba95a941148b6d5db607a37e93148dc80cb9

String "['CCK' 'PNR' 'MAN' 'GPK']" encoded to other algorithms

Here you can view hashes for "['CCK' 'PNR' 'MAN' 'GPK']" string encoded with other popular algorithms

MD2 529280ec433177adc57f97835923f3ed
MD4 8df0cbcd2a9e6c626b8d444e5751a2cd
MD5 8c8ee9232bf72ea01a83b638c8940ca7
SHA1 8d012e7424717145b8547e3750ddd3dfac8c5e09
SHA224 be488b1dcc06a21ebfd01ec6598c7d95f44ef77621944fa5c64aaa0c
SHA256 e17ef013dad47f5fc0770945e394ba95a941148b6d5db607a37e93148dc80cb9
SHA384 70772a1bb03fa3b366dd873a4955234dc90b3453fbe7f18b5b06bb4907d6fa869f7a8fd1ade2f12d5fb26a5cc9b6d3e2
SHA512/224 92f3be1543f4d2de77b845b7dfdc87c20e58ee6e5da74998c8b8e1cd
SHA512/256 96d381f96a96fe9d49d5d21ea67c47cc633de10d99e4e4aa5823165e6fb66cc2
SHA512 ac5e854fcf6b999e67ad03986344a1fcaf07fd352f0027d48cf95fdd66f1ee4b960ef42984c8e2c0f54b0c3b2388f7e9564c1f2707e73629689fb4613b1be379
SHA3-224 9ea8e2a7214b57f5e1c87e08e9d835322cad2e1e8b06313720f995be
SHA3-256 8ad4307db11d1d83d454ab7426cbeea5cfcf6097f7c6fbdd9bb162cedbac3767
SHA3-384 7bb9d79612f8464fe7056f5feba584607151a907f10e8b6da308edef1fd2d15dfee7ce830b83929c5906417762f5ffa3
SHA3-512 5a025f0df88806ef8280907154b4a5e81971c7009c3fb6660b29043f3e38700d199a6b8f704d3e49c1802ebd55d7d34273d91972d246156dd008b8e6555569c2
RIPEMD128 59e6b1549d87f82d3199ff2b0a2d0e40
RIPEMD160 ad75b9613c865c3c62bd62ccc05ae49eb60bb1fc
RIPEMD256 c715c0dede3a2ec7e813ea87e34bf322f884f9b69e08518cdddcc7c4f7b69cc0
RIPEMD320 b5d6df3f838387114d116188f9dca974d79d75b98a2e9b18af331e44991dbac6bfad68b7e945d6da
WHIRLPOOL f99b1d2b68a7c861eaf3310143f55b06fca4542396876e224503c290215874ac720122ea9932d93425e40803c0a83b3fed21cd6374c1ca824356dbc0e89a93cf
TIGER128,3 bbbdb26249dc72077f18fec59ea61c7e
TIGER160,3 bbbdb26249dc72077f18fec59ea61c7e0a910c3f
TIGER192,3 bbbdb26249dc72077f18fec59ea61c7e0a910c3fadaea3ac
TIGER128,4 505f3875a99c6c4214c649a36069e65e
TIGER160,4 505f3875a99c6c4214c649a36069e65e1a64b1a1
TIGER192,4 505f3875a99c6c4214c649a36069e65e1a64b1a1ffb0cb61
SNEFRU 91db94350467284b26a3e5b926a4724e9899fda507a63ea97978ee703dd6de45
SNEFRU256 91db94350467284b26a3e5b926a4724e9899fda507a63ea97978ee703dd6de45
GOST e43486dbe8a6440f1463d77d8fc72ec9929b6b0dd1485428acfaed5dca5e89dc
GOST-CRYPTO 3bc28e73074270d4595c4e35004422bd3921a3b3abae3ac0398bae70e8a00bad
ADLER32 4b1805d0
CRC32 5b0273c2
CRC32B 4c4af76e
CRC32C df643dcb
FNV132 f02a5344
FNV1A32 2bdc2a1a
FNV164 8139e516d69a06c4
FNV1A64 1d706f316053597a
JOAAT ee10e365
MURMUR3A 047c8a54
MURMUR3C 8e89333acba7589ce0d8a42c75a6d923
MURMUR3F 596a439c57cc7b2c124c020ef98cbaec
XXH32 c7c1cd1c
XXH64 bcfe19511c2841ec
XXH3 956d364e617bc470
XXH128 26eea15a6826dc1ba0d03adf3438f86d
HAVAL128,3 149fc0f5f488fc3dd5ca85866d04a97a
HAVAL160,3 ea970c65207224f8331ad8e96e8329e30735e0e6
HAVAL192,3 3ae130cc37d152d25bfc157c2aa2dd635b0948c4a4db483e
HAVAL224,3 b85a8042d462424d056b52fad18c3cf9adee06c7c8df6c2f41be03d3
HAVAL256,3 edb2ed3dd4814c05c16d6dbe5acd8afb54dc3aa529ffe57e30dd17082f46440a
HAVAL128,4 53f2a2634512031734874d1e0540434a
HAVAL160,4 7a392d07396d05ad6542d644be3db72831cdf9f6
HAVAL192,4 6452bf092d6d4ed470c01a4afe9e196c9c7f1f1307cc5397
HAVAL224,4 0a3737b9d35bb4a3111196c03e6a76846f0336c2b48c23adb885aba7
HAVAL256,4 1e3bf04d63361e967b83c50ac22068944cdbbc11aa2f6b736cbc39ac31cd78cc
HAVAL128,5 c6cb15791ca853dd800b942d390c3bc3
HAVAL160,5 d3524eb85e30cb39ba7f9f5d3524e393fba2a1ba
HAVAL192,5 a54913a49b1f639a10284d18e971414c492498b63407103f
HAVAL224,5 c06c1c1a048ae1e0f3459d6cb829cfe2c7131b6c1aefc74acdf54148
HAVAL256,5 e411b15f78964005beda7391ecc9e1da574d46921cbe34602b4c299260085eb3

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