SHA256 hash

SHA256 encoded string

391872af47fab3ebeedfa39ded1dec70918b317ad5cb32d371783364326be10f

Your last 10 encodings

AlgorithmStringHash
sha256%5B%27FHI%27 %27CSWC%27%5D391872af47fab3ebeedfa39ded1dec70918b317ad5cb32d371783364326be10f

String "%5B%27FHI%27 %27CSWC%27%5D" encoded to other algorithms

Here you can view hashes for "%5B%27FHI%27 %27CSWC%27%5D" string encoded with other popular algorithms

MD2 677856d308299d9ad53f4b5c45ea592d
MD4 a8dc67ea2ad925edd29f1cc74736da75
MD5 7bbc79a816f1d755e3c9a621eaf3a5a8
SHA1 725ed623fa716cd6fd6db192bf0726279b7f4396
SHA224 40a24500faa405bb3bb4e786f0b556728d43586f0f942ff8e8b9d5ac
SHA256 391872af47fab3ebeedfa39ded1dec70918b317ad5cb32d371783364326be10f
SHA384 c2db53dea5203a2abd1e3b5921fe594e40648f87e61f38f1bdcfa37070316201557ad7b4adaf8894c590b359a01d5589
SHA512/224 11d3d7174815fb0473489cb8076cd62da9da6a602491937ec2066f62
SHA512/256 2d501e4ebe626f96fb11eb98c1e8b591183a3c1b971ff52ad6bbd489abadc58a
SHA512 b0898c263c6a285425982a3f87bd3445b3502824828153a25e3757bf12cf33e3ed5315a0fbfb6a87f9a35e7dc18e7e68dc084c209b1a7c1524ca0ce66a18bba3
SHA3-224 3c42a44886eed9e10e1328e1f15302e91239707833557682d6bf6027
SHA3-256 105065b12c720380200cbf7bb50fe5dcbe776679cc327ef9c0c440fd1ae4b734
SHA3-384 70081138147d752a01e63f7dd5a13db664be5c03ee6c24270a8274d8d31468011558a80e3c7aaffe4fc8974e447d1c37
SHA3-512 952520802f3bd599e1fcea18106379c09b1408c704a45f6644adb852bf36a345c9569b42d7996594a623c86497fbafd44c071b7dcb18dff61784e04d3b23b138
RIPEMD128 fdd7cff85857ec99f759592d9371865b
RIPEMD160 3b042b9a9c90a1851e0ed6f41ed98f8b393f0991
RIPEMD256 6491c87245152eb2b80b276c593ab3867297aec5ef5081ed6f59547d771e2ce6
RIPEMD320 d84a8a0ee9bde3cb962e668b10823c5dd19c00e377a10b64753890b2fe7e12d293d73cb7b0c73bec
WHIRLPOOL dff0abe56717481feaadd6386f3ffdac91208253c2d756c49b393edfcfe8f7cf45fab9fd0fb0db770b4b9f5e36359108df1b4241a9a452c08b8980073b6121bc
TIGER128,3 68777dd74720e6cac340f4c611ee4932
TIGER160,3 68777dd74720e6cac340f4c611ee4932fb9e8997
TIGER192,3 68777dd74720e6cac340f4c611ee4932fb9e89976a0f94a7
TIGER128,4 218d546eea9e24e91ff1570ddc8eefd1
TIGER160,4 218d546eea9e24e91ff1570ddc8eefd1cb82213a
TIGER192,4 218d546eea9e24e91ff1570ddc8eefd1cb82213af5831b5e
SNEFRU 42ed46f6927ac963d5f6c04b41f53abce691e4c7ca2feb3397355ab0931e5aca
SNEFRU256 42ed46f6927ac963d5f6c04b41f53abce691e4c7ca2feb3397355ab0931e5aca
GOST 7dfff05651953b7f7f7074959c8dbe72ae111105001100d7abeed3e504a7f66a
GOST-CRYPTO aee075405fb6d9be68508cccbe7174a17334bc1fc0b8911c6f60c88acb46121e
ADLER32 4a58059a
CRC32 b213c29d
CRC32B 49d0b606
CRC32C f3488f8f
FNV132 db4acb62
FNV1A32 a11c0c9c
FNV164 972e0bf828dd11a2
FNV1A64 c5e67627aec29e7c
JOAAT ffc4533a
MURMUR3A fea12fde
MURMUR3C 2bce9f477e2fd8270fb9d4d6c1dfdd0f
MURMUR3F c845dc582ecb85688e9868f0139adb43
XXH32 7a36aea2
XXH64 43c828d9709d3f6d
XXH3 d97f7a580cc7f5f7
XXH128 386a2c28424d78765c9fd0be319ecd2c
HAVAL128,3 27c537ee084592217120c6e81fd4aadd
HAVAL160,3 d735bebbcf4799208d59ee8286b4288ceaad055f
HAVAL192,3 d4b3df9e76d8f7ae73cd5cb7df3f92ac80d4d2d12d6c8d26
HAVAL224,3 eb39c0f57e4177aa534163fa8685c1d564c8842caef907d69ea41625
HAVAL256,3 913f3ab1b549f734f029b22b45204003dfe4e6bc6b3dc00d4ce13970c1932665
HAVAL128,4 a5c68ace025ef3cf39ad1f52d35c5d82
HAVAL160,4 16469e7bc9fa59bafe60e315a00c8613c56eda0c
HAVAL192,4 73f4da755a5274d0cbd3f7d7651594dbb58deb8bfa0f4ee2
HAVAL224,4 bd124f5bf71b11b6e89cad2f1247f684017971509bf26753e50be879
HAVAL256,4 69485716458f8a2604ed78714a8dcf74ce2cfaeb7608f6b7e2e2d8a85d955e4d
HAVAL128,5 40d9a890711a447acc333730fd8aa681
HAVAL160,5 021e84ead6b43e67b8bbac6556fbf7a0dfaa9f6b
HAVAL192,5 9bde0a3ef576c4ef78574aea10c6241980d23e18a640ffe4
HAVAL224,5 14d5c27d1b2b6a3035c3ec0f57f6881e615c3d4e6c2a7a6bfa3692e3
HAVAL256,5 007749ff1a0c6f2a95d57b67e424094d2b508bcbf5f63c205e4bf7186cecfd59

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