SHA256 hash for "['KBH']"

SHA256 encoded string

7a5f2726ba143c0e5a4b9a13a65c6b34af66f3f42b5d3f0f5dac27ee9b2262f8

Your last 10 encodings

AlgorithmStringHash
sha256['KBH']7a5f2726ba143c0e5a4b9a13a65c6b34af66f3f42b5d3f0f5dac27ee9b2262f8

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

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

MD2 a69d70c3918bb8f3c9104ca33b58e0b9
MD4 6fdef823fa20526c671c278b2a51be64
MD5 41691dc8e997423d8cebd2920118eaa2
SHA1 87a7b0f6522e9825eea19699f63e02f470a437c6
SHA224 da062e61c36656c82feac92776f5004096e344be52fc0df138e63370
SHA256 7a5f2726ba143c0e5a4b9a13a65c6b34af66f3f42b5d3f0f5dac27ee9b2262f8
SHA384 7b120da03f23ba6f2f9c2f6626787e40c38c4fbf3cf706b7a9cf6fd88fa4911b998fa860d1a029fe2dd188c4519451a1
SHA512/224 c41fa27ee8afb044072c1e1ad55cfc4de04ee48c96bb055082211f96
SHA512/256 199d0701288389f55a4a6c5d56d4b02f8074d603c8a27bb5715c9168d18306a4
SHA512 920234e1b5d21c082148dbfcc01d626d32b3c3c73c7a026fa51f3dd4a098aed0317f782cc7de52aad094deb518c0110491025e86ad735b9946396ab0f828ffaa
SHA3-224 c466cdbd509b70fb2708c6af1ce9191151bbe5ff1e8bd83713bb256a
SHA3-256 023475d660d4a8018f9700fbd6a108ec7eebb693cc469c2db89eeca4dc5a832e
SHA3-384 2e598357ec6a7d462f34c30a8d4b0a211c6e068c4b1952cf2d741a6b625b16534315ee3456f74fc2f408cef60a5b1445
SHA3-512 e35a3ff102410562a6e56fd0788d332cb811c795a8ce1d6aa61ef51a93fc421ebc4c0e33d7c9f642496dd9391095afaa4af6fcc728c78d3b3b1f35f17ffb4fa4
RIPEMD128 0b3a3375d982cba3d7e68a44693b30ac
RIPEMD160 e9b3b5b7c43a479c3d82e03a2506831a074c1653
RIPEMD256 c0b1e00a888fa7f2c7fd9b26f45ab3f73f18d22873d9f9d4b5d6e6ef0a1e1074
RIPEMD320 064f3ae321d1a8ef9c1e0fa0b54bf017feeca2110c67450775cc21a1f63297c3fe463847ad7641f0
WHIRLPOOL eb0a1550ee6bfae212549f5651394ca0be7ddf13dec07de8dd9ede9d6cff8fe8187f1eb4b7d6eae1987297613435c5c8b75bfccd392099cb7f1223c7ac4c8428
TIGER128,3 4fdba625df54a305264bd3057538ea16
TIGER160,3 4fdba625df54a305264bd3057538ea161dd2240a
TIGER192,3 4fdba625df54a305264bd3057538ea161dd2240aeb69a2d9
TIGER128,4 f43ad8fb1b3819d1dd7e0b1b4a214076
TIGER160,4 f43ad8fb1b3819d1dd7e0b1b4a21407679dee4d9
TIGER192,4 f43ad8fb1b3819d1dd7e0b1b4a21407679dee4d991f51d58
SNEFRU 3bbd41a440a3693c5da015447eff1986bb8eb3cb41e51af9e269b5e7106aa7f9
SNEFRU256 3bbd41a440a3693c5da015447eff1986bb8eb3cb41e51af9e269b5e7106aa7f9
GOST c669eb8e1b0ad7b8001f1e47fb945a0702fe0aac4a768facbbe0993e75e09b48
GOST-CRYPTO 3d45a8ba6bb9d5d06b6cfc43998f8d6cd8b9fff70f43cdc7c363759cfc7725f1
ADLER32 077001dc
CRC32 cb64be50
CRC32B 09bfed07
FNV132 35090a44
FNV1A32 6c10a0e2
FNV164 52686155f9a7ac44
FNV1A64 fed479ba9f0adc02
JOAAT f2a90724
HAVAL128,3 850b2122608273e392720db263cd5eb7
HAVAL160,3 6142410950bc174342dd4a3f80c5ac327f6836a0
HAVAL192,3 8b3d95d6068bbded58917506a8961993b243cb4f75b43964
HAVAL224,3 d83364aacd47980578c006edebb7908da2a32680e5087e99889a0608
HAVAL256,3 fe078c017af1a16cb3aec5dcf274167d7f86493ea900de95598c9a404aae4675
HAVAL128,4 a4727f82bd531cc388ccaf1b8752aaf3
HAVAL160,4 b1334edd332864c8f9464a7c18a3d6ee63d67918
HAVAL192,4 740f016d0d08ee13749163f8bda186a1a6e2847cc4df8da8
HAVAL224,4 3e66e2820f8d2f36f56f61597c29124c517822c5d040208404c58a96
HAVAL256,4 474f549cb50b1e17791923abdedd75392dc10cfbab45c9a0725bd1156cc7059e
HAVAL128,5 efeeda3d84de39050f0d515570d0d557
HAVAL160,5 551cf2ffe331d7755e60a126918e254063ec4106
HAVAL192,5 6341d6340eba6ccfab591976e458c30958e8eeaaa5e8df13
HAVAL224,5 69d8a383acc219a40f137f0a595eb497e374598b4bd1e2ac0f3de896
HAVAL256,5 a784dbe98e26b1c0722e7409deb95d8766fb4996ed71ed4c92a40e658fda855b

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