SHA256 hash

SHA256 encoded string

ba4955877d5891b9e7902abc317b0bcc489659acfb76e8a86dfa0d7c2d82d4bf

Your last 10 encodings

AlgorithmStringHash
sha256['CDNS' 'ZION' 'CATY' 'IBTX' 'HTLF' 'NBN' 'PEP' 'UBS' 'CNC']ba4955877d5891b9e7902abc317b0bcc489659acfb76e8a86dfa0d7c2d82d4bf

String encoded to other algorithms

Here you can view hashes for "['CDNS' 'ZION' 'CATY' 'IBTX' 'HTLF' 'NBN' 'PEP' 'UBS' 'CNC']" string encoded with other popular algorithms

MD2 d67f5e130a84c09d89a82a55ca45649f
MD4 c530c48d5ceee22790d9a59c2c2c6c13
MD5 98db5900445dff5150c20ff06c342dde
SHA1 6f9342f7179e85d41d96e95b0acffb074a3f9c79
SHA224 73d96ea293f8fe58e6eec8824e3735cd22a263e812059d332fee30f5
SHA256 ba4955877d5891b9e7902abc317b0bcc489659acfb76e8a86dfa0d7c2d82d4bf
SHA384 446a9b52cda0d5cdb9cc3deb881a229c26a41bdade403d5fc7de5019883abd626f4411ed27f03ca669cc9b03cb12afa5
SHA512/224 9cb689d4da92812682c48b4f5e06e000a3c2c4e862d508d141455218
SHA512/256 e68fc6256b709b42351c14a22f3c4b747043a0be47a05b4b675d3b88dcff678e
SHA512 835d5288e0ab7e5fce0e6f8f99d47886c9b3984bd2d6e6a55b4db5532c011150d90c5954a4eb3fed75d0edcf0306a28ed4b78d3a1da1de13df85293d7c11171e
SHA3-224 9c3df57ac3016762b8acd1de9b39e0bea8ba87260fba1bc1fb100d07
SHA3-256 7a66704ed793a6080528df5602be0b91e1c07f5a25cd762023f8a0a6cfa2cb12
SHA3-384 3bc8f6a52aeb2a2535014d074710b3d0f94b7f44a3d6384198576c798f05a8366a6f4d4c31d3f0be23e434ed37ea306d
SHA3-512 a78d769e8629def69dd4af071a0b0cc5668d2b128867ac528abf297727c2ba42cf7d02597dc58e3972b781fd91ffdb62780bd847f938b97ccc78b52c5dc3ab58
RIPEMD128 5128f8d22d7ce09cfe778874f4b4a1ad
RIPEMD160 16030bedafacc0c6c3427812842966db95656413
RIPEMD256 a3507e69e17efa1767477be42aabe27ada55791cf63b7efde0814342798f9dc2
RIPEMD320 5172e49e765094ab4acc3c0dd59f436a2591f605ea4361a6064ef740176c159500f7f72c9a958946
WHIRLPOOL 1c6d797bd4bd223b7368e2bbc99de1de901d759d96f651c4da22a28af594aabc2df94be95a7ba1937bcd4743d96471bf276fa4693d587f632054dcaa9470c65f
TIGER128,3 9c9373408a2eaa62770d4ed5555617d0
TIGER160,3 9c9373408a2eaa62770d4ed5555617d0268d2012
TIGER192,3 9c9373408a2eaa62770d4ed5555617d0268d2012bfa2303f
TIGER128,4 5ebb9eaac55990dd32df8b0b0dacdf60
TIGER160,4 5ebb9eaac55990dd32df8b0b0dacdf604dafb0ea
TIGER192,4 5ebb9eaac55990dd32df8b0b0dacdf604dafb0ea64a4bb37
SNEFRU f6a728e1423a7024979861779697aaaed79656bb5e198765dea7b3a9d023407f
SNEFRU256 f6a728e1423a7024979861779697aaaed79656bb5e198765dea7b3a9d023407f
GOST 1a95b00bfab93c33e1fda3773388c79ff42d660ddd41d4236db763249ed21cf5
GOST-CRYPTO 9a7ea35f5b45a24220ecbb48f74460782e6493ff22503940facc992d7ce2859e
ADLER32 aff20df6
CRC32 e77f1f36
CRC32B dd5b9157
FNV132 97d36fac
FNV1A32 40ae3062
FNV164 2adc1454d2f5a8cc
FNV1A64 12b141c324ed5ee2
JOAAT 114942e5
HAVAL128,3 8fbc7b7cc984297da61932ca87e5f9a0
HAVAL160,3 ff2b8d9be70ffe3247edd224821fae9911e649db
HAVAL192,3 708730c8b0996ba98be74a4ae8fd9192572f1401247bebd0
HAVAL224,3 2690666bf326d20f306d756372878f5a07a895a8fb7ccee84cad47d9
HAVAL256,3 596f729d78f4f72c38790374c675de9798f0b7cb715ad83f3ea239c4b7fcbc51
HAVAL128,4 8cec5321ab0d96a9b6782f7024960f37
HAVAL160,4 f14d0107451be22fb707ecc9385d74200ff3cddf
HAVAL192,4 1b5395bdac7d05799b4c3572ddc399422d3674106cc0bc44
HAVAL224,4 14223018603c5e580fb3cd0d1af556619ebfe2658c763a1cef4cdcfd
HAVAL256,4 eae052587693ec7502366abfbf8be6cfeced86ac80fed1da52a6be2b1fd25816
HAVAL128,5 94f21d5bcf69ad1a8bf3d66245bafe81
HAVAL160,5 89103e0a59dfbe969d08b77b4ef4bb37255ad279
HAVAL192,5 21c463b302621d411e14a8c5941d50dd78064b061489806a
HAVAL224,5 56cafbfb3e32fa585f8bdce661f646b1498ad3f8328c6d44de4bc560
HAVAL256,5 5ded7f0b2a1c4d46d08b6c2fdfec594a091abda9bd84a99ce4f30945f25b6b58

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