SHA256 hash

SHA256 encoded string

c4918d38b59ee933dbd0db5d901a97e853c48b79b92d8fd861b355250941c404

Your last 10 encodings

AlgorithmStringHash
sha256['RMED' 'KMDA' 'MMAC']c4918d38b59ee933dbd0db5d901a97e853c48b79b92d8fd861b355250941c404

String "['RMED' 'KMDA' 'MMAC']" encoded to other algorithms

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

MD2 3a9bd42ed2f7e837f5d79722b84f648c
MD4 762b3f259ef73a2cb099c97ba60b1a41
MD5 a215a98c354d58d4a7737a8faa61e76f
SHA1 d8f6e2942d10d1fb26c28cc084c3997fd2162029
SHA224 953e1fbe8ae2c2cdbce9be57908445f6d3a4d44ea0b9f1e970f82e85
SHA256 c4918d38b59ee933dbd0db5d901a97e853c48b79b92d8fd861b355250941c404
SHA384 6ed0241c299ae5af05d722e188294c551be58086db58ecfd83435262300793796bef2d51dfaca2962cf21a5d8139072c
SHA512/224 b47322a6bca73f99ac0a5e13a675ed272b59c1b1174288426970ed16
SHA512/256 c69de67c67d292768ac41d94ad9922eab87f0f53f10c58d2d594928abae8149a
SHA512 d448f295a1440322ff58bfb60d575ae3aa1011b6e28e5ac3319dd6ddc2556e2fbdb1e874ba731f7bc7c07457f64099447c19964cf3c3008c1fae2dfae7416d18
SHA3-224 6053579c81982b030fb1e3e9ec65c79df7a7e7958865c477809093f4
SHA3-256 d076e0d057336f56e9366045a2e940fcf8c9e18001bbfa35f95de10a408e0e6d
SHA3-384 7067d4193e821a4e1722d3b160ee16df99c245da45c8cfde59a75adf41ac2129e368c0c6b6ed37a23c8a399894c1d615
SHA3-512 9769ac760353f6f47a7a42d3c52199dcac2518a59e547bf11ced5f03939bc1420a8578f81139a7a035d2223a42090ff9ef05c30725499e6d6c5821116369cb7b
RIPEMD128 b9a660eac81c7cd091f2a0206b451026
RIPEMD160 e15dbb18ed4d86083eb57642fb55fd6d82754e9e
RIPEMD256 760702a696b9de0d8862335cff9455d64e3b8c5d1cda236510e145b8746f3577
RIPEMD320 ea9dee5baf214adaeaa5e36228d3ecbbf63057be098540d14c3bec77a5f74abe1e92a5d22cd4357b
WHIRLPOOL af593a42162da60f2e330abe314a6cdc35e78e5eed638111e8302ef8f9ddeb4a42347fa0de3c38a3c4538fe4956b0f36713c3a84668b74efacc49212a06ac3ed
TIGER128,3 4543a2ef9db43471b47a02c3d872653c
TIGER160,3 4543a2ef9db43471b47a02c3d872653ce44afbe3
TIGER192,3 4543a2ef9db43471b47a02c3d872653ce44afbe301893d63
TIGER128,4 e4f80613aaa1d4f35b15b3af2315716b
TIGER160,4 e4f80613aaa1d4f35b15b3af2315716b7f92364d
TIGER192,4 e4f80613aaa1d4f35b15b3af2315716b7f92364dc4af5773
SNEFRU d980a7ecb530c0a78b3069d5695e4fc118a7a41e8b3bf6c8f004baabe379fc79
SNEFRU256 d980a7ecb530c0a78b3069d5695e4fc118a7a41e8b3bf6c8f004baabe379fc79
GOST 8d87841aac9aa24137045d4da773e9c0e74598b9fe6ee9c036eba541ecc20695
GOST-CRYPTO 9360c2f6f04fcb1eb2022596b1499c3f12b45f936dc15014687bfda11a58048b
ADLER32 3d220546
CRC32 121bf232
CRC32B 1197cf50
FNV132 c798c406
FNV1A32 1b280e10
FNV164 9450234543410c06
FNV1A64 9541c06140f256f0
JOAAT c8c2d14a
HAVAL128,3 6086275ff2df3c208601bf7e307baa65
HAVAL160,3 be72fac73c106a5a12e0d74af3aba56bcc97a844
HAVAL192,3 6161748683764aa4c2d4dcc05df41701a7cae0348ade4084
HAVAL224,3 2ac9d621480e53bf51d929f2b3e91b107744b71f5d1772933a475570
HAVAL256,3 95b2f3cf72a761d8000edd797d3ac9d5c56ca395835fd16cced51645f37f5eb3
HAVAL128,4 99048dff35d3dafe50e59f1ca5606b6b
HAVAL160,4 eae78205f3d7bd8733ec02c28c1fab55d56f83ab
HAVAL192,4 aa6c26d3794ce67b64e14a834d751267d4a214cf38f78852
HAVAL224,4 85abcd7219eec166ccc4ae8f4f1e56ab65041a56dda538448409a292
HAVAL256,4 47ab83273e6aa58e1e465dfb7edc05d1aa96dfc3e159563121c32f21b39a3690
HAVAL128,5 7d4955684129cbf1aa27dbcee9e6e04b
HAVAL160,5 95b2dfc9c50066c949a1bba294e91eb98d1da045
HAVAL192,5 e055638441de023ebb03bf06f5d0250770ae7c73b8121208
HAVAL224,5 52097fb9d54d6636cfdf3b0710f9ba9a263545ffb67111f8c576d604
HAVAL256,5 91e3e16458d55ce802fef3b1b64e3832122fdc1855845535ef7162bb26b93ede

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