SHA256 hash

SHA256 encoded string

57c8817ac91793dfe86f5cc4137a24f1928cf90d42e5343450c87c2b102c9664

Your last 10 encodings

AlgorithmStringHash
sha256['SPTN' 'DG' 'CSIQ']57c8817ac91793dfe86f5cc4137a24f1928cf90d42e5343450c87c2b102c9664

String "['SPTN' 'DG' 'CSIQ']" encoded to other algorithms

Here you can view hashes for "['SPTN' 'DG' 'CSIQ']" string encoded with other popular algorithms

MD2 cd93baf0a883597024d5bd5ae758579d
MD4 acc76695ba0918dd3e55f937abceb052
MD5 27ee4372ac994f94d09cfc1361c16ffd
SHA1 3de6f25f540aad4179ddc03831c67a255b3c72f5
SHA224 5b31cf143b0bcf03a4f0a733caf413b25e62769ebe5ff60149a6472c
SHA256 57c8817ac91793dfe86f5cc4137a24f1928cf90d42e5343450c87c2b102c9664
SHA384 c5136b3d7e9fe86a54718411a8a85f112643415bdc76c97fa09e6571b68f13cf4a543d1f290db1e8b2f2e95b4b712661
SHA512/224 a9c583cf27c4a079a1d27dee9064b7b78e2e38e7f37d2d550420d4df
SHA512/256 ea592f9cf01c5297a4f566a589fafadb9c6fd6cb8a086cbbde6614eaf0a88e76
SHA512 0a3890f61a9592269a2b663a244a6fbe4838deb2263118d0174085832d5585c75a28dc61fe95b242b4df018ec326a07d7705dfa3558d7b6229bae3e509d115bc
SHA3-224 9d6de7309c3576c1bdd1fa062e63d9a73dfc4f512c21f2b4a354d004
SHA3-256 ba40b6a759bc20b6f73ba281118b4d9ee188febed553a6d95186e60298e72951
SHA3-384 cc57134e9e09e951cc441e7b2b17d000706022ee7900c7c9c02cc0b06fd7fc766d63da60560a4627baa5a1da9421a7be
SHA3-512 109ce61e2edd22c8bd40012afc9085d4ba7c7efe1af6305d5488fae7a8d01c949b0971adda84cddac3e40c37d4dc1d991b19b748933929e9ef10702072c8228a
RIPEMD128 e74d08e2a96a09358d08af4d12a74a79
RIPEMD160 563547e6681f3fab684c07ef8ff588b5b73dd519
RIPEMD256 991da6bc24421a3dffe663386dfcf2ed69894c3df2a914994d728bfb0147b9e2
RIPEMD320 d30bf8bf90051b3cc901e0da86d6652447e45927bd0016d2f91051b6a1fc0ca6ed86436884c79cb9
WHIRLPOOL de78ed9e0ff9561201371b1cc57c16255d6f905581968d92b28c4f98823f1fe82ed73287764c4e99bdcc8cf8316f1ba2ec532bc3d85160df93a73893b1883703
TIGER128,3 bf69ca96b340c49c441761026267e25e
TIGER160,3 bf69ca96b340c49c441761026267e25e507833e1
TIGER192,3 bf69ca96b340c49c441761026267e25e507833e1646ee143
TIGER128,4 a9ce8f4cb78d4a0b8e239b2acb01a838
TIGER160,4 a9ce8f4cb78d4a0b8e239b2acb01a838db87f768
TIGER192,4 a9ce8f4cb78d4a0b8e239b2acb01a838db87f76883b4507a
SNEFRU 8e072bc97dee01cf18450d09edb3fe5bf5bf770b009a67467bb43739b814e484
SNEFRU256 8e072bc97dee01cf18450d09edb3fe5bf5bf770b009a67467bb43739b814e484
GOST dd7a6cc16df2b85825200bbe3ec7497c62b0d825996ff893e5548aa184e76f3c
GOST-CRYPTO 7cb52590ce80a03b5881951199af312c67bede860b79047ebb435291e4672edf
ADLER32 33b804e3
CRC32 6fd9e1b4
CRC32B 410b4a24
FNV132 fc137a65
FNV1A32 3cc60b6d
FNV164 b6093e6c634e7b45
FNV1A64 101c88a0ef1980cd
JOAAT 58630176
HAVAL128,3 40de59cf2f353b5eca6fb8ac0413b458
HAVAL160,3 3a38d86fc3a6400048c05c315a19f3b3954a1fce
HAVAL192,3 b0b8d8be94f1dc1cc520018eadb3f381fef6ffe476bf79ad
HAVAL224,3 e7d79dde789314556bbbff42cc7ac9462f7fdae022ef42be380ed601
HAVAL256,3 94565b29f3cef8f5d376340c95cd7f440fffbfd652fad61c11dfdb005287a8e5
HAVAL128,4 9ea6206cb816685f205962f63fb6c43e
HAVAL160,4 9c55b8983043955171deaf560c77b57036040db0
HAVAL192,4 d067f8b4fd83efe05fe55dfc0dc18b2e7d844e91b3ca8ba1
HAVAL224,4 3c8d4d4d7ab69a3dea9d069f2c871c9c3811320f7309ed90cb82046d
HAVAL256,4 fcf9ff9c3d04689352f0273aae719f91713afa6ac96bc0f9934953e5a242a163
HAVAL128,5 92564a505b515190fdd72037b1795c27
HAVAL160,5 09cdc3c63467b52f8c6b4b2ff2a392dfb8bfef18
HAVAL192,5 2502838ec8a9233eeda16281b03ef4440803cafb2fbc696f
HAVAL224,5 45743d1818ec2b94a8e2655c09fbe3b3b6c866774d5d71ee43f2f8bf
HAVAL256,5 226af0646508c559d659e7d2933ae6d60a074cc7fe39027d02d19f9f700cd164

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