MD5 hash for "charlie" is "bf779e0933a882808585d19455cd7937"

MD5 encoded string

bf779e0933a882808585d19455cd7937

Your last 10 encodings

AlgorithmStringHash
md5charliebf779e0933a882808585d19455cd7937

String "charlie" encoded to other algorithms

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

MD2 8cc50eec4df9080019cd9c21a549feb6
MD4 2a5c90e94728cf1d4a1dc2385144be7b
MD5 bf779e0933a882808585d19455cd7937
SHA1 d8cd10b920dcbdb5163ca0185e402357bc27c265
SHA224 f98b0bfbd65cc48cd72932f4a0aac35f1e3042551cb65a2272430522
SHA256 b9dd960c1753459a78115d3cb845a57d924b6877e805b08bd01086ccdf34433c
SHA384 4c3394918f09431dfaa5469beac2ad022bdba129abf269458f49e9eff604e24842ee1d81e1ebd3725a912ec37fdee30a
SHA512/224 ef8f859c562e8f15cdf0f920e99f86d06061c79915c67d4b3b33ad0c
SHA512/256 68f752f583a7282bf1e8ca9d3d42513f6858e4caa0ae0c31794c87901440c313
SHA512 b6b1266e713a640a4f6d7b8450b54dbd45c2874ea634dfc9bb43d5e50ad6ee047b2df87113cbfa2b3b0ae9091cceb1b24bf8e9599f34b9091438e9cca220fa78
SHA3-224 0864eb8ee3e683f3f652b81b7e6b58e9ccefdf3a15e554375102201b
SHA3-256 43e5de25a1102ebf2320e5f07cbc3e4f8b3fb3b1cc3fc4b7f4a4c0b6357cb3f6
SHA3-384 8475dd31fe605e4c8d10c3ac45e1bd8f410d2bcd6aa73725cdcb31ba864b2e6185cfbfc22ca7a5cae2769c385b6a13cc
SHA3-512 f1c86697bd5739a5491dd44675d7bad319f49b0c42b7ebe28f9360ef7c0b28b00e57541de36bf57b649a1b63c735f22b078dedb42405c2998111a4a6443adc6d
RIPEMD128 5d5fd3a57b0aba06c3ff151e6e1a7c2d
RIPEMD160 78f2bef0374cd71a40e7637f5b13677bd7ded4bd
RIPEMD256 8f4030c65ca1b8c5b4b1491649b395a730bb7f9e53068c5114789baac17f82d4
RIPEMD320 82d1f6aca0b6f552afd0ee2e95facef3ef17f10356b8fd9e464e1dcdcc8087c9046a664c03690698
WHIRLPOOL 95f6860b245c76acdfc1092c94bbba35e93c618bf1c9dea714328c68b06711fe6dbcad331cbe93cf75c010173e8854902f832df669ffaf0b2a91b5fbd29eac4c
TIGER128,3 a86b90101433b301b2179f32808b01c9
TIGER160,3 a86b90101433b301b2179f32808b01c90e4b1370
TIGER192,3 a86b90101433b301b2179f32808b01c90e4b13704d3dced5
TIGER128,4 a6b9f275b2721b2bfb533c5be08ef608
TIGER160,4 a6b9f275b2721b2bfb533c5be08ef608233dedff
TIGER192,4 a6b9f275b2721b2bfb533c5be08ef608233dedffbaa62a8e
SNEFRU 66b3bf42321aba771298ecbde5c934222732873bec3b64db7cadfad1ce6ad044
SNEFRU256 66b3bf42321aba771298ecbde5c934222732873bec3b64db7cadfad1ce6ad044
GOST a007a27d06c6a7b852c702b3ce43660b17879859ece915c4b43929aa2bf86070
GOST-CRYPTO 5717368c941ba60a0d106b1ac72f4b4117d03fbceae1e83b34f9f346778a0fca
ADLER32 0b5402d9
CRC32 59d03268
CRC32B 6edb45a6
CRC32C 4bfabfab
FNV132 dfa18f8d
FNV1A32 d056a441
FNV164 f567d8ab6da0a42d
FNV1A64 a3683978114e2021
JOAAT 4c098cec
MURMUR3A e3460417
MURMUR3C c1701848ac6b9991b540dc9db540dc9d
MURMUR3F 453dc5efd7aa94b8039b1caae93996b4
XXH32 626e8129
XXH64 b07d6ce55b0499c2
XXH3 cfcb9dbba6d68599
XXH128 32d915173ed6734f649d0807142b8e67
HAVAL128,3 dbf708c9cb0c7069f2c8cbb9963c8229
HAVAL160,3 73eb1acd060a688302d8df4e31de8b659df67a60
HAVAL192,3 76669b6fc5a18ee79d558147804ac8712f82bd21a437e148
HAVAL224,3 028231dc54653b8c27a7bf36c9ce829348367d5dac466fb48b44da3d
HAVAL256,3 eb86dc9ad36edfbbf6db702d66363ce08f1b4db7d90c66be0e8f8c302c01a3b2
HAVAL128,4 ec7f5d9ec77689d91ddfbb2c29faf20f
HAVAL160,4 d6a40f70d360f8c9b4ec66f6ac4505c5fc9fb114
HAVAL192,4 4ef7be49a4425b38d76043a6da9b029ef990a3dc528420a9
HAVAL224,4 558793237c3411b2900622adcd3c0a2e700d1922e9f87fb40354767b
HAVAL256,4 281b912270afb33c3e9ed1b77619bb8b8f521362e335ed4763a6ba9d1eac6b06
HAVAL128,5 ebc7e8952c9b947dbbac183fc540ccda
HAVAL160,5 f26fb6b5732a9955da6104bb212a9c5be5a99898
HAVAL192,5 cf2d97391ef775dbd17848efe2f3c44eff9641b098053c8b
HAVAL224,5 3e7e974ffa385476e3920eb4fe8578ccf8e7ee32169cca5f7a7fee49
HAVAL256,5 094993d07f9961d5939ad501614db58adb6084ec895267df759da482a3d1bb4e

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

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

