SHA256 hash

SHA256 encoded string

31e71aa775afed6112a626d2f9a250b10c75b3f25f0e6c920ef0874f3ca7f467

Your last 10 encodings

AlgorithmStringHash
sha256%5B%27BKEP%27 %27FLNT%27%5D31e71aa775afed6112a626d2f9a250b10c75b3f25f0e6c920ef0874f3ca7f467

String "%5B%27BKEP%27 %27FLNT%27%5D" encoded to other algorithms

Here you can view hashes for "%5B%27BKEP%27 %27FLNT%27%5D" string encoded with other popular algorithms

MD2 beff636e0fd4906460dbf2181551bda1
MD4 52a7287a79691c33a124bee88f80a217
MD5 31c9b33560477c9afacf4d1124d72824
SHA1 b2db6095785d5ff9ef1d5552c67b7ccd8f0ceffa
SHA224 a81c11a17132037035754a325414ab183da851b104eaccc8b40e5175
SHA256 31e71aa775afed6112a626d2f9a250b10c75b3f25f0e6c920ef0874f3ca7f467
SHA384 83a395bc9cd1975523ae9196c4a9680a55378e25144bba285f1bf0f129dce1fcd2a68fa59a3d770f951bf56323c4d522
SHA512/224 d3737b952a7b04f46e7919552c78187dc48d0e2c7569d061eebef99d
SHA512/256 1503ee581d8137d11ef6e3b31648b3658a8d085da7b73b9a5d393e3226fc7106
SHA512 18d9a65121b3c7e940042043c2890f0fe7465616998f5bb56d70bd96be0f5a751aa30f383e463448f3bff37678ee97e3ae5ad5328b11c50bd7ace30bec156cf3
SHA3-224 5fb027bc505b1ae39231a8cdaa01a511e6670c67ed5e6f88f772cae9
SHA3-256 b58610ae229aa4630d0256e14bb77fdcbaff5a9f9b8969df58570915da65ba36
SHA3-384 db7b9e891097b7c1d0f6847349e84213e2268a548548733d8a4d706329f8f9f762ec1023a15adcb977a3aa9baf07d1bd
SHA3-512 0aca5273e58a061905837da2ee99b73b6892419cc9fe9d39593ca451b9e27c4fa9a9dacab4fdee9783fb9022479f7a82929061aa083592a1cd00bdc87bda5bda
RIPEMD128 8f841d7fe8767ad077ccdc5a61c61316
RIPEMD160 5306dcf8e22b2560365e76bee2bbc64a3f7921d1
RIPEMD256 d9d0aa40f7b142317567090b91d1ecc65a7b82612a88e4ba64e2db52e07b2642
RIPEMD320 f2f84e3238163e9ea5632ed92c1ffe375ee76dfc6fbdf7f250743e353b54fa8075fa91817fd1dbc0
WHIRLPOOL 64d0ad8c232b086d2c59a5a5c9e241b953888668ebbfe10ca0c454ee8487f5c59426b5f843d499fab94e16f73e026942b034e22d74f8de8ace4710108ba49b4f
TIGER128,3 fb59e481de274c35d6fd3a522c82d30e
TIGER160,3 fb59e481de274c35d6fd3a522c82d30e9a9dec2a
TIGER192,3 fb59e481de274c35d6fd3a522c82d30e9a9dec2a7c2ab994
TIGER128,4 420b08f299af8f59575ca25791d779d4
TIGER160,4 420b08f299af8f59575ca25791d779d4451d0810
TIGER192,4 420b08f299af8f59575ca25791d779d4451d0810fea79297
SNEFRU f6f3c4be02f168fc663b5cc2664c606d0882853c96c7273685a250b20588a7a9
SNEFRU256 f6f3c4be02f168fc663b5cc2664c606d0882853c96c7273685a250b20588a7a9
GOST 1d6e1d5d09994715e42eaef5b44b1bfa8d87daa43728c296ec4ccc98cbc94e37
GOST-CRYPTO 95732ec8822aecfe186fdff7820bc033659226005fb8df7d265812a963bae1e3
ADLER32 51a405e9
CRC32 6ec142a7
CRC32B 0bcd120b
CRC32C 276d3c28
FNV132 31c0db73
FNV1A32 14b0d567
FNV164 3a0628d8a95e39d3
FNV1A64 66e35a57fb9626c7
JOAAT a475fc10
MURMUR3A 95d723d5
MURMUR3C 3b36210f8638c70846ad8b963eac4791
MURMUR3F 17d8b265ca1f4b9c5faeb86b7a395380
XXH32 5e9195b0
XXH64 0850b20dd5728135
XXH3 aace10b82359a7a1
XXH128 95c32a3a34e42c3974e21c5e6ca9960e
HAVAL128,3 e0cc5b41f70cb179b43c4698aaad32a8
HAVAL160,3 2f9ccfed7616e11ccc75028950bf50846a48029e
HAVAL192,3 25d72f0a820cd3cf2397dcc8aca336f6bd79abf9253ad636
HAVAL224,3 6b8c3eda27a1f7a942ae9a58e9c7af0982dcfabe6647ff00e05c258d
HAVAL256,3 58123a0ac133f1f5aba1017158c715b03853d041f745c558340c31b62df45400
HAVAL128,4 6088d74caf6ff5966c1f48b143a010d7
HAVAL160,4 1888f075b9e51b6d19bf1cc136fa949851a0353d
HAVAL192,4 7cad9537a2d6b500fba62431685cfbde5b8eccd7a4d6a914
HAVAL224,4 095786d04b623a7c90c56822165ba2cdfec4540039a1cd2d982f6f87
HAVAL256,4 2b27c8de7cc79d0c66293393d3b92998d1b308b05bb7968e4b0eefc770960686
HAVAL128,5 3fb8b3620c35b0b41dfd18bde6523f26
HAVAL160,5 b3a32d40a935b776137be22c9aec3afe24d44b24
HAVAL192,5 fd8e9f29aed2d73893ecf47de0870ae80189df119a10cd86
HAVAL224,5 bd15eff2fd5ad8a8660017e7950c53c85eb3271e6f879368d2ffece6
HAVAL256,5 80fb0dddb6aea9c7099f44e09163acfaaea071bfdbc2f0c7e95737d5f3614124

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