SHA256 hash for "2017"

SHA256 encoded string

46e67c525617663b392a53c0e94ba79e62db62a851fb175ae87756d4e73c9718

Your last 10 encodings

AlgorithmStringHash
sha256201746e67c525617663b392a53c0e94ba79e62db62a851fb175ae87756d4e73c9718

String "2017" encoded to other algorithms

Here you can view hashes for "2017" string encoded with other popular algorithms

MD2 fd5dbdc9489632bd118ceed48bc236bd
MD4 fcce055a6acd402347d98d2d01706c9e
MD5 8d8818c8e140c64c743113f563cf750f
SHA1 04e8696e6424c21d717e46008780505d598eb59a
SHA224 aff51e4cddcd763b97f0b2d870fc98dca505aec4906bc10bd2726d2c
SHA256 46e67c525617663b392a53c0e94ba79e62db62a851fb175ae87756d4e73c9718
SHA384 6cc2a579c677d9aa69d1b1d2bd6aaba4816ebb815f4ec18dc6287c75b5530ef827114ef866308b2a6a470c31507b2864
SHA512/224 abc4176a498d524b85f70b87f76c3b4d69092102835af627f479f619
SHA512/256 bba8a6654d692eebfc3a4caaaae89d2089afc7bfd00933e9d7168e49367814ef
SHA512 0ec10cef3b424a1ad5a2e84a950a552dffe991bd536696381ecae76828c591fb092fd408008bf76849d400d793e9905ec4e396b11783ebf58f5000d5a136ff13
SHA3-224 d6e1fbd2155d14dcb4a39e04580c26ea319370ec2d43e342afebe368
SHA3-256 baff2c6c45c87b79858fe68a8c508b5f538074b6e1fbc817e373b19a4a40d40a
SHA3-384 b14419a596655c71a545b539a7a8894e87cbf450b1e7f467e558c28be1429ddd2ad917f43e6b187fd600e6bd63c0599d
SHA3-512 dbbf37cef271f09e06012997bf5bb38100e459fc0f8aaca7326201249535819c5f3be82cd454a9df794898c4a255f63541677bc002d4872bd1fa8bcf75778f8f
RIPEMD128 45cbe98ba91c2073a7f0929516f3f1d4
RIPEMD160 8c9bc354437524f979133ccf0ca65c3ff27f3525
RIPEMD256 ba06f7c7c39e36fe8be422b406c4bee10b13c2020ad5c0014eedd6bd77b57835
RIPEMD320 98a3a92216eec421dcc4ed54cf37972763ea1f7405301fe1a7465a29e7ea8af8c994038bab00b2c1
WHIRLPOOL 2205c8ee05f7e69974a82e6874bdb48d55a6330fbf8efff8b1f1029178e7f2ba3747e6bf6293862f035d32266d2c056a5b51541c441276aafd78a46b8592495f
TIGER128,3 b723ae80d1c1824ac81e8f82ffe853aa
TIGER160,3 b723ae80d1c1824ac81e8f82ffe853aac64a975f
TIGER192,3 b723ae80d1c1824ac81e8f82ffe853aac64a975fa4243d36
TIGER128,4 07224d24ffcc80bf917d5b3d684c0aea
TIGER160,4 07224d24ffcc80bf917d5b3d684c0aead495327e
TIGER192,4 07224d24ffcc80bf917d5b3d684c0aead495327e0f41a500
SNEFRU 7492e7565fa7933a061e8a38bc7d23361fb4f8b2702609227c4fa825c435a469
SNEFRU256 7492e7565fa7933a061e8a38bc7d23361fb4f8b2702609227c4fa825c435a469
GOST 897225786c4631265ff96aa3d9e001afcd45a5bb26c73cd1ccaa398697477134
GOST-CRYPTO 4751b0393511ba4f0a6a0a16d49c70fc9639336b381ab3e9eed0858f95bc0368
ADLER32 01f500cb
CRC32 e3681d97
CRC32B 21eda81b
FNV132 0b5b4ecb
FNV1A32 cf2c5d47
FNV164 c5c6ff7fe1f34c8b
FNV1A64 183aab0b3588e807
JOAAT cff21b1a
HAVAL128,3 1467ced0d75d78973e04406d0b94a069
HAVAL160,3 e44deb0e52f4097695cad25d71ae7eedc0332a68
HAVAL192,3 39557606c3e0c19d11964bca0a5276a5a52bc6cb28daaca6
HAVAL224,3 d2415e107960afa8f5814220faba06601fc1f2bb9ec21f249dfe05a0
HAVAL256,3 27647420e8643a5fb35a88353547d684898acd8a279f4a14b25d4da9ed42372b
HAVAL128,4 64cb17adc1275ba0db4db66dbb7a162c
HAVAL160,4 4f7c7f194708f585f9e9e92d9f412456f79027e8
HAVAL192,4 e56806d41e70eb410707440cafe904b1681ba3c2e7a349d5
HAVAL224,4 ad70ed4053c2d7db511d3d9129e72095c5f7f9c45009586e1dfda08c
HAVAL256,4 45df00dd586839abe90cfbf8c0bfeb7d709dc214176146be4c48c0f970bda6fb
HAVAL128,5 3b5e9cd119abce8e1c229b3c22c55a21
HAVAL160,5 659994c0d36965f94cde98e92a52f014b11a6577
HAVAL192,5 efa1c5ee79cc88e2fe2eddabba9b927d80ed219372b0754f
HAVAL224,5 ce0e541cc75251469faee58f799efc76063521e43ab8672001cca66a
HAVAL256,5 de29bc18d3799f6c705cfb8d14afa59ab9a7a4cd14755a8771d0c2212f31ad9a

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