MD5 hash for "['OTTR']" is "0cdce7ccfe7514193704dcada8af8b85"

MD5 encoded string

0cdce7ccfe7514193704dcada8af8b85

Your last 10 encodings

AlgorithmStringHash
md5['OTTR']0cdce7ccfe7514193704dcada8af8b85

String "['OTTR']" encoded to other algorithms

Here you can view hashes for "['OTTR']" string encoded with other popular algorithms

MD2 c99559f15f1daa069fbca82ba3bc47aa
MD4 5a7a67b2e01949323891137d79556b73
MD5 0cdce7ccfe7514193704dcada8af8b85
SHA1 b6c060a81c6d67098ec382a1248c22f95b2634a2
SHA224 bf5a1c32ef0f7162c777bdfb9db08344570049c6a99bf04648b6504c
SHA256 9ad9688d0e7223006e1aaab043b626f4257387a3b05eec716b089dd3dbc54553
SHA384 392ba7086aa1c299914ce1d2414ed746ad8346b12ee37d79735eed8dc4e004faa9fbce739c463581f1eed2d8c10ce163
SHA512/224 aa1710c066cf1cc523d99733809920fac19dcd804b081c805e4cdd18
SHA512/256 409ae1ba6cf98f6d986eda7c8a8805d7eaa7ad0ee2567ea4bba0dd7502911ebf
SHA512 01a04d130ebf881fdbc5f534e3144b83a78cc7891e3a5e0138c3e6fe682f7c258e980218a31aae13b3bf5463f1cf70bec72399036a442887cfc554bad7fa7a8a
SHA3-224 06236d1b499dbcea0775b60cd0f73943dc47fe4ea827c0a389589cdf
SHA3-256 dc552cae67a74ecfc9a1f99dff7a6cc5c9815b7d009103fd638678ac083dc686
SHA3-384 6c53ce21ce112b4fd6b95152a727a61589438b5ca7eb27dcdf13d34a4611d3a900054a0bbb8c4c9a8c53efa031fca323
SHA3-512 dc2030d755161fa988c53a7e6082e020b88523a73ddb7e2eca7f531a6cbfb67c7715f1e0b094e8a23e2aff9db3f0bf0c3c52665e978552ebe1530dfa75dbb54f
RIPEMD128 b6004e8a84b10bdd9f53437c8e56dab0
RIPEMD160 17d9dc6ad1f218ac5bb7bb0502b9b42aa204c7e7
RIPEMD256 90aece6254849ec1893f9823d72e64e7fba3dad6d3a897106a25114837e61a72
RIPEMD320 d7b0c4050252b753bd333865895097ef6d5fe419857ab3e815fc169f8299d865072130a98cc9739b
WHIRLPOOL 4aca66b4c74513a2a54927c3e8cbfd9e2d762f050dcb237e41901eccb6121252bfa5adde91afae0a9c9fe7ac1d1616e50b11b44b4dfc4ee0eb03d4cea4fdfc00
TIGER128,3 cc62dc83d6a8112913aec5aa49aa5dfa
TIGER160,3 cc62dc83d6a8112913aec5aa49aa5dfa45f50221
TIGER192,3 cc62dc83d6a8112913aec5aa49aa5dfa45f50221c319b899
TIGER128,4 1eaedfcaf924176c0ba5736bfe4befcc
TIGER160,4 1eaedfcaf924176c0ba5736bfe4befcc478b3ead
TIGER192,4 1eaedfcaf924176c0ba5736bfe4befcc478b3ead50f376ab
SNEFRU c3e54434babd8d25ae3a0ab2bc3bf4f3b3d5eae7287bfbd1373ff54cc0212c97
SNEFRU256 c3e54434babd8d25ae3a0ab2bc3bf4f3b3d5eae7287bfbd1373ff54cc0212c97
GOST 7577bc396232c630309a56989d58821f0678983e9d11765668561ce5205b32cc
GOST-CRYPTO eed537534e2fe69b2dbfff25ac2e7858e667775ac300c47a355eeb8970234c7e
ADLER32 0a600250
CRC32 aef8c91c
CRC32B b0a11b5e
FNV132 8bb63d50
FNV1A32 4049896a
FNV164 0da2b342eff3bd90
FNV1A64 d916b9481d57a6ca
JOAAT 4258cfcf
HAVAL128,3 591d52d210c405583a996d3819d55067
HAVAL160,3 edf5c82c54cc0cc2461a1c00f1681ad42956c477
HAVAL192,3 be98703a2f864b076af86c528f6164058c982c69a7c58512
HAVAL224,3 5352a4000a212e6b6277135e2d9cc1a35c5fe9abb749ddcca6838025
HAVAL256,3 1288e207c5e53e3011296fd0100b3daddfe3172f907d805db085b2ce718140fe
HAVAL128,4 7e249a3181f14d0e851ef02a82c0b2a0
HAVAL160,4 8c8041f46e49e1550b6eb83192bebd6279a05568
HAVAL192,4 f150774ca0915eeb2e6ddf7f31293cfff767c1f24ba46cc6
HAVAL224,4 9487aa87cfcbd3b69ddf6ea8fc96e55f1651ff86aae1f7a90681b9dc
HAVAL256,4 3cad0c060d46b505bab83dc5fd08e1263b0a7858a3bfed1ddf5e88edbd86c6b7
HAVAL128,5 e8890578c733184736e6ec3179019335
HAVAL160,5 26620fb767bf534bc2198fea0b1b544a46b94c46
HAVAL192,5 a4ae87d4a0ac44a6e17530651ca1fecb351aa501c51af0c8
HAVAL224,5 1aab80d59b87d6e1eaece31c838c3b1c2160c8fc58956354c6d45720
HAVAL256,5 e34fa9b7ea922f7972a49bcc81b09e8816c382b29de4ba8369c9349553d13aa9

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