SHA256 hash

SHA256 encoded string

84bf1c7780a0bb35764b1d3be39089210ffbeee12bc5ee117deff4d02eee192e

Your last 10 encodings

AlgorithmStringHash
sha256['XM' 'PFBC' 'CMA' 'BOKF']84bf1c7780a0bb35764b1d3be39089210ffbeee12bc5ee117deff4d02eee192e

String "['XM' 'PFBC' 'CMA' 'BOKF']" encoded to other algorithms

Here you can view hashes for "['XM' 'PFBC' 'CMA' 'BOKF']" string encoded with other popular algorithms

MD2 db6a13bfcc238a0e0ac4c849124001bb
MD4 72eff63bc183d7675f7bd97f771715fe
MD5 55678b0aaedb55571061dc2e89402e88
SHA1 60bfcff658b66526a31b3b019370c53dd5aee121
SHA224 29a669ce5b31e592bbe3c8a916801f67c49942dd1994efefaabef1fd
SHA256 84bf1c7780a0bb35764b1d3be39089210ffbeee12bc5ee117deff4d02eee192e
SHA384 12cbcf3ec15b6f68c52ed783aebe6c564ab774dc15eb85973a997998982ec7dc5025d04c3ddf84060427fe1aa3945b22
SHA512/224 9b3d60d1bac152c4c9b50b422b069f68a2b60d12ad75fa8da2a5c777
SHA512/256 fca84d9ec29db6aa9a9f9b4115555a663a4d393ddbee6f2cf809f0fa9306472c
SHA512 cb676c2aad18317541b4a0c21ef6f653e200ac9c23e1786ee1137b127cc97df530126fc5093a836bceffa7826e5a00ba0b86696e4bbd343945ee98950b851d6d
SHA3-224 759873da472b1801f4112e14bba43c50c23eca98e8dbd2af18fbad13
SHA3-256 1252a95ca75c946c63cab4b1abb57371b4e14d8fbe0735f0d89bc7a1ddcc4b21
SHA3-384 df440dc2c47ce2b9ba793bc79a46dbb91ee605bbc78c0e3c0575155157f6f6562a1e7c7ad857da6c68e2987583d4b893
SHA3-512 abfbd8d073312cdb90fa86d9b5e8773726dc20223729ba1a4a00dc2ee5070675b586625b6f49d8ffb19ed7a31107710480a0b1113cf9a02a11ac67a29a0820c9
RIPEMD128 260e91f064543ae9a7ccc835c97a65d4
RIPEMD160 58646ee70ea8a652efa6c1b29c0738e8a05a3a76
RIPEMD256 c10d0134914d280920a5b44384eb50efaf7deac03113430f95c2c2dd57f89f1e
RIPEMD320 6f6ed26037090b3a2cb8a3431757d571502dc88e514c876953213b9db5ec27584d133d45756de362
WHIRLPOOL 0f08b8df6067d13b2f7b626ecc5bc5733f9304ed7c0a117e36e3e4d72b286a2e038cb753c9dffa94b31610b91bcb1b541bbfff8783061edc68408fd4c62c886f
TIGER128,3 5ab303e9c3e248b1b9f7f2685a60718f
TIGER160,3 5ab303e9c3e248b1b9f7f2685a60718f7bc48a3d
TIGER192,3 5ab303e9c3e248b1b9f7f2685a60718f7bc48a3d0c6ff571
TIGER128,4 7b7d656199970235a34bed58eb371311
TIGER160,4 7b7d656199970235a34bed58eb37131197e68b32
TIGER192,4 7b7d656199970235a34bed58eb37131197e68b329da8d1ac
SNEFRU d2d37d44060294c7d5f04902408210bc21b11dfaadea7df9f67a8bccdb5a5279
SNEFRU256 d2d37d44060294c7d5f04902408210bc21b11dfaadea7df9f67a8bccdb5a5279
GOST 4b5b81981d3b86971b979d6f813c83db1d3617752338686959d04ad3786e3dca
GOST-CRYPTO 991183372057457b0cd841f72cd0a8184b8765b3a5656832ae65db5c01b84eff
ADLER32 50f70604
CRC32 f5c3b2d1
CRC32B a9e58d35
FNV132 e4227b42
FNV1A32 0cfa50c0
FNV164 83e9699a52aa0562
FNV1A64 67a0bee404bfc3c0
JOAAT ae4fdf53
HAVAL128,3 41ff0c708b5608e7cf5f3f717b5794f2
HAVAL160,3 67a24f3425b69b63ca409d2b2a47fd66fec92825
HAVAL192,3 4a0bff1e4b695eadc494a04499a4436c053d6684e972ad48
HAVAL224,3 aad9251636a0901fdf12a53ddc2792cb6a249323124adbd3e25abe1b
HAVAL256,3 c727e34d015b9d61ab7ee91b719eccce208068b6a2e33c58a2b86ab56a536645
HAVAL128,4 eef6df6eb6b1ffd03890db8f06a922ef
HAVAL160,4 88944e507b2cbd06f286614231369e7e66fcfc4c
HAVAL192,4 7128d4a819a46b33040bba16b53564a19d552b670c201c58
HAVAL224,4 21d633e2d920ce61c6760bcd0b34ced9a93502ac1249d4337359be3f
HAVAL256,4 25676a433147c40cccebf8d44969868a558da28a2a0caa827f997d3735a2152d
HAVAL128,5 d9627f9774b93f2a7fb1be8d55fa5714
HAVAL160,5 e929edecd6699fc00a5d215378832a5edfd1344d
HAVAL192,5 9848a47ca46ff3d979808178ef8590c65595b9a8dd3cd636
HAVAL224,5 c96080cae8d39c102e6085ec6e45c8168854cca030b6edf2ee521136
HAVAL256,5 b45fb38a46c7885b29ceaef883b0edeb8cbcce662d752fff09a583edb254777d

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