XXH128 hash for "1991" is "afdec20b6190aea7d0454aecdab67cff"

XXH128 encoded string

afdec20b6190aea7d0454aecdab67cff

Your last 10 encodings

AlgorithmStringHash
xxh1281991afdec20b6190aea7d0454aecdab67cff

String "1991" encoded to other algorithms

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

MD2 553774ad4d240550b94c767086d6a235
MD4 1238da9375d9f7df7d31c2fb5ce17012
MD5 96055f5b06bf9381ac43879351642cf5
SHA1 643fec50e79c69bc6bbb7616afd3904acf40867c
SHA224 6c08394b9733c10a600b1eb9e10bde057a61d89ae7260c77628fa9b1
SHA256 8e9b669109df89620b94f2387dc53206a82ddc71d658f8f7a2b3a9b417370d3e
SHA384 0d168997daef749c408ec513c99aa798a2392577da716bdafe287f5b6f9a74ba0e2d14cc739c37316d4d4df99c472ee2
SHA512/224 1ee1fac1869c4185898a4a8f939a2c725e7edbba78379fee7f6ce9bf
SHA512/256 b2069aaa87174096bc180329933caf75ab43bdb1659f90eceb85c2e13c8bd866
SHA512 9bd8a18321feb3aac0c96f3382674b5993ad6647ced9e9141b139569434c6296a107a4fcf3b0a07561287effc139be9c24459d621f431ebdcd2ef8f93beae1ea
SHA3-224 29999381bdf7d9700cab14d1e8f0477d0e790b2a717a990a0cfe6103
SHA3-256 4f2455d223fbd22d52ab0f721809f7a30a1bdfa88df392b69ce4ff3389a7a53e
SHA3-384 a659be402ae994874d64d274e66b39d08d350123d19d28eb23d287c940ba56b430160e54ffbc20c05c079fa74d07a241
SHA3-512 ee9288c3ece47ccd39ab3ef6ca81da86b6cfddc821e693deb9399e9d7460b22c89add28b4bc4e9fff98fe613e43b257c605a2c62dc905ad352ff82291aee1e8f
RIPEMD128 9bdbdcc8e43517387a5daaa439cefec6
RIPEMD160 5d6b5c0b142313bb1b70f83ce585e70c13c018a7
RIPEMD256 493ab18e49eeca5ecdde74c1fdcbd147ff85f501c6e57ab6d370c19b1f641ce0
RIPEMD320 89b8c0cf0d6a463356a8151cf7181f90b7dc7ba2111dd5017473ce5cdb3566611e225d21ca387059
WHIRLPOOL cc3fe65392eef5ad47967311c7b86551dca1e7f945077df41827d5a07d6b1b3b67aefd83b76b8db3ab5df6e4a1e1fc4ab0a8611500b2f35fbe9b04f69978b666
TIGER128,3 ce545eb9c2c385f0fb82de244f8d547e
TIGER160,3 ce545eb9c2c385f0fb82de244f8d547e25257827
TIGER192,3 ce545eb9c2c385f0fb82de244f8d547e25257827e09735b7
TIGER128,4 78a00e53c6ea6a5e2741acc892db5b18
TIGER160,4 78a00e53c6ea6a5e2741acc892db5b181b425085
TIGER192,4 78a00e53c6ea6a5e2741acc892db5b181b4250850d30fd37
SNEFRU 51e9c0317d7f6ccd4b9afd384ce4a7045dfba671fd6bfff93bb35ba5bfce2cc7
SNEFRU256 51e9c0317d7f6ccd4b9afd384ce4a7045dfba671fd6bfff93bb35ba5bfce2cc7
GOST 783e77d5caf42c7ba3862f157d8f1fa3ada95e7881c10ee96e2a57f1ce569918
GOST-CRYPTO 0a18405e415574725ae6d3f028024363c3582490fe004e9e876b5bb3ef3726b1
ADLER32 021600d5
CRC32 d21cb968
CRC32B 1d331347
CRC32C abe5ed12
FNV132 77e14f81
FNV1A32 94444b79
FNV164 cec5a87fe723d9a1
FNV1A64 d054b7f0d5bff399
JOAAT b12420ea
MURMUR3A e3d0086b
MURMUR3C a245f13c21710f7421710f7421710f74
MURMUR3F a163d675d6c8fb969caaab2ea02b89ba
XXH32 ed351c24
XXH64 be7633971fb7cda0
XXH3 9261fb7be8d08429
XXH128 afdec20b6190aea7d0454aecdab67cff
HAVAL128,3 ea9d2a66d9a483dda0b634d4a33a0773
HAVAL160,3 844e19f9b609bf4ed6779e9af56c2e05507d23cd
HAVAL192,3 c0ab2ee595868f97036c328e71bc68bd4d516632afaa9b2d
HAVAL224,3 c8657590bf23d8e83366f178c2eae759936e18be16b6697df035951b
HAVAL256,3 e797b32130b08d4cca9f766e42c512eaab5a47326d802ab887d757d38f0b3225
HAVAL128,4 0af8b76d09392d88a2dd156435263b5c
HAVAL160,4 d234846037dbc2d026523e85fb8b163a2b828d01
HAVAL192,4 168a0d5c546a12c32b148810e108156af7c3356edcf22579
HAVAL224,4 8b08667bc5f421150aa2cffe15e6ad7ce59a2d6d53cf892ffa89cdfa
HAVAL256,4 ece468a98d548fbc435ab7b0d03467dc812548c1ffdba49d56c055fd260f9d34
HAVAL128,5 874c296c4143b754e5271fa1d40ab422
HAVAL160,5 65bbb2c6996858c29734e09011942fc78b934d90
HAVAL192,5 be14c4936f00e156d941769a8e5215a477db8ffac82644fc
HAVAL224,5 6d29eaced2f125ae7c774be442f94959c941f96aa85c60fd114fec30
HAVAL256,5 4365977011cf85bae81bcdb0921c7de49d965c780c7e57c1936388b95a25c45a

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

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

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