SHA256 hash

SHA256 encoded string

aec59c2c17e40d63c5c2e798b75404a3e9a24c527c96bdde08b75eb59b11b93b

Your last 10 encodings

AlgorithmStringHash
sha256['BMRN' 'SEM' 'UVE']aec59c2c17e40d63c5c2e798b75404a3e9a24c527c96bdde08b75eb59b11b93b

String "['BMRN' 'SEM' 'UVE']" encoded to other algorithms

Here you can view hashes for "['BMRN' 'SEM' 'UVE']" string encoded with other popular algorithms

MD2 bc94c853d4423694b9af55a5943f1286
MD4 6efcf2009737de70a8246011e014c015
MD5 829c3d5f991e42fbde691bd9fe33b69e
SHA1 22ad76a3246b54519251c7a5a12eef2c20bbba13
SHA224 c2726d99943b420a9b1271d93886ae29ad675d8b5274d99654e02edf
SHA256 aec59c2c17e40d63c5c2e798b75404a3e9a24c527c96bdde08b75eb59b11b93b
SHA384 a5291ac1cabe72d8668342f6a8c8499a6a073a7d7e197ca9bccece5972f15e42a3a7c5ebf05ed987e9962d4facc3b491
SHA512/224 86324aabfa4569fafa56435cdc86097283e7a0e61697cfd9c26e0401
SHA512/256 1f31a3c310e598abcad4cc8d04188440de1fd888bb4c2653c3d2a6c785c5df04
SHA512 f65e3216dbfa17cfd5fd76dbd7a05920de44a1f1120f14406aa441e0fe9e7a8a8f64820650ae0fac63bb44115b68b9f42831bed6477e5296dcbdbcd165636fa0
SHA3-224 54930ebf39949c29f6383fde40a67d0a49c3488f232aaa0c4ffaa515
SHA3-256 c412c8531a7a69031be8fcac9fff414dc9a23e7ab6bcbe7ecf68285852139324
SHA3-384 11907882701770a756ebaed7e1d6a4e77b60a02313f8a6ac2d67d4aced7392f0408d9ec23f3a2baf8c766bc9bd9c6b92
SHA3-512 81da1fbcadb0489848caec3138e377b0f22c0aedc28b7d1c5b7562338394acda53b383a92b2fc862d28579f106f71d91821f642ddb5a44a96a35de4439d1a205
RIPEMD128 db67eba3097c965511adb88f0f65e684
RIPEMD160 d73eec916424810f48240b0aeaada887db222c13
RIPEMD256 6bc0b44c84bc0c70cfeb30f695dbe8262fb847c69c7525433666c41b1c76331d
RIPEMD320 e6b7766a5264a6bbe5274446f0d5fd757260e49b4db6cdf341fe7a2418e6d06fe349c13618cbbcba
WHIRLPOOL 5d22ff377ff8294212fb0ba08761f8b3b472d385dcea3311cbe88f68a14f2065021c82c2f9cf00e94814461fc3af6641f618d3f7e1a02172dcccc5d9ec83c192
TIGER128,3 a4ef797e57c1a90c8c5b906e63ba3cf2
TIGER160,3 a4ef797e57c1a90c8c5b906e63ba3cf254ca0e16
TIGER192,3 a4ef797e57c1a90c8c5b906e63ba3cf254ca0e165c29961d
TIGER128,4 6ecff39c2626f584e9e2f73d40301520
TIGER160,4 6ecff39c2626f584e9e2f73d403015207e78894d
TIGER192,4 6ecff39c2626f584e9e2f73d403015207e78894d8503c4e6
SNEFRU 2387cd83a7b0d03ec00bd30c5527615fdba5726bfd22975db78186679ab8e7ef
SNEFRU256 2387cd83a7b0d03ec00bd30c5527615fdba5726bfd22975db78186679ab8e7ef
GOST 2ee0fe39133c1be7129f3b555d60aa66e0e522ea590adc6dd0120cd189e541a7
GOST-CRYPTO 71fc05866dd1fa666c83a325cb4bdc8ffc7965fcca1c3b0ace707a6ff4207824
ADLER32 339304e7
CRC32 358dd416
CRC32B 5ce33a07
FNV132 b64b42c3
FNV1A32 3a7dc747
FNV164 5b50de92fed63243
FNV1A64 82cc2dc52b1c3ac7
JOAAT dd4c65b6
HAVAL128,3 0a731c83eeb5e45cf1e66e95a607294d
HAVAL160,3 5f910d87905b2bc7a1e41bdcfb548983672f0414
HAVAL192,3 f80bb9822f7a6216ee0bf26140a824cc8644971a470d3e26
HAVAL224,3 0b74310ff0214557faefa3a6bef00cbaae606c66fed5674a7d7577b7
HAVAL256,3 9a19d15197bdec2e273d4953b2b6e41ba237ade0bc51609f6260289bf6a4b3cc
HAVAL128,4 74852a753cc4a5419694caab280a6165
HAVAL160,4 3540eed96de3d34db31e879cb0ba9792ed500515
HAVAL192,4 72c5abac9eb8bc40e3a2d87a8bcdb4700210f28860ac68f6
HAVAL224,4 2cf514df5b99c025aa87d16c2821e32a8d94079873cbc3edccc34d94
HAVAL256,4 5f9074fdc9189b48091953fb9d92ea58aeccfa6889c8d073b1fe99b6a71c4315
HAVAL128,5 dad1509947fbb88e1e9cfb79b346665e
HAVAL160,5 2b75729362edf2d2234f2c4203066a0df9806c25
HAVAL192,5 44c1472e4c5684fdfe966a3f6c280fbf16d57e7294efc4a4
HAVAL224,5 f4ba897992ec27b6525ab55c317dbdf19e38cd9bce8f3fd291f0dc72
HAVAL256,5 f1cada8df87ca344599eb90d1aa6f112ec7dc4e329ad75b699b26202b9f4fa9b

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