<?php
    $str = '¡Hola!';
    $hash = hash('md5', $str, false);
    echo '<pre>';
    echo $str.PHP_EOL
         .' &rarr; '.$hash.PHP_EOL
    ;
    echo '</pre>';

How to calculate MD5 hash in PHP with md5 function

md5() function - the mot popular way to get md5 hash in PHP

<?php
    $str = '¡Hola!';
    $hash = md5($str);
    echo '<pre>';
    echo $str.PHP_EOL
         .' &rarr; '.$hash.PHP_EOL
    ;
    echo '</pre>';

How to calculate MD5 hash in JavaScript

The Javascript has not built-in function to calculate MD5 hash, so you need one of the external libraries. For example: emn178/js-md5

<script src="https://cdn.jsdelivr.net/npm/js-md5@0.7.3/src/md5.js"></script>
<script>
    var str = '¡Hola!';
    var hash = md5(str);
    console.log(str);
    console.log('-> ' + hash);
</script>

How to calculate MD5 hash in Java

To calculate MD5 hash in Java use "MessageDigest" class from "java.security" namespace

String str = "¡Hola!";
 java.security.MessageDigest md = java.security.MessageDigest.getInstance("MD5");
md.update(str.getBytes());
 byte byteData[] = md.digest();
 //convert the byte to hex format
StringBuffer sb = new StringBuffer();
for (int i = 0; i < byteData.length; i++) {
    sb.append(Integer.toString((byteData[i] & 0xff) + 0x100, 16).substring(1));
}
 System.out.println(str + "\n-> " + sb.toString());

How to calculate MD5 hash in C#

The easiest way to get MD5 hash in C# is use "MD5" class from "System.Security.Cryptography" namespace

string str = @"¡Hola!";
using (System.Security.Cryptography.MD5 md5 = System.Security.Cryptography.MD5.Create())
{
    byte[] inputBytes = new System.Text.UTF8Encoding().GetBytes(str);
    byte[] hashBytes = md5.ComputeHash(inputBytes);
     // Convert the byte array to hexadecimal string
    System.Text.StringBuilder sb = new System.Text.StringBuilder();
    for (int i = 0; i < hashBytes.Length; i++)
    {
        sb.Append(hashBytes[i].ToString("X2"));
    }
     Console.WriteLine(sb.ToString());
}

How to calculate MD5 hash in Go

To calculate MD5 hash in Go use "md5" package from "crypto" namespace

package main
 import (
    "crypto/md5"
    "fmt"
)
 func main() {
    data := []byte("¡Hola!")
    fmt.Printf("%x", md5.Sum(data))
}
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