MD2 hash for "2018" is "a49b3323bd83c2d4a7da228d18550bb0"

MD2 encoded string

a49b3323bd83c2d4a7da228d18550bb0

Your last 10 encodings

AlgorithmStringHash
md22018a49b3323bd83c2d4a7da228d18550bb0

String "2018" encoded to other algorithms

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

MD2 a49b3323bd83c2d4a7da228d18550bb0
MD4 c2e812ce1868db13749959fe4e146d11
MD5 84ddfb34126fc3a48ee38d7044e87276
SHA1 66efd9eefecf45dd64eff8e5cb2d13e005041925
SHA224 fa32c2096ba26b68760f827981f89575b1b14ffc7bafffa420d208e0
SHA256 152e69cf3c8e76c8d8b0aed924ddd1708e4c68624611af33d52c2c2814dd5df9
SHA384 f9414c8867444543b90468fe7b20686ce8e8dde9f5f97ce7a5ead7df4406cb2462efef4991cbb435c900adffc767ba65
SHA512/224 32072070793f81fa1a1ba591827669546c44807a7a2ba024eba2e030
SHA512/256 f4ee9c9fa7e2385a4678c6cfd30127f51384f559e26fd150804e98a8f9971ccd
SHA512 db08fc98c9897a7ea9ccd50ff639f5197124ff1890f0f26adc6ae8b20a877098d380c99994adb43a3a2018dcfc47b9caf26f4c4b49702b4b11227435109829aa
SHA3-224 a6d0cb35fdcdef5052aea96c014ec78048963ac617cedc9a9ad88955
SHA3-256 c0f77e6358e1fe5e1c74ddece44de580cd75d843f8f08bdb245f63970b21ab22
SHA3-384 1a5d79ae7108178790e1661a59573f20346875afd4251612874227fc97ccdf7a5845d3e2f7e302cc762e9f6ad423b8eb
SHA3-512 0ec613ecdc6f3435b83a66eafc57878462b6fe05450ac25fa8b303e69c9c22d7708b2898334798b569523712ba2254d18d29731e72a226fb3918e269b09f971d
RIPEMD128 3a01097e165b2f44e7af09d61a26a0fb
RIPEMD160 8e74271b30421e869114d78d033defa1d132eafb
RIPEMD256 24164a71483c0f1f46f0ff2d6e439922a41f0837847ea4f1ab59786b0b2cd95c
RIPEMD320 12b98ef6be0a9a2f176ecd347d62a6b1ad0fbe4c9445cacc7b54e820ddf0630ea98763f0e1dc1644
WHIRLPOOL 26671ad3807929eeb959c132be254d7ac9b5ed4ab922facc7e49e2212a169e72d4023530ec7c7a756a3155163dfd5a3b6ce530c050285c329532ee313632c09b
TIGER128,3 3e87775d38458c0e46a3280d2852897d
TIGER160,3 3e87775d38458c0e46a3280d2852897db909a0a8
TIGER192,3 3e87775d38458c0e46a3280d2852897db909a0a8e4b152f2
TIGER128,4 570912bd7bba5e848e66d00caf2da36c
TIGER160,4 570912bd7bba5e848e66d00caf2da36c723b360f
TIGER192,4 570912bd7bba5e848e66d00caf2da36c723b360fe0670dfb
SNEFRU 8753fa967aebeb6e7cd404233907703ac6fd37b85803f76dfe98374a38bcb748
SNEFRU256 8753fa967aebeb6e7cd404233907703ac6fd37b85803f76dfe98374a38bcb748
GOST 0502e4de57153e231da752c42b52c6fd3d4d56bf8223b841f353a2ff135da175
GOST-CRYPTO a4b0de581afe9fd1290c10fb6b5e4ee0e57ba989fa059447989d19b23cd3b22e
ADLER32 01f600cc
CRC32 5ed552af
CRC32B b152b58a
CRC32C b171d0e4
FNV132 0b5b4ec4
FNV1A32 c42c4bf6
FNV164 c5c6ff7fe1f34c84
FNV1A64 183aa00b3588d556
JOAAT ddd836e6
MURMUR3A 168a7bf5
MURMUR3C 05d150483897d5fc3897d5fc3897d5fc
MURMUR3F f032d86681e8ba7ea74f4beddf94b04d
XXH32 de9b16c5
XXH64 8c116e6b8fefe168
XXH3 45740d23442e870e
XXH128 59c9fb5508c381bb7ed5703dedab7f27
HAVAL128,3 efecc9d6ea4fa03e88074936d80d971e
HAVAL160,3 5690e335f2b31ee70cb6fec52526a508b2208403
HAVAL192,3 c154cda63ac4496e276cd8b132e6c59081dfe215906357df
HAVAL224,3 b0155657e48db7fc570e03677826eeba30d8e4bf279ce29a0d316b0b
HAVAL256,3 129c63c85ab8ba6152144d31b9dd7a425ce61bdad1a32231e8ba4db6a5f8a55b
HAVAL128,4 b1dc2796485c8933d9f6f193e75fa363
HAVAL160,4 e59bf22de8bf2ac8577496d11ab1984621561570
HAVAL192,4 68ee4732f86c151c7c9d8e8df936ec86cf172fe9753a6048
HAVAL224,4 28b77af4d098555e0064f00c757a6a8752f4871bc84ab2107963f210
HAVAL256,4 7a1d1871905afcb73ad150791e9ab157973027989aa46651096a20c07e1c29e4
HAVAL128,5 d04bb959c044737d67196a7097f79245
HAVAL160,5 1a57d5e836db0f4578ca706233b88e97e1eea4fd
HAVAL192,5 f889a1e8cde6d9a8b102170bb9991745ebe2067d3449af65
HAVAL224,5 8bcee5b35c4cb6ba596105cc036289ce3ffaf740bc197aac5bd58826
HAVAL256,5 2658f7533faefeb9c41359bb9132387f263404e7f6d02214b2ab043f26db787f

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 md2 hash in PHP with hash function

Since version 5.1.2 PHP contains function hash() that you can use to get md2 hash from strings.

<?php
    $str = '¡Hola!';
    $hash = hash('md2', $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