SHA256 hash

SHA256 encoded string

b7c2133836803dc77862db211bee987303716c6e7c973887d0162acebfadc538

Your last 10 encodings

AlgorithmStringHash
sha256%5B%27RL%27 %27PAX%27%5Db7c2133836803dc77862db211bee987303716c6e7c973887d0162acebfadc538

String "%5B%27RL%27 %27PAX%27%5D" encoded to other algorithms

Here you can view hashes for "%5B%27RL%27 %27PAX%27%5D" string encoded with other popular algorithms

MD2 79e129c5cd65327c64766e1255eaf4ff
MD4 5d521828805876c04d639cd1aff313cc
MD5 777aebf53727c4352c3a689268c0bab8
SHA1 a10bce6cfc5064a5d459a1cb0e58870134c744d9
SHA224 71d1a2769875e53b95f3c904ab666c798fbd721cd46c1c0b37347f89
SHA256 b7c2133836803dc77862db211bee987303716c6e7c973887d0162acebfadc538
SHA384 9c3cbceaa7657502c259c54fb11110051db720318d00a8506fd1e5e6324c6d060c083f541961365c5a7c8a678f5cc4f5
SHA512/224 a6067033c942ce3e934b78bb476b342ab8fb2cc06251570d71b753b8
SHA512/256 07ec2912b6aaa09de079020c655660a29b0852b744d3a2b545b3afaf29a79ec8
SHA512 8c92e581c96f9178080d95507e49a08b548d1326e975e9e3faa811e71c8daef7d039570f118b442993027543e73b380a193dc819922346e762e8c1b6d09cb010
SHA3-224 3899d27c50000858ca832c4195e9446943deb3584ad3f1a4eb6129de
SHA3-256 9c5e2edd0a4f5286158818ce11ce712bcd3981a13156beac06fad8844c3cdb9e
SHA3-384 e5e2e3ae2c415e5d852a89ebe74dad9754bf1af5d988565764e13ee6b68bbc0e933bb7ec5875867eddbb5287dc58f3a3
SHA3-512 427d06cbd135732532058a50a946eac831be82b55db66d3c148dc4c57866e82baaac1994826cd0de2bfb1afdbe8f292c4517a24897bad470d76264f60ff1ef94
RIPEMD128 4789ada1a8a2e1895eb7a02793e108bb
RIPEMD160 9fc8419eb2af7f38544231dde85ce3a6c656f995
RIPEMD256 102020ba787bec2d772dfa6c2d452e65876c7cb9ffb134f67098cb21afe4fb28
RIPEMD320 185df06689d54d7bbe247461e410be747544f1c46dcdddce63572ba4ae052ffc5cfb94dac9ff9aea
WHIRLPOOL dcefcaab9cdfb44a55cc2f12bcfcb4e3f1585ae970dd3180f26edd4b04a85dfa4a8c3c4eca78b800e4c9f5db928daade3a690b187af1f3b22bce6317578be525
TIGER128,3 4c5d7c12e9a839b87edaed5bf1a95d03
TIGER160,3 4c5d7c12e9a839b87edaed5bf1a95d03b0f77f83
TIGER192,3 4c5d7c12e9a839b87edaed5bf1a95d03b0f77f83a56672c2
TIGER128,4 fa54e36fc9ec6d8d573fca822bad1581
TIGER160,4 fa54e36fc9ec6d8d573fca822bad1581c8996a40
TIGER192,4 fa54e36fc9ec6d8d573fca822bad1581c8996a4012f01161
SNEFRU fec2ed042b3e3d58bb5557cfc3ea1090f5578a99231e87aa39ff6f2adf01851e
SNEFRU256 fec2ed042b3e3d58bb5557cfc3ea1090f5578a99231e87aa39ff6f2adf01851e
GOST ff092843e4bfbf346dcd12c1624bd465af3a7828b7d939089a52bd5488dc0970
GOST-CRYPTO 93b0d7d71ef9110f4554de8ed6b3992780117ab1673aaa1ebf3b2210e8a2f986
ADLER32 3ece051a
CRC32 c4a15ef9
CRC32B 406dcbe6
FNV132 549a913a
FNV1A32 f657f154
FNV164 1fbec03d3e452dfa
FNV1A64 c776ef7b30c91434
JOAAT 30d78fec
HAVAL128,3 e730e3cb614ac3e9354a938173f00a82
HAVAL160,3 69a28e6fbf7a3daff2035a85b19d5abd3e2ff5bd
HAVAL192,3 7d12434df75bc2846da68ef6a0994ee70d58f2e56b37ac56
HAVAL224,3 c400661dec5d5e2ff7fddd881e1c3d8597b53aad26e40eaacc4e217b
HAVAL256,3 a6851c67b6ebec9c5975cd6b595b7eb52f0ba3fe400faf614834a3a7c429cf4b
HAVAL128,4 c05a4bb628434007387eaf3ca935fc4f
HAVAL160,4 3ee336889b2ef5bc13b916bd9b3676b1611cc1a0
HAVAL192,4 ee2c8d8b92e2e448882d644e285803b252ce23e23235983f
HAVAL224,4 465f5c5e183ea3f48b8af3e40f22a3b19ee3417c842e23c3d23cdafd
HAVAL256,4 6a74c05ea09a36a81f27897a201953391556d0868c5da12864ca03dafe9db05c
HAVAL128,5 1c1ff8219e0dae8c8694d4a9c01bfe10
HAVAL160,5 63d8a6b4086da3da7560addfadac5b3007b1c9b3
HAVAL192,5 4570c16f5a908506f6d7bc2d09c24b8b80c70ab875b9ea7a
HAVAL224,5 74b7ebef0b5cef8a8ae1ff1d0df499853afabf58d4bdc984b16d5f6a
HAVAL256,5 679c1304c68c6618a4bb22df74b3a64fa89f4a683ac1edca27127fcfdc0b2d5d

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