MD2 hash for "cookie" is "bf3cdf177f739f8d2aa6ee4338a2ee32"

MD2 encoded string

bf3cdf177f739f8d2aa6ee4338a2ee32

Your last 10 encodings

AlgorithmStringHash
md2cookiebf3cdf177f739f8d2aa6ee4338a2ee32

String "cookie" encoded to other algorithms

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

MD2 bf3cdf177f739f8d2aa6ee4338a2ee32
MD4 ae53c83eda8805b090d9439da7c8f706
MD5 2dccd1ab3e03990aea77359831c85ca2
SHA1 59c826fc854197cbd4d1083bce8fc00d0761e8b3
SHA224 2668ab2095ada6ea60e5d052856eae2e20c8260dee8075fd0f1f0e86
SHA256 d7e83e28a04b537e64424546b14caf9b67bad2f28dabce68116e0d372319fa00
SHA384 31dea2d78cc477855f1ffa03bb47c6944cacda18ed93ab7052e6ba086933839ee3f80e04943df5158a659b5d1f7c5ff9
SHA512/224 e7094daed0c9b85bfc19a15e155c8bec8c7c9a231cb00498fdd84480
SHA512/256 4e7825b1dc80eeaba3ba78f2b91df0fa00d15ea4bc8d7ed0756f62bbe80f8bbc
SHA512 c33801d826287c610ef0f17a6806f95a7378e5ad4d42a46802133ad0a713413766ae0ee1b9576fea4ba324485e10f518b02257b48ec39ec3edf790b4ed4e38d4
SHA3-224 236c628a3ade54071fe93d4cb4c736809629d52c9e51af147801485a
SHA3-256 1e0451753b35f37d93907488c57d15e223e5ecc93b28fce8832e6dbcff479f3c
SHA3-384 227c3161586478749b27af0ea9501c1156dff6b71e5c134e9f6a4ea346acabda3183f0bcfcdbeca40375584cfbd96f7d
SHA3-512 8b65ad3812ff5d70d89a224d18af8c9df7c375f9eba948943dc439a7caade977697a346f93e1cd971242cce6e4580c25460d1eab27ccd262d4efa10cfdb14338
RIPEMD128 11ed0c6687dd82f5e41050dd87e1b63c
RIPEMD160 9884858a1a7a19bc6711ef232088f36d4935d5e3
RIPEMD256 fca6d7b1fd5b002444cbe9a8961728d49da98df44d34e4b8f8aae75d284283d8
RIPEMD320 31cb36a29889f2e4a5e705448c0a670ff820afdd029df488f62b3529a5f01fd0e20ad3d192122998
WHIRLPOOL 8587c43ec73caaea47bd7ac2a4614317dbebe1a85452f7394e5ccf6c91763669d6be2f7e7f4e0db1ccd559a29caa4d31cf5a0f6e11f05bfa202a09b948cf5f44
TIGER128,3 8b88c02dc06c3abdea84d64984f30952
TIGER160,3 8b88c02dc06c3abdea84d64984f309524a23cef6
TIGER192,3 8b88c02dc06c3abdea84d64984f309524a23cef6a02b7d07
TIGER128,4 a1dccc95b650448fde96730cea8b2134
TIGER160,4 a1dccc95b650448fde96730cea8b213424c197e4
TIGER192,4 a1dccc95b650448fde96730cea8b213424c197e4ed0ea2af
SNEFRU 41c208f1cdefa5dcfcebbd0eb1fa3f434bb437987f5fcba595b4b9f6defb91c2
SNEFRU256 41c208f1cdefa5dcfcebbd0eb1fa3f434bb437987f5fcba595b4b9f6defb91c2
GOST 398074ff7affd6613379f2b8a24c678abcd9049bd634585c7d52b3d8a38aef8b
GOST-CRYPTO 77bd1198829db431977b38d6e5e46d46d2a06e25f0798bac4db2dd29188de23d
ADLER32 08b7027b
CRC32 c1054bf2
CRC32B 8ae0ba66
CRC32C 940acc96
FNV132 85d753eb
FNV1A32 77a740bf
FNV164 ae584f437766132b
FNV1A64 46726d6ad9e9607f
JOAAT 2be69054
MURMUR3A d5f33cfb
MURMUR3C f5732dc8f6561acff945a577f945a577
MURMUR3F 649e867042d4fd65271e07a37cb5772f
XXH32 1588ddd9
XXH64 0c91facf0eed7e56
XXH3 efb352459ca82f2b
XXH128 1b2b29727409b98847d3c32c302a29ea
HAVAL128,3 c083e93ac2e37a9998156594f08c5423
HAVAL160,3 8a7b3cda8c0cd04010f8d94c1406bdd5812ede5c
HAVAL192,3 940c23463f30f0bdf8fe19b0907b81e36a587f318b40f0bb
HAVAL224,3 f23c454b008b087931e841a791ea8ca2aa53614b5bf2069c2f477731
HAVAL256,3 eeb4b26fead7989bb2994a586aa27ca09ff472a4120dacb6026fcd18db105c32
HAVAL128,4 92cca11d9baf428c57fb134f240416fc
HAVAL160,4 df78321d13ef8a2d39a965f04708743d0ab38962
HAVAL192,4 3aa191d213705f335dd3aa4901c175c97f7c499ff2ed8127
HAVAL224,4 1fa94dc1abd6b7f42ca6b2e5089c77fb64cc227a96374b2020d4c64b
HAVAL256,4 112ea098fe381bbe999e0d83db18a2e07635b04b0bddcc2d788e6dacd75c63ad
HAVAL128,5 50e2d533a5ea121abd85d56866e75295
HAVAL160,5 b9e859b46500b62db6bae850db20f5b5fdc9d739
HAVAL192,5 f7b5c520b37d6a376cf0e94bab3205677b602686329e3f9c
HAVAL224,5 dc6ca9a684dae3ec419116879d46f93887abf31c6310f4deefe84214
HAVAL256,5 6db283d3037149608659cd3973e06d14662c6b719ee26c7cc0ce8633b0248cfd

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