MD2 hash is "268bc9ed4c54b9f4b9076163639ee3fd"

MD2 encoded string

268bc9ed4c54b9f4b9076163639ee3fd

Your last 10 encodings

AlgorithmStringHash
md2Simple-way-to-get-md2-hash268bc9ed4c54b9f4b9076163639ee3fd

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

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

MD2 268bc9ed4c54b9f4b9076163639ee3fd
MD4 89e4f6809d1dd4d7c85d92229532d29f
MD5 921612336c22522d251db680d977ffb4
SHA1 5dac31e5b1deadd0dd098a9f54b44bcbb37ec2b1
SHA224 2f9b1e842797ac91189afe357bb384199e8a56434fd5d6cb1f475378
SHA256 88a1a974948c226b6a69dc242bc69a0acf1050727671c7c7bdc85d6d35c59479
SHA384 0c21731b3965bad230099d06ba1782cd3310c8c0b98c5887e867692e5885b8e564737778e477f063b0373ca454d76401
SHA512/224 fbae58cf48aeef8d41224e5ed8665cfba9840e0076abf04380a93e53
SHA512/256 1ad1a93aaf0fd62bf8c31936b0c978e1b7805f12a805534f9e5076ceb70f2cab
SHA512 f23b55435df9aa8a3f1a744e36a2d53dea13d7360305297bfacd7737b4bcd373e79b0a25a8d89b6c624b483d8acb75ac9d50be68021217eb77503536714562b7
SHA3-224 1f916f43df3c39694166772388a39ba335014136938fa0caf3fdfc5c
SHA3-256 34dae3f89a7e654d46e1b105e980d7460676aa1d29df20161f7457bf57d32012
SHA3-384 6380bcd0d5d61e035832223cc28b757604c650bbdc3d21a1365ee57519e78eb7b6ce3a024610f12b9a144cca0511480d
SHA3-512 1f3a67c2b4b977c19a6f7bd2f179dc69d0a5bba39fbac1a3ea8785b271d88dad358b1a46aa72dfc37d091e4eab11187ca3458975156a6ae21afc49157cea4fd7
RIPEMD128 95015dc124196b6e6ea02ac1f97863df
RIPEMD160 a7808b8203ff7215a2d349aedb478e71c71cf9e3
RIPEMD256 99c9238c8d1ad8877eeb949dbb80eb4b0f0fc4caea9bedc039826a9d2b5f45d0
RIPEMD320 b42249c09c3229ecb76599f093a1d37aab78514c98f48b86c150db08cbf9b62b659bc1f9e13d34e0
WHIRLPOOL df87283cfc0ead2d0df29677c9a7e214379e7d70b5f07179f2c15f0a4ec1da136366fe47d2599ab12151469180eebd1efe4f50acac5a891fb341585ea74c5e50
TIGER128,3 68d99fc0493318dd2e15f6dc35c9f751
TIGER160,3 68d99fc0493318dd2e15f6dc35c9f751e5c92122
TIGER192,3 68d99fc0493318dd2e15f6dc35c9f751e5c92122de54d9a3
TIGER128,4 134c3320f7d91adc4d9674e012bbba5c
TIGER160,4 134c3320f7d91adc4d9674e012bbba5cc18cb61c
TIGER192,4 134c3320f7d91adc4d9674e012bbba5cc18cb61cf8ebea1e
SNEFRU e1edeefeebcb813374185c7aef062b51734dd5fca2c8ad9b6bc0453b8eedcaf8
SNEFRU256 e1edeefeebcb813374185c7aef062b51734dd5fca2c8ad9b6bc0453b8eedcaf8
GOST 4fa4d098835b4b8518ffa329f23f35e374418671778d916e166815312b7c072a
GOST-CRYPTO 83e96b3f6dab6b1a654f9eeab15f527d8d8b5107a098637b641fefdeb0250f60
ADLER32 81570967
CRC32 01f7a268
CRC32B 76250e53
CRC32C daba1094
FNV132 1a240bdf
FNV1A32 dd2c22d3
FNV164 6753e75af6b5045f
FNV1A64 f8201f4b20e68393
JOAAT 486657cb
MURMUR3A 004184a7
MURMUR3C ceb10e56916e31190f0dd06a325d4fa5
MURMUR3F a5572fc3a1c1ec131406e9ceef08d626
XXH32 fd5bd7a6
XXH64 43a87e65ec31eae8
XXH3 761756140a6d25bc
XXH128 e6eaf707c0e1491069b6d967777680e4
HAVAL128,3 9e2bcf0bc2fe56ea4c5e3914269bf02b
HAVAL160,3 340839cc7feb4cb25235948c76a3fe11ea19d618
HAVAL192,3 df6bcd10d5cb87488b7f41a31d67ef213d302be42e9a3747
HAVAL224,3 9b899b65e9efe1e5f74e300e66facbf46ef62ec29d6c72f4e9676b85
HAVAL256,3 e95ac5c5bc66c022462076de02f2dbdd4d89ba36ddaee620ed483ee594ca4c4f
HAVAL128,4 92db56f9c824481e629db75e8b15c17c
HAVAL160,4 f468669ec6d504c6cc727a4aba5efe41045715a6
HAVAL192,4 dc56233f99e231fbba7412f6cdeaf201d9d13e79f9937d56
HAVAL224,4 cce21159f9e93a0a11a8555d9729c78ddf993a8ddab508f3fc5d476a
HAVAL256,4 a96d1bf614162e6a4731ca0089e8d4a218b36fbdae4c96fde8314dd1a286f0e2
HAVAL128,5 e7fbfe9e36bfc5329bc4e652f019dca7
HAVAL160,5 bcb3fb83359490338f848648bec7b506a56840b7
HAVAL192,5 fb0d1e60d5dc5e57b03ee4844a30510d246107be8a9db6e4
HAVAL224,5 4b7a4b050014fca16806c152e88a824da1db517713190da22282e8fe
HAVAL256,5 43ac8f9a80460ef3f989be619f45897861c0f9a82f8b725a0aa4129b1e5ac186

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