SHA256 hash

SHA256 encoded string

8aab03fe91cd3968e5064c0caefd07f1e2c9d9537a0ebb37401c6039fccbb152

Your last 10 encodings

AlgorithmStringHash
sha256['ZI' 'NSA' 'WLK' 'SMP']8aab03fe91cd3968e5064c0caefd07f1e2c9d9537a0ebb37401c6039fccbb152

String "['ZI' 'NSA' 'WLK' 'SMP']" encoded to other algorithms

Here you can view hashes for "['ZI' 'NSA' 'WLK' 'SMP']" string encoded with other popular algorithms

MD2 1b5323393c5096ab5abdc4b336d3ed68
MD4 a2848ea6f3240ac558ea5a087a7cea9c
MD5 0deb9b19d110e1765dab9681893c6eef
SHA1 bd82d597877fe1ced0c4cdfe89e389ce93132b42
SHA224 ddffd80eea9b3175aa3e0c7dce95b273b305e83837079ba859560999
SHA256 8aab03fe91cd3968e5064c0caefd07f1e2c9d9537a0ebb37401c6039fccbb152
SHA384 f33407dc3280a05554940e87c00713192e3c1e66e419fc5158e9e7884887f50373863e65a08cd69256292ea9bba35602
SHA512/224 46b4073b8a59934dce96ed6b58f3c8026ee859be9703f7f21dbfd638
SHA512/256 48724bbde90ae92819cffd89c2fdd339adf24936bc278516913a476812052b28
SHA512 20ac2738339d87ad62e4dcba93e80957924f6ea0c6c8dec352146fc3249c76c68412dc35573694588e513da818b4373ec579809f04c1dd5dbab263b2858ec4cb
SHA3-224 9b7f1bf54a403042d0cb85b8394dfed109bbaebfcf3acf0e1ea254ed
SHA3-256 5628bc449f2b554bb7ed92cd084ddca5e38f0a158ed46ec243e940988794b9c5
SHA3-384 ec6645af900bac113f57fcb8854eb09f0be759083bbb82c2b438c8ee13b7365ec108853a42abafa1ab865cf6cef14019
SHA3-512 74fdebafc65bdae844f6f842fc2e7ce2647b242939616f819cd87cc85d3a7875d0daefc6a0316dcb2ea695701019f5382c4fc0464f06003ed0e5c068440e5ef9
RIPEMD128 eec81df2f2368fa1737ea234216db406
RIPEMD160 a236be21e4c3723da50fdd73eabc28191caafc99
RIPEMD256 9f65c5d135bcbb695a6e1ebeed09c47a8ef156fb09d28f9e367b9556556133bf
RIPEMD320 2cc1221b9ba3bae4c32379edb804dbb4f0dbea6ed995225cd0631632e9758c7f3e57f65b26823691
WHIRLPOOL e5d7c767fcb8f2007456430118790aae745aea96117d2607f11e4ac41432cf300de57975df10154bae1311055da8160f738b25075af4aaf7ef9702e943a68974
TIGER128,3 055d5026edea4c83a5352f80c37b878c
TIGER160,3 055d5026edea4c83a5352f80c37b878ca018b87c
TIGER192,3 055d5026edea4c83a5352f80c37b878ca018b87c0572c7ba
TIGER128,4 132bbae5c50d9fb43b71bb85597524aa
TIGER160,4 132bbae5c50d9fb43b71bb85597524aa4d82d56e
TIGER192,4 132bbae5c50d9fb43b71bb85597524aa4d82d56eff8702db
SNEFRU 57643345177122e692b076f8a2f19e6303b309fbd4a06d662cf1f6f2ceb5c33e
SNEFRU256 57643345177122e692b076f8a2f19e6303b309fbd4a06d662cf1f6f2ceb5c33e
GOST 92d60fb1088e1e179e3f77e069cf8a59c2dfc076e6b00ff8ca320ed5adabb42a
GOST-CRYPTO 1972ec560b257dbafe51df70b8ae2b3c2dde0b4b59cc1036727586e0c46912fb
ADLER32 468f05b4
CRC32 0b328676
CRC32B 3c8e865d
FNV132 46b92aee
FNV1A32 788c4ddc
FNV164 6af8c03d5710434e
FNV1A64 26b59e737a8e519c
JOAAT a17ac5f0
HAVAL128,3 6dc37e3b030d6dee74c96e410e2128f4
HAVAL160,3 1e6b89ff0cc527c39e803806e5e500897d09e3bf
HAVAL192,3 07768defce003f9a66e02ff8e4fcdf675faab9e6357abba5
HAVAL224,3 fddfdc758cd3e5d892e773df51283a2386e0c0e10d78e253860f5d26
HAVAL256,3 0f078bf0c1b5106835ef1b89a3ee001aae368a4f744c72b251a61dc39a3a35a7
HAVAL128,4 b9c8acd7955ea11523386c65b411b013
HAVAL160,4 1701921273909e027fa171ac24f8d15853280aa1
HAVAL192,4 db4def96f3250d9af90708eff1631ef4dadac5f42673819a
HAVAL224,4 6b9568e260a361e1345c9b9f95aadef404eeb3229c5efe84e5045c3b
HAVAL256,4 d6c8a0bfa46b96821cbb41bae2e379337e37bfc6f693483c9965ef6d710e9fa8
HAVAL128,5 1b7206a514334a936ec2a7c2d2b65e3d
HAVAL160,5 af468c80d50e10536cbfcacc1e5417ae29d00545
HAVAL192,5 fe9af67258f9fa7755e9f8e5f753e566c2437949b0606568
HAVAL224,5 3836b73dd793c404794a8c40db1312aca72f4720b3bdb75a5b9fd7c3
HAVAL256,5 03376c63c465d656f078db22b89996510a87d171b80d99835f65ab55db08c8b6

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