SHA256 hash

SHA256 encoded string

5587108dc7093730fb674764387d5438cae25211f4f0bb796ebb606ddd0a94fb

Your last 10 encodings

AlgorithmStringHash
sha256['TOL' 'BBAR' 'RY']5587108dc7093730fb674764387d5438cae25211f4f0bb796ebb606ddd0a94fb

String "['TOL' 'BBAR' 'RY']" encoded to other algorithms

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

MD2 cb6ca8eb23a4deeb1a264bc1df373184
MD4 65c43bfd9b88f393158971bf88841489
MD5 a2be206aa1f86d548a8d17b4dc0d5213
SHA1 df6e75c494a6cad9d19752c56ec5f01c35c1ac3f
SHA224 5949cdb115ed0d6621317b6f390fa1bb940c4813260ee7031759b8a3
SHA256 5587108dc7093730fb674764387d5438cae25211f4f0bb796ebb606ddd0a94fb
SHA384 1ed89e334fd0ad476da39f56bba37de9a704bfd82eb7250a183ac1e549930ad046015dff2434a0d154c6eb68321554cc
SHA512/224 f2bc18ccc9d66d50bbca7ccd703c1b129521734b21ad94d798104f2a
SHA512/256 f5ae09449eb00e8c815a43431927dec3863a3ebcc592d449a62001b83d1e1052
SHA512 5b8ec7bf4628bd7796a3392c4d3051c982f8476da0a861c399f85dae3f9b293b741b80a7cb531fe1e3c5138a554df17057013d0c24e78744626f40cfee945185
SHA3-224 ffc42315cf2164ccefc8263e288fe00ebfad45c3252d7eb2e14abbd7
SHA3-256 1a104061006d440d9971153fa2c9af2e37c2a22e504e914fe47c8c0a01dabf6e
SHA3-384 a53a41ddc62eb7bff402e96c32e29e80e4ce3b815fac348f067116ca6cf3ae217249b89f41b7d4083ac95ad428b93dc6
SHA3-512 efd9e4b3dcb6caf0c9871b23723e565becbefd75525b75dcbc3619d62799ce0ee00745768076d089800dc1b28b47ebc3ef079255dcc177330a123cf722660e67
RIPEMD128 9b17fbffc1ce864c2a7b23a4e1c87d4e
RIPEMD160 623262bf9bc4919ae64fee4846e9c4d6b511e3b0
RIPEMD256 6438047c23b5d5670503bdf940a46b101a4e96a09ac2c366c23a014fec608bcb
RIPEMD320 8ac5a58ee503d2d30bb9d8009658340a9a824f14860d6e5f72baa192247e7e97d482811c705e7be4
WHIRLPOOL dd027c545458c8cb5e33d4c06e93f2084e849be09b9ca36f173f6ca9a89be6cc9d89daa6e1d291a30de0fda25a979c17faf0092a84f736d7948e612de0b933ef
TIGER128,3 8c7e59ae12eb632cfef1c71ec399a635
TIGER160,3 8c7e59ae12eb632cfef1c71ec399a6354ff06242
TIGER192,3 8c7e59ae12eb632cfef1c71ec399a6354ff06242fbbc4d98
TIGER128,4 375197134a89d511b98db5b3ac02c601
TIGER160,4 375197134a89d511b98db5b3ac02c601799aeb3a
TIGER192,4 375197134a89d511b98db5b3ac02c601799aeb3a80f93013
SNEFRU ee9f0b21ea2ab694fcf3cdbeeb16ad853715a7940e6d0b7e2fbf2ccbb324bf0a
SNEFRU256 ee9f0b21ea2ab694fcf3cdbeeb16ad853715a7940e6d0b7e2fbf2ccbb324bf0a
GOST fcf8e6115621f8ae829bcf6528e3a9da136d48ebaf55d29164260383eb76b5af
GOST-CRYPTO e5b93d8d983edb03ecc19a3044fa912ee9d6bc78250c59de50d8547eb436844b
ADLER32 2df50494
CRC32 01e36baa
CRC32B 8a862cf6
FNV132 31be6f90
FNV1A32 263e168a
FNV164 2192085380166330
FNV1A64 a8acc1d28a00df8a
JOAAT 9ae96022
HAVAL128,3 a8433ee08813a948b215cb401e72b7d0
HAVAL160,3 8781d48b14c4e3975b4ac1acaf68779c8e63e76a
HAVAL192,3 5d9114202a521698389739fbedfb5277e9fb7f701239aa66
HAVAL224,3 a94d2195999824d4e65b789ba6a06baeb16bf7d01f3509d61b3d1520
HAVAL256,3 ab4c25d8c0dad77944e0887982972c33aaa6100b3e1b270666370bd1b8d25447
HAVAL128,4 18385581049d1bfd5a65371d64ae04f0
HAVAL160,4 ffbf7f62da6e64e959c7a909955896149280a7ef
HAVAL192,4 8bd3992b7425d5139828aef22f1d972f5521533360572766
HAVAL224,4 40a8b459bad3e48656c6a09c328857268b79feb736753200b531c4da
HAVAL256,4 7b520bf6c9a3db78deded5b342fa411d294ab7be1894ec6d2e9820172f744692
HAVAL128,5 b6c25eebb9212f86e83505e9e3ae5114
HAVAL160,5 a1a8df0a574cc3abdd5ef00d5d525109191c7fac
HAVAL192,5 ea4f479893405ddb7f8d2b78efc2f9177c486d0b90098f99
HAVAL224,5 70ced65f65c7470fa5265fab340d810ca277bdad4a0f49bd479c4a27
HAVAL256,5 b8e4d435f6d88e8f158ee454a28152812b2e56ec9dcfa87ceddb5ec04a599b42

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