MD5 hash for "12345" is "827ccb0eea8a706c4c34a16891f84e7b"

MD5 encoded string

827ccb0eea8a706c4c34a16891f84e7b

Your last 10 encodings

AlgorithmStringHash
md512345827ccb0eea8a706c4c34a16891f84e7b

String "12345" encoded to other algorithms

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

MD2 2fe3cb9e21922819e79a2781af74e36d
MD4 23580e2a459f7ea40f9efa148b63cafb
MD5 827ccb0eea8a706c4c34a16891f84e7b
SHA1 8cb2237d0679ca88db6464eac60da96345513964
SHA224 a7470858e79c282bc2f6adfd831b132672dfd1224c1e78cbf5bcd057
SHA256 5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5
SHA384 0fa76955abfa9dafd83facca8343a92aa09497f98101086611b0bfa95dbc0dcc661d62e9568a5a032ba81960f3e55d4a
SHA512/224 a7e0fc5cff225f68e762eb5de497d11554775f6bfae7acf5cfc4c209
SHA512/256 ee039e3bed452ceb91427fcef9f0e01b6af73272c8a103e5bb853c9e3170edef
SHA512 3627909a29c31381a071ec27f7c9ca97726182aed29a7ddd2e54353322cfb30abb9e3a6df2ac2c20fe23436311d678564d0c8d305930575f60e2d3d048184d79
SHA3-224 94cc697550f5c7399d179e206cf1e7bf90e17de8a87ff0f9368ec839
SHA3-256 7d4e3eec80026719639ed4dba68916eb94c7a49a053e05c8f9578fe4e5a3d7ea
SHA3-384 161609f9697539edd5e03b6f5bfd1735f5c6037e0b00027c45a80386d5ebdcd3eb4bde062710914c7f37bd45f1c8021d
SHA3-512 0a2a1719bf3ce682afdbedf3b23857818d526efbe7fcb372b31347c26239a0f916c398b7ad8dd0ee76e8e388604d0b0f925d5e913ad2d3165b9b35b3844cd5e6
RIPEMD128 802338594db79b21dafa9739e9de3d6a
RIPEMD160 e9cbd2ea8015a084ce9cf83a3c65b51f8fa10a39
RIPEMD256 724feb1c33709f31b819b7fa52ddadf35406ba66c7e7c6374ef75d15d9de9695
RIPEMD320 58b3afeb751bafd5558c7c9dd35e3dde7cb4ae820e9759b937b6084bb3c9071c22110f700527fb4a
WHIRLPOOL cce08bba3f2e3c029cd257104b06d4b075772d5f514cf1b7789506f9a69d53c51464881d2c18445ab290553b302f67a24b1c69e3e737a46215deaf43517e4960
TIGER128,3 61d26192cf832c07612c541552d80027
TIGER160,3 61d26192cf832c07612c541552d80027bbb3f520
TIGER192,3 61d26192cf832c07612c541552d80027bbb3f520064f48ec
TIGER128,4 267e97cbadee8b0b6a7635f63e0e5182
TIGER160,4 267e97cbadee8b0b6a7635f63e0e51824afa4cd5
TIGER192,4 267e97cbadee8b0b6a7635f63e0e51824afa4cd5bec859b1
SNEFRU 468f11f7f926cdfcde5287d3db51442ba4f80a247c4db002219fedec7dc19686
SNEFRU256 468f11f7f926cdfcde5287d3db51442ba4f80a247c4db002219fedec7dc19686
GOST 5b07c66d439fa40f128a4dd4a71c56cc7ae6d6a01b9dab900c4d2934b8631d78
GOST-CRYPTO 62966f61bad899bd2053e031f00c9700d1e0191d8f332a7116fb8e0d54c041e7
ADLER32 02f80100
CRC32 b8486542
CRC32B cbf53a1c
CRC32C 18d12335
FNV132 deee36fa
FNV1A32 43c2c0d8
FNV164 a92f4455da95a77a
FNV1A64 e575e8883c0f89f8
JOAAT e0ae3d5c
MURMUR3A 13a51193
MURMUR3C d048f87c0a59d930d44fed94d44fed94
MURMUR3F 20f83a176b21dfcbf13c5c41325ca9f4
XXH32 b30d56b4
XXH64 c6f2d2dd0ad64fb6
XXH3 f34099ede96b5581
XXH128 4af3da69f61e14cf26f4c14b6b6bfdb4
HAVAL128,3 e958f98ec7d548caa2d5c5c109111243
HAVAL160,3 1c8a23ec5676687de27b6dca731a9ab0c49db5b4
HAVAL192,3 f63278ab1bd83d7580a73c8ef3a7f17908fa01ed8ae7567b
HAVAL224,3 3fda25b4bed4003cb14d6638d0a25a5ab6d638523f69fd4fc997b6f8
HAVAL256,3 5ec3816f867020b277d51370cc1e67c55bdda7f3f3df7ed625b900aaeb369f15
HAVAL128,4 f846ff7c3da618e4b8506ce48d6490ad
HAVAL160,4 6d79d2e416c1469128d73530c4f49bb1fd5acfc8
HAVAL192,4 b44cc32d024a684cb4d5e3d5f1e6dc2043a4429123a55306
HAVAL224,4 7a42fe725e77179e3771629c05d7e2f0979a191a27db203e3c4ec6fb
HAVAL256,4 bbb576cf29163f7cbe3882373309d590e474121bbe111cf7a5e8507923825459
HAVAL128,5 8ef301d34af9be1549f7c6726d2cea6d
HAVAL160,5 b8c8437dd930c761af39c4d0fc3ec7bd18dc31eb
HAVAL192,5 47bb49d543782ccb1b20d1507a3200473a704f9238766232
HAVAL224,5 12e1ab1ba558094e1dfbf124de769399e00d88b7327299bcbe6e2caa
HAVAL256,5 92ed98bf1d14cfaa65d9783363a89a3ba8e03b26bfac331fb7e467d9be0aa3da

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