SHA256 hash for "blahblah"

SHA256 encoded string

40b1bbb5445fc021a312315379f4633284851e14d1db83fb0730f58872d6033b

Your last 10 encodings

AlgorithmStringHash
sha256blahblah40b1bbb5445fc021a312315379f4633284851e14d1db83fb0730f58872d6033b

String "blahblah" encoded to other algorithms

Here you can view hashes for "blahblah" string encoded with other popular algorithms

MD2 b4ec0da98532e2dba1eae80abda3de4f
MD4 9eeabb89921283da6cfe48f66c4adb89
MD5 42d388f8b1db997faaf7dab487f11290
SHA1 d3395867d05cc4c27f013d6e6f48d644e96d8241
SHA224 80be3a955763fea6b7fb570911e9105afa247eb95373ae0bd6201f64
SHA256 40b1bbb5445fc021a312315379f4633284851e14d1db83fb0730f58872d6033b
SHA384 399e12e91e63df074939dd36f8a4d6e1449e861a1e3bb5c0ebaa75a38ae6843901be0e89280f6463e4c72fcf82cd7702
SHA512/224 6e030a302f58893bbbf761c9d7a84d8ff19f1b275e7963b32ab33748
SHA512/256 22c28c2d958ab86b0b4d554d236e15edbbba2e2f2fe71c429c23be307b7b39e6
SHA512 b8dfd29b2dd922fd494fb63a427e519dfaabc4489a4ade985c8eaaaef051a0f5272fd75ddda34211039997f8896b5f3693cd92eb75ea2bf786884aa0e31b9b36
SHA3-224 854685d8a8cc9777c4e0fa72f41f973a83bf0d90cd852ef41efb4376
SHA3-256 c5161c4093601633638c5a7f47550abbae6645076ea45b8cf66525e2b8d8b4ba
SHA3-384 8d9d8d4f7f746711e9312b1be28d9caec69b51537661d221df95764e0dcf7f9882fb514560204149d412cb57fdfb6d0e
SHA3-512 4af77e5dc1cb2c7509b0594576091dea976850449d7517f63dd0d312832235c31cffd25eb00cd099346af7fe450e2ba080f6961ea5f54b695523846d8770f657
RIPEMD128 f0e6800a99920c5ffc682e6139d1409b
RIPEMD160 973cfe90488f600dd54847d24a346764aa96ff41
RIPEMD256 ab56bc84cf239d4b7bd1b5ff46a5951b47406e49f799df3ec2f85c170466c48d
RIPEMD320 d17d619795c6f07f010fe03ce556cc8aad9a31f5ebbc07b19dcf08bba6dd361e17aacd0ddb3c3f1e
WHIRLPOOL 0362718c9fa96ebaf9d67478fed2d4d97ed66a8037bdfd2417760226560f43eea710de8dd4ce005360df6ad2a31f428cca6b90d7458f3a4882cf24fc61d252e2
TIGER128,3 3c024ee7dd5a2e5e226d7f1e78d02f08
TIGER160,3 3c024ee7dd5a2e5e226d7f1e78d02f08fafff490
TIGER192,3 3c024ee7dd5a2e5e226d7f1e78d02f08fafff490a38af395
TIGER128,4 8442a6379ca50bce991607a1abc21947
TIGER160,4 8442a6379ca50bce991607a1abc2194729dd6e73
TIGER192,4 8442a6379ca50bce991607a1abc2194729dd6e73700af5a6
SNEFRU dfdba6dfba857f718f20c64862efa6e624b89de7c16336a3783eb83d73fc050a
SNEFRU256 dfdba6dfba857f718f20c64862efa6e624b89de7c16336a3783eb83d73fc050a
GOST 8eca03b8f00889e72e5f632091b69179bd60031709329fc7cc35af2048328834
GOST-CRYPTO d909dbcafd16dfc3014b291a095093bcd1e764cf4c412d90724de4a3526dad9d
ADLER32 0e50032f
CRC32 867da0cb
CRC32B 3e7d000d
CRC32C 1344571e
FNV132 f3a50b5d
FNV1A32 af1b7675
FNV164 fbdf24329f087ebd
FNV1A64 f939996afdab4dd5
JOAAT 4e510922
MURMUR3A 7757412f
MURMUR3C 73160173b1759b6f65bac21d65bac21d
MURMUR3F 5c147bc34bc1aa4fa3dc2ef320887007
XXH32 5a728e59
XXH64 c358c2e0102fc904
XXH3 d33954fed774f0a2
XXH128 569d5fc6e9d27177c14904b45ecf8f60
HAVAL128,3 2fedaec5f2c21ceee5d952f72f870567
HAVAL160,3 02a62908245e1dc689b08a76ff08f7fb1d07ffa9
HAVAL192,3 93834e3d61e400c5406ad119e29d1c9aa47500361b83fa95
HAVAL224,3 0b337675233f047b075e72069a40d75dbb356274bde87a35934cfdba
HAVAL256,3 414b9bcbc4c773a841eaff9c21de45d90c8236164a2406dbfe1af7d9a8e6dacb
HAVAL128,4 9f35e0d73cfcf159e8dd9089888fe827
HAVAL160,4 6a008f07d978a45507077dac4a634bd4a6d2600c
HAVAL192,4 877f8d6b9c876f1698da134890b9b97c306a18f81d5fd8c1
HAVAL224,4 66dc675f1b741b358d1eed5e9dd77db0c8e79d0bb133f2c470772181
HAVAL256,4 5a149d54a3ddba0fc226d0f999c0ac3d69bfc03707434a1f012e5fe9235b60fc
HAVAL128,5 cfbef64aecd06ad93bbc6d6c9379a11f
HAVAL160,5 1ab3f16bfb94bb9d6c5daca26640046d5974a773
HAVAL192,5 b8ad43c965725332d96329ea285d504feb76ae409a867953
HAVAL224,5 acbd9a578f9417e648fa0e42b991c06ad29398b0b8eb3b3ddf5116f3
HAVAL256,5 a219c428ab87518c0d10f2f966d6d18a8e30902f350246f4dbe5d9ccfe266be0

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