SHA256 hash for "['BAH']"

SHA256 encoded string

e0ae4da2caed21f046ee210c0d5d5d15cc60f2f6813a066cf6f358e8dd99c33a

Your last 10 encodings

AlgorithmStringHash
sha256['BAH']e0ae4da2caed21f046ee210c0d5d5d15cc60f2f6813a066cf6f358e8dd99c33a

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

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

MD2 b0de27f137bd5489efdce2ca432967d0
MD4 78d37402ba4c178e7589e299e838c971
MD5 c4ce1bbf9df17414c8229cdf009d7e7e
SHA1 acc6e6490b85f2166b09a7455a59904e0c90e866
SHA224 a3589adbf63e2d7f452cf2c4bc445148c1079860083bc04d3ece15d5
SHA256 e0ae4da2caed21f046ee210c0d5d5d15cc60f2f6813a066cf6f358e8dd99c33a
SHA384 dc912a82bfbc1ddd2bb6a0e34eb46ceca2f52dd48524ad12fe01705e36386ceafd238a4ecefce3df102d93fbd4c214ab
SHA512/224 96994d6f717409242ff8c773614d0f253f82b7939e002af6723abc8e
SHA512/256 1205d61b2b86837ff2727b23ac699bf6b0832e20bbf0c7775746416ededa39fb
SHA512 ee3a676d374d408b29b4eb0e6a4cb55058143a6f4c221d79c5673d2d95c0a222f694adc8080c288405b2abc12a9e554d82ebda2842b55d643440e2ebd9d5ced5
SHA3-224 e58e3e382247c718ae8772445facd4359d798309cc25678f1d41c799
SHA3-256 97201b1596200ada6da84052fd75750442e8ecbb2bc01186cf0aee2871ae77cc
SHA3-384 e1b2ced4fd1e0e94711d2f4666458ac411f7258c71c6a0921d5862d9c99ae8b0d5d98b6f194dd857cfd09ce10ddb1e99
SHA3-512 2bc764a66e3655ffc3e9dc687551125691229600334154c9664b2fb860571ed4ec807e98f6a6667213323fd9084c0acd1e509ac26795a6903621649b233dd233
RIPEMD128 ee6cf05fe55b00fbfb449b99f8afd3b3
RIPEMD160 31137c82c8fc8126a8f486719394b6bdf026396f
RIPEMD256 4d8c15f35796cb061dbae277f70733a242d465f358d28e73526ce59744f0eacf
RIPEMD320 e26279d0182e232501f805a0b5f202a8760ac5af85c4ee8baa8652a3c99097a0952489dfc784fed6
WHIRLPOOL 043145f66dc6792d3217af587a6520c7e3030ab71ea2684ae63ecfe4b3ef16812f4f5adfd5b79ba0d3098da7909a02db8733524d95e76cc021f4ab3a8c2dc248
TIGER128,3 53974090f20253ad35cfd611ebc43be3
TIGER160,3 53974090f20253ad35cfd611ebc43be3b7c1a4b0
TIGER192,3 53974090f20253ad35cfd611ebc43be3b7c1a4b03e77c273
TIGER128,4 a5413b3bfda12af7dd748c461a4a8eb1
TIGER160,4 a5413b3bfda12af7dd748c461a4a8eb10cf029dd
TIGER192,4 a5413b3bfda12af7dd748c461a4a8eb10cf029dd4b136dfd
SNEFRU af1f1d291486a6e7fd49a019f33710f59bc16c46811a3884125b74910cc8ba8d
SNEFRU256 af1f1d291486a6e7fd49a019f33710f59bc16c46811a3884125b74910cc8ba8d
GOST 412fd7850039afd7c8668b6191339fe19ae59a1315f65860adc9d3a136abd232
GOST-CRYPTO 557ba8dc583f7036899e0a1b724e92c2364988053f2f3c8e1034a89e1cd2a6b8
ADLER32 073f01d2
CRC32 2eb62d38
CRC32B 161a2098
CRC32C 8d08b768
FNV132 a954d0e8
FNV1A32 986e495a
FNV164 a64350192eea0808
FNV1A64 8f681f7a54039fda
JOAAT e82b43a3
MURMUR3A 1a4bdf83
MURMUR3C 71e7780e112cb5b642ff713d42ff713d
MURMUR3F ae31c24606392afdc6777a08d527c95d
XXH32 3941b06e
XXH64 2ea2261f201b99b4
XXH3 fcf664daf7084e7b
XXH128 98fbce6fe0b8f1067ffd9e37a0f2fada
HAVAL128,3 080e005a9f7a5852bdf07ee2e0537e6d
HAVAL160,3 f0831b1abffbd9538120de1310240d6232ee9756
HAVAL192,3 ec36c071335a7141aacec2f2f1377fc50f21dbc98d142cbf
HAVAL224,3 81530552358ef60c772ee1baa7e62fecd76c7866c611a09f30499242
HAVAL256,3 7236542145065e79dc0f5196ec096f0a1e758d1650739e60798494072a8a3112
HAVAL128,4 6aa3e113d7959fe4867f462f079eba51
HAVAL160,4 03a3b8e96a60f55477885e7aa4ae739f7d60ccb3
HAVAL192,4 a7a469167f949b7f2e68976fa85e0d6205b7db08531033c8
HAVAL224,4 f743246dab05076920170ef8a6170eb62806828c7e7da40c13b7599d
HAVAL256,4 fd1f32ff05918835347a6653bded688c7631abf1ae84903cde533665206f62a0
HAVAL128,5 f5de07fa34498990b04d13e2cfeb7656
HAVAL160,5 50b46b02ee16be405d64cdd6ed54a8e8a8f4e3d3
HAVAL192,5 fd1c491c8e492f3c82a4a1edb49d9557b302ec3098c29e0e
HAVAL224,5 a04584b934ff380107d7f20f7844103b19e54d114ac16cd346047a7b
HAVAL256,5 6ea016e702510663dd32afdc898612cf1c84f078641093cfac5b30f2e17b296e

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