MD2 hash for "-" is "87f28fcddf7e6150bac455514d7a269d"

MD2 encoded string

87f28fcddf7e6150bac455514d7a269d

Your last 10 encodings

AlgorithmStringHash
md2-87f28fcddf7e6150bac455514d7a269d

String "-" encoded to other algorithms

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

MD2 87f28fcddf7e6150bac455514d7a269d
MD4 82b6f6ff4b9d7d59096c2095659d7f43
MD5 336d5ebc5436534e61d16e63ddfca327
SHA1 3bc15c8aae3e4124dd409035f32ea2fd6835efc9
SHA224 35a32648c9d799c3c14cc3b90a89d8b1b9567cafae644fce03a4686b
SHA256 3973e022e93220f9212c18d0d0c543ae7c309e46640da93a4a0314de999f5112
SHA384 d9c7e80d0b30f3cf8b70f6b90e51a306888cbe40070b6144fd67061558adfdf502653da4bd87671286448539cb2d016e
SHA512/224 61da52d8472eaf32dcd586679833dbd17d95bb8bbe76c510435ed49c
SHA512/256 e4096aca867c266ee0340c958f4d2244fd6120f589f8d544dd51d6231c9ee39e
SHA512 7c0b0d99a6e4c33cda0f6f63547f878f4dd9f486dfe5d0446ce004b1c0ff28f191ff86f5d5933d3614cceee6fbbdc17e658881d3a164dfa5d6f4c699b2126e3d
SHA3-224 b0c5fb2b79a02467f5345d4415a02232523a228c43e76a45cab662a6
SHA3-256 a7327aa627ec3566be2a4a0c62e9b90c339b85dbe13d04977536d6ba4c2db8f6
SHA3-384 12bf8b05c03c252d4e41dca59da8466f4a33eb950c5914e7a2cb38fddb55af311cbf227c62325e0e0412b6900e3a00ae
SHA3-512 e2b34234e732f0de9b0c31feac86523ab5b06db70475581328d354fe119f060233764c16e9460a525d477683acd0f095d43c7769f6d2a5a282a29df4ff563d2e
RIPEMD128 cce66016f96d83cbc625ad3970b9706e
RIPEMD160 4c3b58aa82048b1db748e6b816165c87c551e013
RIPEMD256 b9f295b7e733fa3261eac7d697c9b510cfc2cba36f2be0ac8834609edec366b4
RIPEMD320 2c4b52faddc3bcac1ea5122f69c687ce754a30fed2948fdaf0dbc5914eb6735ccd60c89dc832caae
WHIRLPOOL 32e264b553808c529f676bf052d9a384e2beecf4ace2e8b34eac48f9cf198b1f882c2402c908c6478e4ca61298b69f7a798620f9750a132848150e2dceb3237a
TIGER128,3 ae04d062c2483f1c0ee2ca1ef2aa4fdc
TIGER160,3 ae04d062c2483f1c0ee2ca1ef2aa4fdcdcfff55e
TIGER192,3 ae04d062c2483f1c0ee2ca1ef2aa4fdcdcfff55e4f224bcb
TIGER128,4 4e84a1ed70dece6512ac8c11d759e358
TIGER160,4 4e84a1ed70dece6512ac8c11d759e3589e4de68b
TIGER192,4 4e84a1ed70dece6512ac8c11d759e3589e4de68b4acce018
SNEFRU 2fdd751ba5e5f0e8bf52cbae4ef48af5baa30ced86ad7ad89ee1199463850b48
SNEFRU256 2fdd751ba5e5f0e8bf52cbae4ef48af5baa30ced86ad7ad89ee1199463850b48
GOST de43018dd832f20284a9be5dd44d82e05bead77900b48e695e8ae162ccd529b0
GOST-CRYPTO c7901b91ebdf331fe4de2015a84d79d193e5a3ac8c56aa6d285aa4c0de5e9037
ADLER32 002e002e
CRC32 78701918
CRC32B 97ddb3f8
CRC32C cde8915c
FNV132 050c5d32
FNV1A32 280c9438
FNV164 af63bd4c8601b7f2
FNV1A64 af63a04c86018698
JOAAT 371a6e28
MURMUR3A f945531f
MURMUR3C 1a2a16f56417bdc96417bdc96417bdc9
MURMUR3F 0c5a83528b31e10cfcea0a6ec2305dff
XXH32 0bea1f17
XXH64 7a162ebe4ce6fc55
XXH3 de2fb8d1c1a20f76
XXH128 eb7df54fc0abac3fde2fb8d1c1a20f76
HAVAL128,3 2cdb1ecc45d545d2f1b09929464c2790
HAVAL160,3 6f623f1a9a6cacd97713546f618e2e198204d4f8
HAVAL192,3 7d48fd3f8f6a851c37708354c4f4cf5389835b8f281d5516
HAVAL224,3 53a64de953c8baaf050918fce4a62c8e6d3e2eb92da6e02e3b800e9d
HAVAL256,3 ee25d3d2bff7d76392afa203b1268cb82124fc8e0d0f37a50bf398552567801a
HAVAL128,4 950bfc816b0b5e8464fe5013044606c1
HAVAL160,4 5047ef267a1770b5f055693ec37967ee23579822
HAVAL192,4 87ea4523b91f66553e0e9339c448ecef725bf247dc05a12d
HAVAL224,4 2a2ab06d0cf8002d594014c90344ef34a781ef42b812c93cd3cfd6f4
HAVAL256,4 bccee4d07307d549e6d0146d2bbac881be0393ce67ffcfa73c8c1db4155deeaa
HAVAL128,5 b0a370bab74393e70b2b5e769c1830d1
HAVAL160,5 a93ec2cbad46e8afb5e35e7c7bbaafac10239a30
HAVAL192,5 d8d60f965837ace0d6a07fe76f918423bdf6405de7c122b9
HAVAL224,5 c22782268310049051a5b1042f6ca1d2b29de77e27c296cdec290fc2
HAVAL256,5 38ea669a8a503c0832dc64f8c0ce78aa087e12e28ea611dd3cbbaf7d9fce8eeb

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