SHA256 hash

SHA256 encoded string

a01a979e2d2e919ccdb71457f719d36e00f176b57e08c852c15ed65bc56bd296

Your last 10 encodings

AlgorithmStringHash
sha256['DGX' 'TW' 'NJR' 'SR' 'SXC']a01a979e2d2e919ccdb71457f719d36e00f176b57e08c852c15ed65bc56bd296

String "['DGX' 'TW' 'NJR' 'SR' 'SXC']" encoded to other algorithms

Here you can view hashes for "['DGX' 'TW' 'NJR' 'SR' 'SXC']" string encoded with other popular algorithms

MD2 bfcc5c3a00b602407c144334cf322b5b
MD4 cdea67bad1f7046f491d1e5aba8b0442
MD5 0276b666ddc88038970574b2ab84426e
SHA1 cd4bb27870e051783349e108a66576f4b8626648
SHA224 16df73778419f75890668b1e05c121ae2f2fc85b6db7e32b5da12003
SHA256 a01a979e2d2e919ccdb71457f719d36e00f176b57e08c852c15ed65bc56bd296
SHA384 560c9b8bee5386e12bfb0b19a36e229962759065c60e782fad005dd99e575d5a2689f12859ec9e147e022a6d3b4106ee
SHA512/224 9dd1be0e33991fe6a7ae37dff04f6289168dadc29953b3b7a27d0442
SHA512/256 d41eaecc806b877d79eccfe76a6c11f9ff4f3868f1b2d3bf0fa787462c3db2d0
SHA512 26cbdc1dd4eb97f627653a91bfab856c737c0507fc6f949615446e966d40bb1bfb36e1ebf2827dddc09d486e1aa8fbd79b6a5e0a1b71397c499601a00de9fb8c
SHA3-224 a21b91f3e33e95b15570313696ce5e9dd16efe5da7048ef9d975dd2f
SHA3-256 eebe161180e82aa54836c850a3d2ceec311f63d148ed33f042239706d387cb81
SHA3-384 23ce172c4723771cae2f445f88f346f25b87252fb82dd0363413e872d9f571062d37dbb140ed3ff9c51ffead747e95d6
SHA3-512 e235cef8e4c619fa4fee1aac5ea395188423b7ffd09e6f62b3f4dcc60db9e8dfb9cd1f29f321e64390a960048eb3980c35a76563700e702cd8209446c86fbdbb
RIPEMD128 d5152eb00cd6ab81d4c5cf07f554c7ea
RIPEMD160 bb9c7f1ed0419531f2bdf027704a3e5357d013f1
RIPEMD256 9a595c10583dc9ebaab760c7f38ad3b88076ac7af6f7eeff24e12e8e2c85c0cb
RIPEMD320 24903fcc56f1ead0910011d9286f9c29522460bd061bafd50a47dd994bd4bb0fa8046673e4a2b4dd
WHIRLPOOL 44a0c0774275dcbb9e15548ac48e7c33089a2e9e6c7396af705583145c4d33a9e90776c06c5025b77f553ccc9a743d98f406d344b76323c0b1f1d5da43468f98
TIGER128,3 ee279a2df6e71a55dfe8e8639574c527
TIGER160,3 ee279a2df6e71a55dfe8e8639574c52729583582
TIGER192,3 ee279a2df6e71a55dfe8e8639574c5272958358255901d5c
TIGER128,4 65f7790e9bceaed60a9402d986cd8ad5
TIGER160,4 65f7790e9bceaed60a9402d986cd8ad54133fcb8
TIGER192,4 65f7790e9bceaed60a9402d986cd8ad54133fcb8b5f93274
SNEFRU 720f291ef8c1f6b4ac5e10c6d35c6a1e962d04ce1c8307654ec06c167c5771bb
SNEFRU256 720f291ef8c1f6b4ac5e10c6d35c6a1e962d04ce1c8307654ec06c167c5771bb
GOST c3ee3d7713962622f54c9d7c62e129fdda01f947ef69eff2e9d8d57889657c8f
GOST-CRYPTO c3666cbfef60eba01cb26b48949e4c6b404c504626b7b0b49469a7df7dc787e5
ADLER32 656706ca
CRC32 c618f2c4
CRC32B acbce77c
FNV132 efba81f0
FNV1A32 8119f96a
FNV164 1ab3a194b4e8f8d0
FNV1A64 cba115abede8a82a
JOAAT 0d02dfef
HAVAL128,3 a18b12b2de8a0bf047e623e6d05957b7
HAVAL160,3 a1c259fb4624766a37c21a299b72562535c733a2
HAVAL192,3 631a7134912218ccc37c6d41047058a32585eff49a72d278
HAVAL224,3 32d19ed9321531e598d313e374292b4ef3991900b09a58956cbe8e19
HAVAL256,3 062dd8b6edb3b74fee1ad7545da5714ce7db9a03a75ac3e76347e1a9589a3725
HAVAL128,4 60dfd418d63d92583933f4567428b230
HAVAL160,4 bf04fb9f9f4b0f23dd6d84aec612823bd8dfb74d
HAVAL192,4 91d6a24ae82d4f6137c69fd623c3b012a478dc51cf015bb4
HAVAL224,4 aab517bb3dccdd6a21d4a4ba6da1c142cb3b77c616c3c40a1fe33e6c
HAVAL256,4 ab206b3d6c0b1a639b15a28dcc9a2e7c86ff64b9f6055e0c3baec198cd7a0633
HAVAL128,5 8778b2d2292afb7019b818b1eadba890
HAVAL160,5 f6ab27bd54cf2514d48ef5d06567c1413ecebec1
HAVAL192,5 7ba77d8fffdb82dbd51ee69ab8175373ae360b10513a4c0d
HAVAL224,5 e875eb246a5345079a88b393ced6292912c949335fdf027bd137278f
HAVAL256,5 fcb029339150fb37b38e74b1f1b462c46767b4500623fd775063338c3aef6b3f

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