SHA256 hash

SHA256 encoded string

974de65d3a1be5889661b9c0aadddbb767115c4cf7deefcecfe124cb465eed0b

Your last 10 encodings

AlgorithmStringHash
sha256['ATRA' 'SHC' 'CMRX']974de65d3a1be5889661b9c0aadddbb767115c4cf7deefcecfe124cb465eed0b

String "['ATRA' 'SHC' 'CMRX']" encoded to other algorithms

Here you can view hashes for "['ATRA' 'SHC' 'CMRX']" string encoded with other popular algorithms

MD2 96efee0dc576035500c99b842fa0185f
MD4 106f0ddf71fdc278d1ea8abf4c4477bd
MD5 01a5f87f67a0110448daba07e153ddd9
SHA1 f09030a80caa808d1bc8b3f743ed806e90c88646
SHA224 3e99102ab5d31453cb163dfa513fc10ee43cdafdd9531a2a9b2fae99
SHA256 974de65d3a1be5889661b9c0aadddbb767115c4cf7deefcecfe124cb465eed0b
SHA384 c333fcd672cea7a30214ca3174354d9903dede7eef7cf3f871eb3efc4a3164882cf3e218aca39e0b0e4a0f796a5fe515
SHA512/224 8adf3b69b9037775c0c3b8deb1afbc97f1a76652f7433f048020b8af
SHA512/256 8ee48a66bb73f5eaeaef1ef5db417240d77caa5d4dfa320b121fa4ec06d8c902
SHA512 befeed0a0bcf9fc1f5459b5858a06c7d6983e16346aebe26931be0ebea9122184ef81da48c1defc195a866753223a9ec23870d1805aa0c0f7b4fc59b5d7bc351
SHA3-224 8f84c853e15177a62e78ffd99282a85b5dad6779f3f6b9f4f72ff57a
SHA3-256 d0e37ecd7f59f31f316274129ae6d322a913e03f54c58841b74dbcaeeb50b7aa
SHA3-384 0c71c9a8d3ba28d887f62b590d98e66ecd337ab19ab65c45f1561ac1b98f214529605f17298f8b7115c0d6c5fbf45dac
SHA3-512 e9b0c3e98199b741937d46e11f757edf0ccbec99a91291f66915fb6de30e3ae5294a9971248d0474de827a37838d1482c00c5375acd824dc835c7e57b5a16355
RIPEMD128 f6175772dba5f985e6c56e2582214cc9
RIPEMD160 44dcaccb16e8fbc11ad66a9d314e8cbd5f16cf62
RIPEMD256 81229e6d0f6ee654f7bfb65f7da173f27c4183b61c54e7556a144e76b722443b
RIPEMD320 a83d09e7fc4043b6ae5f0de8cd03e5efcb4ba49765312d002939c3d2291c293de066bd4cd8ff4876
WHIRLPOOL 84be5301e7a0bcae787f2591a26443962017b9657f4431d6cccc0fd643f9f0dd25bdeeefa1bce534def248310c6bd40b478ae0b003a13044308e2cd4cd770d2a
TIGER128,3 467f874c6cc01fb3ae3d14cfc9f4902f
TIGER160,3 467f874c6cc01fb3ae3d14cfc9f4902faec71f65
TIGER192,3 467f874c6cc01fb3ae3d14cfc9f4902faec71f6548c6452f
TIGER128,4 88f271814a66212b7e648873a5389385
TIGER160,4 88f271814a66212b7e648873a5389385f28e83fa
TIGER192,4 88f271814a66212b7e648873a5389385f28e83fa0a056c43
SNEFRU 62fc7bad3eca0e47cbdb3a16425c89916679a31b4bdc5d9daef055d173b9452d
SNEFRU256 62fc7bad3eca0e47cbdb3a16425c89916679a31b4bdc5d9daef055d173b9452d
GOST 043f55dcac72c8f34d2ef7867abcd7c4d48923de5829148a056c1bb028816bc5
GOST-CRYPTO 26398a04b051819443bc35efb5336113a129cecffd17048e6edd592e9c1b6295
ADLER32 37f10523
CRC32 a08469bc
CRC32B f2adfaad
FNV132 e0e47f2b
FNV1A32 78be915b
FNV164 78b17501b2cb01eb
FNV1A64 03dd023623c9a51b
JOAAT 43b179c2
HAVAL128,3 759d804b7172d718adde713cf80133e1
HAVAL160,3 33b422a40efc7e96c7e6d8d02011c62b82ea0a4f
HAVAL192,3 92aa8119407a54f34103acd0cb2fb065658b404afadcc336
HAVAL224,3 c26e3bd2b0fbefeaabf403e26a6bcfbe1b6121d4d0e3aaf7ba3ada11
HAVAL256,3 ed0c1b355d0de6838dca7152d92a17b9f5ee2d52c09dde690140cf83443c7f3f
HAVAL128,4 b87ff6ea9354414ecca4142a699dc875
HAVAL160,4 f8477cecfa7c340a71d01940438a583d4e61b0c2
HAVAL192,4 c5765f4170981aa55cea8014d45c1c6c27bd0ad1e027c6ef
HAVAL224,4 67f03e8a187cd5fe682959d8cb423a640d59974fe7973a69717e21ad
HAVAL256,4 6f8f66157e3ec5073517d611e5d203b22a585a9e745060cf71bf83d652b630c1
HAVAL128,5 2c26ca80a62612bf88cc472e35008df7
HAVAL160,5 c4115f90ea3fe08c80a066d29abaa28531fb1d7b
HAVAL192,5 c1e629e85f631c924fc5bf5d03bacbbd90c482b6ea3961b6
HAVAL224,5 ec7e3bd85ccad615a9a98bd8f474761d4dc0e229b1245a69bbd1a471
HAVAL256,5 cbe06586c0f2764d2f2fa10a265a716580e8e84a10a035317f79733abb2ee4b6

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