SHA256 hash

SHA256 encoded string

302b6bed4dc01e06d020182c357a3f7905008a119fd5c7fcdb58372ea29791f2

Your last 10 encodings

AlgorithmStringHash
sha256%5B%27GPRE%27 %27USAC%27%5D302b6bed4dc01e06d020182c357a3f7905008a119fd5c7fcdb58372ea29791f2

String "%5B%27GPRE%27 %27USAC%27%5D" encoded to other algorithms

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

MD2 5777333410c5af1e6ee2efcc825604b0
MD4 888e3080e3f1f6f2493b104ec4d2ece7
MD5 1ed17cc708da128e496a095f58a07da4
SHA1 7e902835425b0748bdaf4e0a4eb82b6fde37e301
SHA224 0a8de678382080eb72e4af75ea0577bf01d35dc4b9621b8c9013fe3e
SHA256 302b6bed4dc01e06d020182c357a3f7905008a119fd5c7fcdb58372ea29791f2
SHA384 1db0e78d96d32fb2b5aee4ad44f13f6142f1c8a7c2c1001c19f1113b8d3db6c8f99ffd9de23b9faf90c967c8c2bf1264
SHA512/224 d8e4439300229ae45ba451d40b495bbd4722783722fc458bee8cbc9e
SHA512/256 fb3d9d8b4570d5aedec9d7b6e7919733a7a5e213d5729199db37c79053a625a2
SHA512 556a3ec6371b1207e2d563d407e076b8109c44d4af70d993e35dd6490edccefcb570aaa75e35832bfbf0c4f14082506460f4875331c884d43a6b84550e7c775b
SHA3-224 9ce1f2f478af193593bcca6767f2ed953f5fbd9ef5bef7db5bef3b75
SHA3-256 9d8536dedd4625069ffa90baecce7b4f49c8df0cdfe2121c76a3f6e4a7eb1b51
SHA3-384 4243ba185c96ec6cb309a99b5a405d5907971ef0711e9c3e988a2fee0cd6da4772967a490a279a9d4cd28186705534e3
SHA3-512 cfe77906491c24248f356d7397192b33597a5febbbbd37cddf922165082246a64330093b9d8a01046f6aa38c1c90d68177e72c48450fc1ed5df2181ed7c1bf46
RIPEMD128 c8b4c9444687de2a7bb7d7fe872217c7
RIPEMD160 e0fd2e98ede3c7609b7f8b238cb41e9a5cf5f2d6
RIPEMD256 5ef7183e68bba93e691f4275e10e84c8b442794c4dd7724dc1ea5b9a5e417c78
RIPEMD320 9daf9dac051e1db50e5f9070f035b34e60b28c8883d61d3d6e93315abcef6b52fd8e250cbb433aa5
WHIRLPOOL 0f485dd69c5e112ad0ab57b7690cb4580fc3dd499eae9dfee02b7f3bb7cd6b3d9491e1f15d76c6a1b470797803c33841c9d42797848ac66501113a4d4e9b06eb
TIGER128,3 204d652ed91dbf671f564da24021155c
TIGER160,3 204d652ed91dbf671f564da24021155cd130f03a
TIGER192,3 204d652ed91dbf671f564da24021155cd130f03a8459de15
TIGER128,4 5498a20d9372b1fd09e3938608aadf7d
TIGER160,4 5498a20d9372b1fd09e3938608aadf7d78d6ac86
TIGER192,4 5498a20d9372b1fd09e3938608aadf7d78d6ac86d58b557a
SNEFRU 3fd43a45cdb78634cefcf315a72d15d227d9d10a158c72feec4bc66564cbc19e
SNEFRU256 3fd43a45cdb78634cefcf315a72d15d227d9d10a158c72feec4bc66564cbc19e
GOST e489193feecd198f8c096d95c35556d86c2cf8f848ca566f375cfca7198bf03c
GOST-CRYPTO 3af9031d887b55c1fdca2a001ece4a2588dab7785137078275ab49b0cc2d53d9
ADLER32 529805ed
CRC32 a673d851
CRC32B 03c62f6a
CRC32C 333ffab7
FNV132 0384b347
FNV1A32 1a33da83
FNV164 084912fd50750e67
FNV1A64 b51cd4239a939923
JOAAT 248954aa
MURMUR3A 4e5f4cd7
MURMUR3C 3061627e7882656c7893d7af9ca23d58
MURMUR3F ffc7f1d6455183e4434d5287d43dca48
XXH32 a7a777ab
XXH64 224a6fb702a1189c
XXH3 580de5fc9bc799d8
XXH128 9e06c549ebeba27613cfbe1be66d185a
HAVAL128,3 e1083e297d9b121d0fbef669ea88e7bb
HAVAL160,3 842736b159be42097b5022c0da84aac90fb5c4b2
HAVAL192,3 23821fb4fe479e67fbc85ec687227844cc501f5d328d3500
HAVAL224,3 a0fe7caee324a08a546662934bdedd34c2e60c6bd7953360528e204a
HAVAL256,3 982e6e105148bad925db186189640e830b62e8f9a42cc9e0aa73c5da30460aba
HAVAL128,4 ea108b5fcaca77b30da1aab666e0fa11
HAVAL160,4 3775db0782a3b2a465fe658bb62c677866502a17
HAVAL192,4 77ce8a8b680a1d9fd1dbf3627b85f0ce64b4051c9a17282b
HAVAL224,4 476bedd4313263c5c897680f5c5834ecf6fdd2ffa31eda695691e2e0
HAVAL256,4 b30d0b29d713f346f48ac0d1283bf9f5941223993648ec87ff81bd0580d0bc84
HAVAL128,5 900aeda9ed2139140b67b0dde892a784
HAVAL160,5 9d2a84e672e4981573099ca16d8cc5c2bc64963a
HAVAL192,5 8a272ef13fb8066d6fad923f3084cdcad9c75b11889fa99c
HAVAL224,5 866600666af3d54e0e08204b5a3c062a2175e58c079be33536ea5faf
HAVAL256,5 8df859bb0db7f569ac41b798e3367614ca3fb8d45246dca008e1dcf8e2a120dc

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