SHA1 hash

SHA1 encoded string

4c18b542e813044072ae5685d0faf7683179980c

Your last 10 encodings

AlgorithmStringHash
sha1['RDN' 'SJI' 'HNGR' 'OTIC' 'FNHC' 'GM' 'VMC' 'TECH' 'NWN' 'KELYA']4c18b542e813044072ae5685d0faf7683179980c

String encoded to other algorithms

Here you can view hashes for "['RDN' 'SJI' 'HNGR' 'OTIC' 'FNHC' 'GM' 'VMC' 'TECH' 'NWN' 'KELYA']" string encoded with other popular algorithms

MD2 9e6484b0a82d5d6d06599dfcfe9ba1b9
MD4 a3fcff7605cbacd31436d7eb54273e6e
MD5 fa46dfa00469fb478736edb5447bb972
SHA1 4c18b542e813044072ae5685d0faf7683179980c
SHA224 3c4445a39c89155643d64e798d565b971cc2982800affe2e20d1e3f1
SHA256 3ffeead808801b6413a4a8ce1461d45bfab793e3fd710c1abaa82e41d0947884
SHA384 d2be413a5ea17ea48fe850b758f5e4fc9a5dd4ad072badb9dc8d7c142065fbb2c9cbf90cdef156a633d1f9f65d5e9bcf
SHA512/224 148b2abd0a13c2aa10f485c987e4aa64fc3826e0148ac98b08c3ac79
SHA512/256 6b0c4b12ec83911a539dec5a38b9cfeab0a1940d127e5e8c7fe7697e10431dab
SHA512 1cf635eb18076d94f6d9ff420fabe88b5955a8e0b0afc6d69668279f12d71e64b7c0c24f5e7747a6ba0deda65efe46f2ac0d5911a66833900294d9d43a1587d1
SHA3-224 d769a478ccb78fdd3634a631ed6adf0b22cd438ee197aee7404c3643
SHA3-256 ed1ef2063ae4cdd20fe2683038d5e158145df2d811a0699908dbae57709af3a3
SHA3-384 881a8de0e97572d4d0a5ca014e65bd5e5813538e2e2f349f8367a79d50f16dbba19e2ee5fdf17b7834585647801419a6
SHA3-512 dead3cb6ba09aea7d4b7aef3f79b4f1eb03737f2a82746e07f06202c4423ba64a81468451682f8e7513cd1710e2fef8cf3d910356784bc5563aa471a7f0abfaa
RIPEMD128 daa7fc1f7f799c004c5b1152064a8470
RIPEMD160 8d4bc00222a8e2b5dcceddbcb4b340d627a9936a
RIPEMD256 fa87718327b58e788a5d24f38d8a65fcd2f03af97271a82e3f8a0ab622e3cd6d
RIPEMD320 5c96e0845950dcd175fdd24d8c7493aea77149733a052f5c847419b3e82bf5ef0f129ccd229f57b8
WHIRLPOOL e49e139d5a5952debc9c61d467077fa2560af084c66d79069248bead2bf692279c7bd3bfb4050116bc415fb7e5fe3a61049339e01b7427844fa0f4d177aee697
TIGER128,3 69a74a99bcf4f1fc448ff30d141ed00b
TIGER160,3 69a74a99bcf4f1fc448ff30d141ed00b49cf128d
TIGER192,3 69a74a99bcf4f1fc448ff30d141ed00b49cf128d15147016
TIGER128,4 3fd92cbe635add4f53b4db2478499a6e
TIGER160,4 3fd92cbe635add4f53b4db2478499a6e4a3ef4e8
TIGER192,4 3fd92cbe635add4f53b4db2478499a6e4a3ef4e8f9c02d67
SNEFRU b160397a1839f190dccdc35bcb3300b131f45ea9cb110f2aaca5c6a42e13e835
SNEFRU256 b160397a1839f190dccdc35bcb3300b131f45ea9cb110f2aaca5c6a42e13e835
GOST bf5f2949ac6431bcd0a523b3824f05da3831b0be220575e7ed529c90f215f194
GOST-CRYPTO 43ab7a616f2bb4c2d60cb62867368d2e07f4c754e2bd940f942b2b10fd56d259
ADLER32 fa590f33
CRC32 b4b0ca43
CRC32B 136b1447
FNV132 d6c9cdeb
FNV1A32 97af17c3
FNV164 c26ffcf56c0440cb
FNV1A64 3b635ecd18b8e6a3
JOAAT 9539919e
HAVAL128,3 b8fce784e119c861246ca479d35b2ef7
HAVAL160,3 2bad2966bed050b8299a0124fab5b6aca202c24f
HAVAL192,3 563ddb6137ef39201cdd952cfb7578d3ca5894347cbbd5d9
HAVAL224,3 916a43da7115fee12fceebdc149799677c73e262e6a084e8db8f8600
HAVAL256,3 1de08ff37fccb262b87c30a42fa2324d0158810bf8a52e2f2ade46f23bdc2f8f
HAVAL128,4 caab064b20a96ae1e55b4b1b64a49705
HAVAL160,4 9d34e56e80855c46d40085ae27239ae3b31dae22
HAVAL192,4 64858a8adb79b1db1f42298a1423142ba387cf2a2d3fd5cc
HAVAL224,4 545cca4ec42942ea7985690a193ec2787440e95174f4609edc881069
HAVAL256,4 fd82fdd19a4fef47c12e81027def167e7fc72a9f56ea07a8f5362c499473ec1e
HAVAL128,5 b1eb85aadcf33fa290d4cffaf7ae5760
HAVAL160,5 5a6b7b49d96c1741feda1a75e49b3c1b15e33174
HAVAL192,5 0bb9b8c67b65a5dd8e70cc7a58980f537b46539f7de95d54
HAVAL224,5 c47bb8994a8f69eb76eb130dd724c70b1420bf90c4f9b1a00f525d4a
HAVAL256,5 33614c9377c330031b4c9a34796a8f1c44040f254b9b303b483941ec36efb782

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