SHA256 hash

SHA256 encoded string

2ea57fac430f5b12953f5f607bc5e169a57deaf062372ee7745e5dd8b9168aeb

Your last 10 encodings

AlgorithmStringHash
sha256['BKNG' 'EBAY' 'NTAP' 'CTRA' 'WES' 'ECPG' 'VRE' 'RY' 'BUD' 'AMT' 'NTES' 'TECK' 'LXP' 'CCOI' 'PRMW' 'TCPC' 'BBDC' 'NAUT']2ea57fac430f5b12953f5f607bc5e169a57deaf062372ee7745e5dd8b9168aeb

String encoded to other algorithms

Here you can view hashes for "['BKNG' 'EBAY' 'NTAP' 'CTRA' 'WES' 'ECPG' 'VRE' 'RY' 'BUD' 'AMT' 'NTES' 'TECK' 'LXP' 'CCOI' 'PRMW' 'TCPC' 'BBDC' 'NAUT']" string encoded with other popular algorithms

MD2 a6e26a7f4fe2b8d9e3b5a4619f62be09
MD4 dcc752449f35fea37689f366d6a98a03
MD5 03c4f81be421f58fd9f318c1344ac781
SHA1 b14ccf2a869c41d5a00849368d2a9bcfafc05a30
SHA224 5e83846917cffb18fe6f4d137788169f87e91f3ceb51da170d60bb32
SHA256 2ea57fac430f5b12953f5f607bc5e169a57deaf062372ee7745e5dd8b9168aeb
SHA384 6167f9d39b74ffe1cfec9cc245d98ec17ecb4547388ad1ec414dd96f554d8445a669088fbcfdee9d822178c7c08632bc
SHA512/224 744c7da31ec6861845f5a69f001d93adb19c3370ade6ad7f9f08dedc
SHA512/256 d364ae02d48415a37d154de2c5369a05fe0cfc20182e81a411ff65e50d0a3427
SHA512 aa58c1fd429546aca1c91a371e60b8cdf52cc5677b69fcc7345afe791cc3b5f215edbb4ed39a32ac1ab281f21244268105f193fdee68677339ccc31e898c6a3a
SHA3-224 7c957bbf3ba8fe03ab52514cf2fc0f5a4f24f2682e0a7c8e4a416bc1
SHA3-256 e3622e6e4f20e0541e0bcdb725b5f3fb7d9d1de2bc9c20b8ac2328299d209a43
SHA3-384 0e8b2b58a3dfb3044cc521b56d211b7c910d0904a7bcf081c67a92bca7aa5cba8658044396adc55e6b6ae11b54561f2c
SHA3-512 2996ece35f3f4bd9761bbbbb9ee3c004fe6d85dde84cd5fd292acd4b6e78dea47eca5e7a6a051f8f2a5ec55781917291837e796f739ed8d0b0ed85111becaa2d
RIPEMD128 4008fd1f568938e18e0b497439ae7a51
RIPEMD160 dd80c8662ee3fd96f74540e46c9c21cdc86ea827
RIPEMD256 cf4ae1876c59761c3415a5dd187aed55b2665202b4031af19872ee4f6545c1c6
RIPEMD320 66b204b51107a3ce0df602965eecf201da2f0a51c1f89bd623781cc5e03f0e55c61c3104c672dd9c
WHIRLPOOL f703926dfa35549ca63c8e5b32696d1bb85c81b07ed81e4dfb7eca2c06dff5a88cc98d23e84ec6d8e92dcff5b56f106f55fd9834c1449a76f0a9dfba8a86f176
TIGER128,3 cd4d6223c91319cbd7caacec33f1a8a7
TIGER160,3 cd4d6223c91319cbd7caacec33f1a8a7cc4ef83e
TIGER192,3 cd4d6223c91319cbd7caacec33f1a8a7cc4ef83e69bcab32
TIGER128,4 2cee879802ed728dc0baf8fd67717d12
TIGER160,4 2cee879802ed728dc0baf8fd67717d12672b2316
TIGER192,4 2cee879802ed728dc0baf8fd67717d12672b2316ffa33d7c
SNEFRU 67144de61cca94495c3133685105e940a481b2e6b6af1f74beb881e97bed0c2d
SNEFRU256 67144de61cca94495c3133685105e940a481b2e6b6af1f74beb881e97bed0c2d
GOST 541d36fcfef5d30c9de9bb29decb5392cee13878706311e008fb60f1f4a1043c
GOST-CRYPTO 9c6ee85955e80ee00c495170bc6edb016ee287654b2d4efa60825594804a8a45
ADLER32 7af91b7e
CRC32 226ae605
CRC32B 6e97f1f2
FNV132 51c72030
FNV1A32 3aef5dc6
FNV164 938a95093b2d7410
FNV1A64 7e8209bef6c59b46
JOAAT 7be134d5
HAVAL128,3 44038d59c8341dfacdbfc3b8d57eebce
HAVAL160,3 c2908d00b435682f78a111b90d9211a06944c8f9
HAVAL192,3 ff0ed13a72b5c80ddc96776573289670f1b95527159bdf2a
HAVAL224,3 baa3190cd736b34c2228cfb5aaaa80ecfbbec0439c666b1f97f2cbb1
HAVAL256,3 07eb4d77638ee74f073f887a3258cd0f5c163b5d899d87f993bba89c38bab100
HAVAL128,4 b406d79a2e819fff9836e457a7a623b2
HAVAL160,4 d15eb1b7bd8ef405fe9a62e7e2d071a1d335c04d
HAVAL192,4 5e44081e9202469d832c1ef5ea1c4b70e1913f09dc242ae4
HAVAL224,4 e8babb253e32c4c6a8c2d2f8093bfd7b5890d38ed9da70dd4efa5568
HAVAL256,4 39370ab3f8ff580f697dc2015bff7962a20c1389e1d4ac83f80984d50d07b7ef
HAVAL128,5 157eea3860cf4fd0a103f6d5e61301d3
HAVAL160,5 8c92e67b6e7ab698b2b0d87c31204a5f03c21b37
HAVAL192,5 97fe03044df8077e62b0ba65328574f99e8f1edb6947fbea
HAVAL224,5 f6f025e7dd02c456fde960b63a0bd8befc533aac57cd4c0be3822b56
HAVAL256,5 76c4dcfb7498f66e3c91dfff58939010b661ec5ba38ba6c94f6d425bf8a212db

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