SHA256 hash

SHA256 encoded string

46e26ae9cde0497637dd8a1984348c14eeb4c621362cf7c2ec0a2eaabf2df791

Your last 10 encodings

AlgorithmStringHash
sha256%5B%27FIX%27 %27LXFR%27 %27IVAC%27 %27USAK%27 %27CNC%27 %27ASC%27%5D46e26ae9cde0497637dd8a1984348c14eeb4c621362cf7c2ec0a2eaabf2df791

String encoded to other algorithms

Here you can view hashes for "%5B%27FIX%27 %27LXFR%27 %27IVAC%27 %27USAK%27 %27CNC%27 %27ASC%27%5D" string encoded with other popular algorithms

MD2 0569dfcc487257315af2b3be33d75580
MD4 0a22c5d15958c30084c66b90399144d7
MD5 4a76181a4fe11418a32bdc03b1ce5c19
SHA1 8029ea3ca7b0ba99c6174438fa5768dcb44dc547
SHA224 2f98a121241afc837c380bc949c6d0543e82cc7e7ef022cc7106f080
SHA256 46e26ae9cde0497637dd8a1984348c14eeb4c621362cf7c2ec0a2eaabf2df791
SHA384 f0a5c4b9476406f1e4bc1cae6fd8d607cd391c4bd766be785f9ec581f665922512077813a0b6682299b1240dce4d776f
SHA512/224 145a982104bfbe41a6adb8db9a5df78354017b7307a9e5d3d2b22413
SHA512/256 ec8342756ce73ac328c519cd5e6970b48eb476ca420ae1f780c8f85ae364d4b5
SHA512 3c2a1cbe551c033133096faca38702a3eab5500e06d9096566c0a840ac4e2871e621cec0c7b1400b80d1eecb6c4e3e294415024b301586a932b82fa94c0787ba
SHA3-224 f98ec528dff9f3dec15088619eeea017b94b7ffae2fbcd35d0b47219
SHA3-256 1e537ba1b35dc2f97564e77219f549cf92f23cbacaa446183abf6697316f4fc2
SHA3-384 44eaae129d60f9658c8aeb5046ddc7a93745f78e36d7c8ecf1c65d941e438f93125d290c899a2cdbb0dcbdbded4c0bd2
SHA3-512 d36d2f32578f1c508a4f006a442da6672ac926ee233068d32245c9af76a3c557442481534de252b8d894dc0219523e156a2552e6c2f0c1289cb79016f710d676
RIPEMD128 eebed2e415213a9d42d131ba339e2b4a
RIPEMD160 51814a2b39f5cc82531733bd1b50326b13f8753c
RIPEMD256 e7a56280168b961a498fa142d12955796b45120967ab87ccf4e8c1894992d1f2
RIPEMD320 815706c896c2ba788e23451f11f28b674840925f541a09857790d8cc551ea473caf8d20bebf9c7b9
WHIRLPOOL 37e9ed778401c39143e8a204be3d5ac8197560ef2f1d96cebbbdb30b0f7e90f6319601bd8cf192aac357dc118b3bd8fc93709027e73e41b7c9754a9ecbc1639e
TIGER128,3 d6811808ce6b2657984d1d098f113d85
TIGER160,3 d6811808ce6b2657984d1d098f113d852282ca08
TIGER192,3 d6811808ce6b2657984d1d098f113d852282ca083cf329d5
TIGER128,4 ba6da7c82fc4739daad264ac66e3cbf1
TIGER160,4 ba6da7c82fc4739daad264ac66e3cbf1672bc029
TIGER192,4 ba6da7c82fc4739daad264ac66e3cbf1672bc02989baa6bf
SNEFRU 94367f37a786ba44cd69d22d7e1b4e46e577a858f9aeda103cad5da0faa959d6
SNEFRU256 94367f37a786ba44cd69d22d7e1b4e46e577a858f9aeda103cad5da0faa959d6
GOST 3ac515ef4cd58e4ece30a5f09349778fbb09038ecd77f820ab4b1f25dce119d7
GOST-CRYPTO c83f230680fc597fd2e8d57f4f13ac356fe354e1e6d39038a2168143bb92d64f
ADLER32 fcf20ea8
CRC32 4153c308
CRC32B b7098c4b
FNV132 3c8d038a
FNV1A32 2b9ba480
FNV164 afccf6255504dcaa
FNV1A64 ce6a8d8152978e00
JOAAT 7431a75e
HAVAL128,3 a3d4fed61bc54ddffc890559bd5b3c55
HAVAL160,3 b9e7019cd212870e71ff2f0db1fe93959802216c
HAVAL192,3 d7807482148e4579516f55883551b06100fe7d8ceef17347
HAVAL224,3 3882f9024eaae1aef6ec95cef600253901b647e26e9e2e1796083e3d
HAVAL256,3 118d41d10dae95a5e45292154b2de4963d0045eb438e0af571587e348ecca034
HAVAL128,4 92b1ba734115bab6983089be46855d30
HAVAL160,4 2e790aeaa203c03972b9db03587f06e0f58b08ce
HAVAL192,4 f0b8d168a41aa088e1bf579a842615e02bf4073597249fdc
HAVAL224,4 310dae62ed54d84b0da0e5e1e8a664cbb51c739d9243e54f24b9a937
HAVAL256,4 d08fb467d8d4966e022fc5e45b5d058aa21e13abb32f149d0c6ad0a2e573662a
HAVAL128,5 29556b1b3ddef5e59575fdc918d56cb4
HAVAL160,5 7126aee9c99ec77166766e9ce495c3dfe9f267f7
HAVAL192,5 9029659c6563e418cb5d98bc7fe2292ca5c126f190893c9c
HAVAL224,5 29eef3c4780030602bf4faae848a07ec3d7920b19926acc8af4144af
HAVAL256,5 abed75fa7094ea3c9ea2c3a01ce12b6be84e4947beada54feab6626f7cef6acb

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

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

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