SHA1 hash for "1q2w3e"

SHA1 encoded string

9ac20922b054316be23842a5bca7d69f29f69d77

Your last 10 encodings

AlgorithmStringHash
sha11q2w3e9ac20922b054316be23842a5bca7d69f29f69d77

String "1q2w3e" encoded to other algorithms

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

MD2 603fb443f183556991db1ada3ff9af1b
MD4 49aee7ca146af37eac3bf0eac39133c3
MD5 3fde6bb0541387e4ebdadf7c2ff31123
SHA1 9ac20922b054316be23842a5bca7d69f29f69d77
SHA224 6cb3f94b9845bb03f7a6a4b4e4929f31fe592982a9c2453decd1432b
SHA256 c0c4a69b17a7955ac230bfc8db4a123eaa956ccf3c0022e68b8d4e2f5b699d1f
SHA384 0a48791fe700088e7b107700307337a3a337f9b55cb9d85daea04d7501f5cca3ab6244795e33140a3c0e0ea1375d79c1
SHA512/224 94c3d9d609a16f97be8956e60c66a8641d1d1c8853e31f780c8ad4bb
SHA512/256 59dca95c8e93535302bb11b09a167d0f644f7ffbedca06e6de147a3524f99b97
SHA512 da2ca4a2b6616e28479a372752377f23a2361e1df855d881ac987341f837e3f260f6d5d68e40f0b1fb62d98e3309a3593b12314d6e7b91179642426709c5d6f5
SHA3-224 24ef213b1bbcf5c628fa5c0ddb44b55e404bfcbf1386890b28b110a4
SHA3-256 7b8336ce4b759f7649bd14c2bb1b91cb9cb42d57db8ca37912cc5aab1a1697a2
SHA3-384 375c22f20dfc335d7aa4cf546a0e3a2938e1b6b0eb0ad1a0b2d43195025ce24b13b0d7693cdc3e1954bd26432ba22818
SHA3-512 1a01714ebeb6cd52f3cdc7f6840604408898c2d0986fd0e875ef34371002b617b381c96be682efd091db9403cca721fedb4678242dbebef8b5ba75938fc56765
RIPEMD128 440119d75ce9ec15888874b09de30615
RIPEMD160 5c2c5cc744436cf9fccdc04816689f1597f6eaf8
RIPEMD256 d4691fef9961747eea3fbdbfed6fc3a16bd32c57d420ebad3ab6406321ff6945
RIPEMD320 6490f13555c094c0a0fe9dce3a260d765d4f65f52f0e89b9742958c0f8a35343d3e9c8c5609b6003
WHIRLPOOL 99f32ed97a1a7b45fd93cc9a668ac918f90770e3fb262b2dd48d9ac9a6eb86abe0197a865e058f2e619fdbfd72faf6dfeb4f41e6f961945dde28f2e140dfbc9c
TIGER128,3 34e3ec394a23e84452db9b9988e8078c
TIGER160,3 34e3ec394a23e84452db9b9988e8078c06d36591
TIGER192,3 34e3ec394a23e84452db9b9988e8078c06d36591538bc2a6
TIGER128,4 00ef18afd193585dad1fcfae42332f81
TIGER160,4 00ef18afd193585dad1fcfae42332f81b5d157bf
TIGER192,4 00ef18afd193585dad1fcfae42332f81b5d157bf64da3485
SNEFRU 7730aa2b3a085a4540b04c72d7fe49e4cb60ea37b9297080721df5ebb524c9b7
SNEFRU256 7730aa2b3a085a4540b04c72d7fe49e4cb60ea37b9297080721df5ebb524c9b7
GOST ce1deb6643d1b68a2253a205a21d1c1d9c8450e933d2fd21151d9670a4f9d7b3
GOST-CRYPTO 5ae6d254c1095d7d95f25b26b811985229568c808b3c5e6a337910569b073ad1
ADLER32 065901e4
CRC32 3f44ffc2
CRC32B 787902cc
CRC32C e5e339db
FNV132 9b911fee
FNV1A32 3be406fc
FNV164 c01228e4a3517a4e
FNV1A64 94c6869fafb6337c
JOAAT 3bb9ff3e
MURMUR3A 2d277054
MURMUR3C 07d6c4d19cd898d6490c2f84490c2f84
MURMUR3F 6a54357bbc00173fc61d87c13486de8f
XXH32 d575a798
XXH64 f731e66c06458ac1
XXH3 d62f848543e97af8
XXH128 7c1fecda9f432c1600c3daaa87540053
HAVAL128,3 eae0bddf94036463091ea9fe5d6f17f3
HAVAL160,3 fc29306527204d475703b481349090091ae046ab
HAVAL192,3 62b32dcc85b9bd3341a409cdb545275cca56dba48c51b783
HAVAL224,3 77e122804318176fdd1c85289cd191ee9b72de45640f366aa596c02c
HAVAL256,3 c5f148d9e69d095e38687ac6d98a143591b76bab36a52e05671060200acc68d6
HAVAL128,4 6340093a95035fc97f0b03c69a751629
HAVAL160,4 eeabcc2319230479b1a1e35f40fa9027cabfc18c
HAVAL192,4 fa85cef116722ab63f2289d9538020162a47fcdaecb807ad
HAVAL224,4 f8b76ca1a265ae95f5d24e7a0cc6f6ff1155a9647ec1e2e553153541
HAVAL256,4 3fe8e366f8adbc02696aecc4872ed6b19e46f115837166da6e0a38e8039760f6
HAVAL128,5 13bf9b65354c0eaa65beeb5d9dcf46e2
HAVAL160,5 f498d328dd0fdad76cb81a3c228f79ce7f8f9b0f
HAVAL192,5 5f8f0e2f667eac2e77845a5bd9cc10981865e8f0442d90ff
HAVAL224,5 0e22d3c98b5531148e03e5800516538920e49866e6688e62c4dec7b8
HAVAL256,5 f3c0f31b49fbc4bd572958cc27e199f187ee97bbb6cbe490b74e5dc693b062f5

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

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

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