MD2 hash is "d8ba70f99a64df0153138e438738f15f"

MD2 encoded string

d8ba70f99a64df0153138e438738f15f

Your last 10 encodings

AlgorithmStringHash
md2robot/Simple-way-to-get-md2-hashd8ba70f99a64df0153138e438738f15f

String "robot/Simple-way-to-get-md2-hash" encoded to other algorithms

Here you can view hashes for "robot/Simple-way-to-get-md2-hash" string encoded with other popular algorithms

MD2 d8ba70f99a64df0153138e438738f15f
MD4 18b3a5bef9aafbc7f554bea8c848eda9
MD5 1f26cc4aee68391a87ace96636067079
SHA1 b3845f2b6cd7fc468fe1265de6ee153918d45980
SHA224 c2cdbaca73cc1905eb41991c2bac1bce7a3c8d35a87da384553cfd0f
SHA256 634dacee273f1499967e49ea25cd26d5911eeb3dfb3116bb21405b758935106f
SHA384 c4d98bf425e3fce8651594ef2473c0445d471eb584042e1732fbbfdbab9b9b0cbd971263b726672fec77e0d5f67bbe07
SHA512/224 4e5e310fafa9e5024fd81bb12ad9f9ba9ee14e2fe1a5568948c9ca4b
SHA512/256 933314fe9933eb5540b3ce0ff54d74641a12bace76cf4a16d2c6ed92e20acc3c
SHA512 7e7111e61c918e7b6a5fb724d0eeba0f9089d93bfb7e4d88100f0acf06402a16298a09a3290fd095ebcde967f0803c78333e4957c7871cedd49c5540646b2850
SHA3-224 78563e5fe75c7c8882a35d5c84e99a245e7756702cea3383052c8321
SHA3-256 60a6d378b9a1d72c6f1ef456e41059d9617d74765700767d896b604783026aa8
SHA3-384 1fe929015dc1609041ee1feb6a33b9cbcebbbd01b9c1b1a8c2607a3011b831a4d87a97623a69bc5916306141d40ee770
SHA3-512 91e939a568819901a1920245c998633b97f9e3535c84566ea398f777ce1136f2b722ee97c36afff953d0e897f596052c3abe41ac056c0438a2f3e1d037d157f0
RIPEMD128 0ae8ceb881db4a6bdaebec426505888b
RIPEMD160 85e5d03e003db06956c8cba2f06de14a5f84f8c0
RIPEMD256 2525e1579211d597677d84a9014e5c7fb97d60a6f64a2678224b70775d78b12e
RIPEMD320 6dabaa978f4aef76aba953050c83ce953460ea4d70a83b4024a3e66c830d309b0e006b189b2674d8
WHIRLPOOL 79abbf3b79016e1de9f778b988867af5971d94934ffc7fd9cf52e403de2a7f43cb1c20ca427e91c6fc4b6ee2fa1b11572135380cb387fe078ce8b8d4ce4f1320
TIGER128,3 be49bf1b9951074397ed3b4d6bb0c34d
TIGER160,3 be49bf1b9951074397ed3b4d6bb0c34dcc4ad74c
TIGER192,3 be49bf1b9951074397ed3b4d6bb0c34dcc4ad74c9522ca3f
TIGER128,4 fb2fdc94ad66c6feeb4084152b6f739f
TIGER160,4 fb2fdc94ad66c6feeb4084152b6f739f4636f590
TIGER192,4 fb2fdc94ad66c6feeb4084152b6f739f4636f590aeb5f8d7
SNEFRU 064c82eb69db18feee337f04109b9cb758dfadbdbc336c20382cb9d2cc59d1af
SNEFRU256 064c82eb69db18feee337f04109b9cb758dfadbdbc336c20382cb9d2cc59d1af
GOST 13847920f084b2cbb459a9fa4d55118ac33e74e34987d1fad960402b3e85fc01
GOST-CRYPTO 57d0f26d8193457bbf0ede51d10bb845b1f6af7acc140fddafb8ed380fc44702
ADLER32 c6c20bbc
CRC32 be825041
CRC32B 6a51b966
FNV132 1ae3a84c
FNV1A32 4d31b8fe
FNV164 25c06010a953864c
FNV1A64 438805b19bb033de
JOAAT 47606295
HAVAL128,3 00c58864a1e3a4ad5b3f4f0a481f3e9c
HAVAL160,3 c5dd94e9f5b2624b50a7c8aec672403d2595af34
HAVAL192,3 1577a137336159e9462603d3e54d6262de2f63dcfc6d51ea
HAVAL224,3 520d86b81b69b32ce8c9787aa0a8217a76f116f72856b86807e8c3b6
HAVAL256,3 8745ad6343c5721b2df50e4e450a1cce18ce5c44f4af030d422e4b667754786b
HAVAL128,4 a73740d691bd0a085ab34cc4f2ab1943
HAVAL160,4 f06647b77d46cbb5418221f723b47ada432098a7
HAVAL192,4 4cbeb1edef88e5415f963fa883e8025857e303470aaafa26
HAVAL224,4 987570d7acec4f6cbdbdcf2612c65c037a282e154964e7ef277dcaf1
HAVAL256,4 c5ae62ae35ab552f898c580c5e730ffe8942e2e5150c9ccc3fdfce0fea8055a9
HAVAL128,5 941c33316f29428298846272faeea984
HAVAL160,5 1d567fb300f26ae2a52403fd037b0ad0bf066034
HAVAL192,5 3754430d762b00fddd5c20d47e10071bb2dae1cb82867c13
HAVAL224,5 008258b6ab459f660cd984fed69e04f3dd83a901af9ab6b72fa383f2
HAVAL256,5 b12d24d225117c9f7160dfee3c20f9bdf928d78764f0a61632e177c63b08c427

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