SHA256 hash

SHA256 encoded string

2313e269c507a9bda9053479cd5eae4dd60157f48b0512a7299306fd31d90281

Your last 10 encodings

AlgorithmStringHash
sha256%5B%27OXY%27 %27GSBD%27 %27UMH%27 %27MSB%27 %27HHS%27 %27CM%27%5D2313e269c507a9bda9053479cd5eae4dd60157f48b0512a7299306fd31d90281

String encoded to other algorithms

Here you can view hashes for "%5B%27OXY%27 %27GSBD%27 %27UMH%27 %27MSB%27 %27HHS%27 %27CM%27%5D" string encoded with other popular algorithms

MD2 674d2c5eda5976179d7c3f38b6ede48c
MD4 abb8f0216fcf207a815b5b81243bf56f
MD5 4cabb9424abd49fb25425e3ba5d18841
SHA1 224fcd4781b4ec129cd1817a154e2c3810985017
SHA224 7faffad2f92fce2c9abb903bc92a88cf3b39990f74e7bf13c44250d3
SHA256 2313e269c507a9bda9053479cd5eae4dd60157f48b0512a7299306fd31d90281
SHA384 ed343d3d790f29562dbe9ed68b6218fb3222d1192ddcff738aad9ecfd8f914a45cef6aa5378cb310aab3abce7bbfdd79
SHA512/224 503dd1b41ed644ba025d2b66202fa6498f6bf4f09fadcbb12aaa173d
SHA512/256 a2bb194ae805eb56567746cb2ff7422285852a5df2122f3bebe26959eaf2fb8c
SHA512 0a4f15d6bdcff100d4df03542057e9e1e96b52f3dbb15588a05781d89124b19acd8571a20bf4a06da2924969f1fff6e8800cadf755c5b8f50227d12c60c2cb84
SHA3-224 d797aff7c87ceb1fa50722cf78814fa8faf679f27c9bcd456c48e50d
SHA3-256 01860b3679565f4200da8850e6168e28aa9d9abc576f3969b8061a2e0a168f0a
SHA3-384 ea273015eac48ff2a836e0b60cab914b1e827dee9000ff3847eecbc6080c3b40d7d4e42108c436a47139871a50157660
SHA3-512 2d90ecd4ae1dd9c78d68ef6fc3a9986586ce71a6a1d29e3ea050eb306b3036003c1b7c02ca72483752f83e55de09984ddccaf68958a234fde8e5c059ef77fe4d
RIPEMD128 147028218bd7871431eed7577405c7a6
RIPEMD160 aa478dd231d3ead30dff102e3b4f052802a30c01
RIPEMD256 3d5a1087401e060f6c805da4bd8ca72471744693e25334a11d27f325ef3d70b2
RIPEMD320 759b39bacff6396db372be874d5f5f91fbe6412ca05136a3d959e1cc544d108b43c78150b6d4023e
WHIRLPOOL 67ec4d79777fd29db893e145eef6301ac06fa905c6977653c112d24fa20bed1407cafba5f36b587b13842fca5358962cacc8025d2e450744d75f8a88089f2d2e
TIGER128,3 9c37da06ef3e751621b9faf6d68629f0
TIGER160,3 9c37da06ef3e751621b9faf6d68629f02e9fdfff
TIGER192,3 9c37da06ef3e751621b9faf6d68629f02e9fdfff0e42e156
TIGER128,4 fc41a7853636c4bcbece9458f22cf971
TIGER160,4 fc41a7853636c4bcbece9458f22cf971642f7c3e
TIGER192,4 fc41a7853636c4bcbece9458f22cf971642f7c3e6c3ad544
SNEFRU fed10c4059c3a2d35b03f484b98d79d5182393bbc937d1abd3fcce8b5d067d27
SNEFRU256 fed10c4059c3a2d35b03f484b98d79d5182393bbc937d1abd3fcce8b5d067d27
GOST 786299fa1951ce1b4087fea5ba1b5cdb59c285de93f5a7a1c01cf0059e8f62a5
GOST-CRYPTO 0f77ee2060dbeb7740c4003972ad9ddfd3c2019df899c5ba891a5470ec4ccffd
ADLER32 cf3e0de2
CRC32 d0cc1fce
CRC32B d7640235
FNV132 75e5f362
FNV1A32 760a2c84
FNV164 6229bb2937c933c2
FNV1A64 22897672f6c19a44
JOAAT 893a9546
HAVAL128,3 9c425a3daad25d468f6534b86cb5c251
HAVAL160,3 6105b972042a0b56ed109885c0f72336cff0798c
HAVAL192,3 e3dec4cc3f2f75e5b297ed9b81ca680db4357f66c72a392b
HAVAL224,3 658cc4d4f71b55cf912f70bc3f704206d651c21a1e365f21946c9f1b
HAVAL256,3 55ad86c521c6744ab9796c170f2baa932b27e8c51ed0976ccfda268e472a8df1
HAVAL128,4 45ea55d596a4d423f43560403eb4576b
HAVAL160,4 da243a4df25a7c391406b253a736922f47e9ef08
HAVAL192,4 46994f3502b0d703a737aec34caa5ed5414f350104adf8e9
HAVAL224,4 e956a79e2ddb623a4255c275e644f8b618b3d2ad501c490dbe50ab2a
HAVAL256,4 76ba88eefb86072662cc1e500a23d64e653698ee403d3892eff21788804c1707
HAVAL128,5 cc194d0dd2f43845ed4189f79bf44054
HAVAL160,5 e8460dc781d10aa276f072291189e3856cd72762
HAVAL192,5 3453751042517a522fde792e23238723db728399db7f3eb5
HAVAL224,5 0ee33fd3dfc0b205edaf76808cd015b19b41a2a53aad06b06b9ddd45
HAVAL256,5 905efb94f3f3a1053c4cf049d131db9bc2467f7d209108ff4909e1015238c739

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