SHA256 hash for "['CM']"

SHA256 encoded string

c42c0023c333dafa8cdcf7eb6d690ddbfb030b0aeaa915e8b33ec1ad06d3cbad

Your last 10 encodings

AlgorithmStringHash
sha256['CM']c42c0023c333dafa8cdcf7eb6d690ddbfb030b0aeaa915e8b33ec1ad06d3cbad

String "['CM']" encoded to other algorithms

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

MD2 f6648a56e8652ce68414b9696629c51f
MD4 ac5f3981d4b2dfa2b770f4abe5ceae69
MD5 5e23cdf9c9eefd4e3f4afbaea5e6430e
SHA1 19c9a87d0179a166a55cb49443ace0e510624bb2
SHA224 564942c0f2d28c38ea127e5eeb0bb47791b7390d0fafdb80be8ad81c
SHA256 c42c0023c333dafa8cdcf7eb6d690ddbfb030b0aeaa915e8b33ec1ad06d3cbad
SHA384 90a987e4639e7453716a9d07ee844b933b2972ffd7553f7284d283609cec81c553bc88206f7c1267fdfdf0e9a1a169f4
SHA512/224 12fad5b2a02100d1b1ac58b847d804f2c0b6b1ca697076841973c256
SHA512/256 34a2be88b7c52a573e35c9432e736a6aecea0fee0cd85a81704b50c583784072
SHA512 8938b9e75f6be57180d18fb95be896e37199d8bce894fb27f4e2d42c28e8658a450b66662be61b1b49736b6b8893db16453c867b882c0ba4fb8cd9c9808ccc2d
SHA3-224 7e631db24a6fe87c7d3464e480881a2f2cc299819c81bd201be28b8a
SHA3-256 9ed282fc8d39a1b18b97fac212d5e73476afa8b3d3830abae22cce71dab6a2b8
SHA3-384 2a83547bc3ff7abb07f73e8dd0e9daa14d936d0634ee215a835ea902d0a0cfec49978f3ea789f94270d2d24f5d7319a0
SHA3-512 28a55d8ff6ba2c2c735542c7b64f12c68f9ccd3db88bac94d734762da9b0e86b206b31a83b37e27fafbdb9769f19812e0185a2531f856e00ffe5b91ec5e21eb7
RIPEMD128 e5488eb821c985e7c008b69c948203ea
RIPEMD160 0df1e8946b3c0bf9fbb150d7df9ad3cadef69110
RIPEMD256 73d50b0aa74cb402ac002df1de9ff41f4a8499a804c1a735a892f57668d800ba
RIPEMD320 1ebae0cc4418335cfccff8939091adc3b1fbf432ead97063ef67caefef1eda8d77f7a97de8d1be31
WHIRLPOOL 06ab1380e983aaa7ea924b5bf00199acd607f171aed2aed5545ca10c6a615def3f3abdd48f3f237640cb0978bee2bf4518d7e20c2a0731a9dc5d729927e9b76d
TIGER128,3 d593b3606edf94e5dcdd7c785274dd10
TIGER160,3 d593b3606edf94e5dcdd7c785274dd1027675989
TIGER192,3 d593b3606edf94e5dcdd7c785274dd1027675989535fa6c4
TIGER128,4 e390e637eb4b3bc24953b41e3e4e1502
TIGER160,4 e390e637eb4b3bc24953b41e3e4e15026bbfb866
TIGER192,4 e390e637eb4b3bc24953b41e3e4e15026bbfb8663ebe8f91
SNEFRU 00844cfcbe7907d0584638bc87c2275e6947aefc72ad5c29e84f3c50bd89825b
SNEFRU256 00844cfcbe7907d0584638bc87c2275e6947aefc72ad5c29e84f3c50bd89825b
GOST df9eb1f3a20ebbe248384f20b2ee88276f4a04e7b40645bc95d696e33fa6e6f8
GOST-CRYPTO 9e4e75a5557179677ef27bd4e830c9b690060e36c12924607634c5f5f0f88231
ADLER32 05890197
CRC32 2bd0f93e
CRC32B 9a96dcef
FNV132 8601af6f
FNV1A32 45138733
FNV164 944a2fe0da93d5ef
FNV1A64 d99aa1791fbbe6b3
JOAAT df000c1a
HAVAL128,3 d6d49cdddfe3fc85c23c3a8f56dd9f73
HAVAL160,3 6800757d6fa6735176a642678c5a4bacee7e1159
HAVAL192,3 431b4fc2090aa97da7bd0f0b98000b40e9c497114c010f33
HAVAL224,3 585800099323eb28f6d1af179ec7ee55f7f28c91b53250589e4510ce
HAVAL256,3 3ec22af55d0071427ca0dab99bf893a0eabafdd9458b153d31a1cb70c8496191
HAVAL128,4 6e9408b829e1aa7bc188f3b693dbd085
HAVAL160,4 aa84e64013d20f5f5fc55bd0ea44279f499e67eb
HAVAL192,4 7341cc3cf2d52f077a654e1cd232fcda0a14853174c51fb5
HAVAL224,4 dcc62cb663573ebffda8fb2625312ff9c2cc6a3c5aa29ccb4bfacc1d
HAVAL256,4 f0bd5b6e6ccfa22847350a15f8d938b8880bd98325dc88a0292d008d7a14145e
HAVAL128,5 eeebd8e0222bb591a268f0715f3b701c
HAVAL160,5 693ddfd7fb59dd5486e0f787db59bd1f6b07d734
HAVAL192,5 e13466b4b6e344e000616afb000224983ea1bc965bec492b
HAVAL224,5 a7c5c51bd956d294bf5c7120498beed1739c313bdb84149926293cb6
HAVAL256,5 84aee8a6af0b5ce2295893dc2a310df67f5a192aff1d27986ca1a188274c511c

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