SHA256 hash

SHA256 encoded string

d6a01203aba7645b9c6b79fb1f2bf12a3ab455dab88420f14f459040554f89c3

Your last 10 encodings

AlgorithmStringHash
sha256['CP' 'CASH' 'UVE' 'EME' 'COOP' 'PATK' 'CRS' 'CBZ' 'CNOB' 'CNSL']d6a01203aba7645b9c6b79fb1f2bf12a3ab455dab88420f14f459040554f89c3

String encoded to other algorithms

Here you can view hashes for "['CP' 'CASH' 'UVE' 'EME' 'COOP' 'PATK' 'CRS' 'CBZ' 'CNOB' 'CNSL']" string encoded with other popular algorithms

MD2 f6a50c5e27c7bd3b5ad04f76dd2ffe16
MD4 c9b7482474ed58ac245582a8a298ac67
MD5 585a3cbb57e7a8879ac7be191c5eea76
SHA1 d3b4317bebaa719b82639c4c82139bc396abaafd
SHA224 3c188cdf8e75e8beecfa26a2273eb22e0f7b02806b878692890176f2
SHA256 d6a01203aba7645b9c6b79fb1f2bf12a3ab455dab88420f14f459040554f89c3
SHA384 15f1e1378bfc657992066c779365674c41ad711ff22a82f72063303606715db59a2d204b9c2da659298f16004ea592f4
SHA512/224 2721ef37daeeee909d696f77867c52403a149e4fb5a7865462300f2c
SHA512/256 7dbe645841ac0a5eacc21d680e5d1176617aa857bde7f6d44fe1a2c3aade0e48
SHA512 d8204da566c9067912dd3b94f224ff2f278418b64affb94ed784471568eaabeafcf11024e4f3c1c618ca111efd3658c843db7d173d67b988a897c0cd04fefe92
SHA3-224 a616fb3f08411affe147554c61d4c7d1d3edb79b97e6c808b473228e
SHA3-256 7d0901c03ae494bc8ec0f4791d587162c5e16d9538408dc76e439c8763212b92
SHA3-384 56a24f773590239c741ef4939d9c8fc4fa6df1cf17b344c515151491a21bad1dfb700750863c9b531deef025d2ee84c9
SHA3-512 ccc8dba8a7ba13b3030632941b40a9bb1c92f3e26ee7f2d8cebd2f61b7579734afe4ba1fdafd9182500c34f510c7a9081bfff129df25a2c80f8ef8f9b622e63e
RIPEMD128 c80b0667a9e059e019cf7ec56f9c434b
RIPEMD160 61fba2921378206c2f65d1d2043ae1aa1fc82483
RIPEMD256 9dd31f278113a1c0024e7810abad7e2515dbb20fc82406f6cc5dd9139ca6094c
RIPEMD320 6125e6046ec14008f3e2ca974bdead4cd16c10b00702fcca8a7f41e572f25b1798038653052c49ef
WHIRLPOOL 1b66c55f8bc55dfbd624db3307e2080367ed4f22b43533bb330b79b762a0b4155efac05aa8ddd1029f6f06494147ddf4212330726923b7ba9138bdda66bb59aa
TIGER128,3 918055124cd74affc8b86d14f8209c05
TIGER160,3 918055124cd74affc8b86d14f8209c053906f7c4
TIGER192,3 918055124cd74affc8b86d14f8209c053906f7c480759943
TIGER128,4 ffeacee78ffc74fe2626c518d2e25aed
TIGER160,4 ffeacee78ffc74fe2626c518d2e25aed10878244
TIGER192,4 ffeacee78ffc74fe2626c518d2e25aed1087824403d1b765
SNEFRU d5fd0deced9e384527c09b8d6f657c893e51df65ee0fb2bf118316db9fccb323
SNEFRU256 d5fd0deced9e384527c09b8d6f657c893e51df65ee0fb2bf118316db9fccb323
GOST b8b7f5f3c08a297061e0be59aa3f921444ff8ba684756895b6cc89379c5c6369
GOST-CRYPTO f7f2bfde4969f417d81b0918a107180ec8675cd8b5770a279b38352f82bf5021
ADLER32 e4c10ed8
CRC32 721f65c8
CRC32B 506b1de2
CRC32C 247d175e
FNV132 d81ac89e
FNV1A32 7f71e7ec
FNV164 5b7c23a3506ebdde
FNV1A64 10185642f8d8c14c
JOAAT 81e2f33f
MURMUR3A ce6b8090
MURMUR3C 99629e74edf1a0195b5112f09c47b64b
MURMUR3F 74e609d6154437e424e68bfd8978ddd5
XXH32 397c49a7
XXH64 16edd09978bf6789
XXH3 51ad449c7c515ecd
XXH128 1c920cca164bf3a5e14a13aa0d81f78c
HAVAL128,3 ceef90ea20d5eeea33bac6fbca2d24b5
HAVAL160,3 da5acb87b7e8304300b1c8807d7d0885ad4b916e
HAVAL192,3 3202ada94c7fc70b1950024f372601eb2916c379c0e03509
HAVAL224,3 bb536046cb55993a9b5f8ddba302a570c3d0a5d974921acdfaf0f3b5
HAVAL256,3 fb0e0c93fd4275abe81244326ab7329a6c621a0c0e6a59005063aad495fd0d96
HAVAL128,4 73bdf94f58985171d61133083f7e40f5
HAVAL160,4 9ed352981b62ddd23356b20515d095d4cb73bfa1
HAVAL192,4 0431dbf87a15ede51ffd5d4ece5e8148e5a39de169968812
HAVAL224,4 d09ad1ade6c93aad084b108ee117b8bd583cea394a09e4048310e7e3
HAVAL256,4 f9cbd497b068d4f19dd604ca0fd895b8723d7332216153ccc7b5fbc5b1f84220
HAVAL128,5 e642729bff45a2772a67c7a9d90cc2ca
HAVAL160,5 f67f4e442b9d2bae389c63f2db4e30211d8973b6
HAVAL192,5 7b926abc5e6a9a1b772faa415cdf67ff09699e91b9546c4c
HAVAL224,5 a6f6283aa41269b903143a408b469990bdcff7e8a02cec4dae3b726b
HAVAL256,5 83a35f650d3f982da2bbe87f8200933ca14b25f2ce6157fd8553c0bdc5b9af6c

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