SHA256 hash

SHA256 encoded string

b52e0884ebd3b40d9f96503ad3f3146e5032708700cb60fbc7cc654d432a970c

Your last 10 encodings

AlgorithmStringHash
sha256['ZEN' 'DVA' 'ATR' 'SKX' 'AIV' 'LPSN' 'MGRC' 'SXI' 'ULH' 'DAIO' 'SJR' 'LEA' 'TIGO']b52e0884ebd3b40d9f96503ad3f3146e5032708700cb60fbc7cc654d432a970c

String encoded to other algorithms

Here you can view hashes for "['ZEN' 'DVA' 'ATR' 'SKX' 'AIV' 'LPSN' 'MGRC' 'SXI' 'ULH' 'DAIO' 'SJR' 'LEA' 'TIGO']" string encoded with other popular algorithms

MD2 0d47d416015d6525ad263dc4307f090c
MD4 79bec78c7d9d828f7172146da5a1fcf9
MD5 e4da41a72d4e2a5fdb8bb4646527cb3f
SHA1 b379d10010ac276da0332a1ef036d84a498fb77c
SHA224 f4ee0e36d85305871ff888e3ecfa94fd0235e10f3ffbac558156e396
SHA256 b52e0884ebd3b40d9f96503ad3f3146e5032708700cb60fbc7cc654d432a970c
SHA384 481c73bd642126cbfa56e050125ce3343502d3e01d9bf810bcb89954dde635b5578eceaba516e18c2b157815cae5147d
SHA512/224 83a3486d75365286beb577937deb2e6c9702a08eb12571616a60973e
SHA512/256 d7fe8971b241d62e34f5c0932e1b78f2c06c613ea6042efd3d429b2948589bbe
SHA512 8c33f44b2f34ab56c290242048e5fb7df8eab6e49f3df9e75b8fab93e34c8e291d817f95f66d42bd7614807aa542966d02009856e579a94771f07bbbf9819d58
SHA3-224 b0b3896a4a37290d3ea30a733dd0f7ca57a890ed9d22dba1ec118c64
SHA3-256 5de86afbe7adb32345c5afa3263d85eb62d262448f4b132e97ffae03b3efbaf6
SHA3-384 6789fef7e516b21e9ce9c8debf2cbaf22793e1ec3d47404dfff8b5020fe0f5b4084aece4115c4b1735b6981bb6600789
SHA3-512 aa158ff3b210ae810072df333c9684e48c87d8b7667ddb2800c72fa08ba933725019c1e051c4aa457065c5f1ba0ad2c022d073e379d08f3b0c339c6ef98be683
RIPEMD128 4c6e45f245d0582201ca4059679e3012
RIPEMD160 8e5673732691bb54adad41b257136b0be23b667a
RIPEMD256 4bb24c1b773c4ade5fd98ded4d5eda0d3eeac3f120eb9c328afa13d21aff4794
RIPEMD320 6f2ef29396cb985e32e94fe3889ed3b9c74ac787a875bb32ee0c72f2215dab810926cd119820bfc6
WHIRLPOOL 61e467db0ccad3f5989190a1ed74ac47e0dd7c7645a146604d9cbc1acc12d965b7e60b1cfa29208557bbe8aad6dcb9bc0ad6ec1a2eafb160bea3610a35da7e0b
TIGER128,3 8829528889df455224adc842085d9ae2
TIGER160,3 8829528889df455224adc842085d9ae270fe4b6a
TIGER192,3 8829528889df455224adc842085d9ae270fe4b6a0d5c774b
TIGER128,4 1728df02517e8b6569bcd9c3f7771a20
TIGER160,4 1728df02517e8b6569bcd9c3f7771a20b1a3e5e9
TIGER192,4 1728df02517e8b6569bcd9c3f7771a20b1a3e5e9a367b4cf
SNEFRU 5a386b8f8fc6cba5228ee80f48e820398322147798d6136443065c3289361a78
SNEFRU256 5a386b8f8fc6cba5228ee80f48e820398322147798d6136443065c3289361a78
GOST 1bf155842273a422215e89d60cf9cc501bd2dd53abc843888542c991d8287278
GOST-CRYPTO 482737b2fd8d814eb9a707000d815850e4756cb575cee18c86e113a72fbb1233
ADLER32 1f241308
CRC32 34bd7fad
CRC32B a15205fa
FNV132 66709e3c
FNV1A32 fcda95ee
FNV164 0e612cd73f88b51c
FNV1A64 2f3b83297bdb432e
JOAAT 4869cec9
HAVAL128,3 5b62468d6cee7b696575158df36cbe4f
HAVAL160,3 2731a30edfa5a7cf3b6a93cf2aec7df168a64ada
HAVAL192,3 841855beb2624c16deea4f919b26800f3c91736e17493d33
HAVAL224,3 4d6a69bda13f3e93a362b842f776fddf4bfec4fdfe0a847a3d5fe93b
HAVAL256,3 b4a75fbb20dd1cbe3af69df94bb50927ca5153b9c11af20c280d26cac3adbdbd
HAVAL128,4 dbae8b71041ffd4a2d78cbeea0dbe9ca
HAVAL160,4 c1a4857cb62ffdefafd8abc6ea1ed92ed3bf4e8c
HAVAL192,4 94735327310cef2566277b12f4af1e1bf59545b129aa7607
HAVAL224,4 a5c7a885ccf4db507a6e8f79c4ce4f3608ac31cedbf8f237c1cdcf4e
HAVAL256,4 e08ebe830723c59125228fb9cf72c0e4c8e66c3650ecb8dc3f895be982babab2
HAVAL128,5 2a48a9ed8f38aa4b073b1f7198ade885
HAVAL160,5 4ed1b8836a7db7ad9e73099829fd0166d9b9a5a9
HAVAL192,5 03719e911757e217555de5a2e05a2f2886d504f3cd76394c
HAVAL224,5 8d58c1025561db5e36914a1f2b8274a8d93e33cd831280956241506b
HAVAL256,5 eb8047e84021f2b0cde6f8f9c84c2c932ac7fd77fc4b50028ed252ec076010ff

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