SHA256 hash

SHA256 encoded string

c2988c3e5e74b7d2ce8794604f56dc35ffbe51a6abfffdda57f9d211a36c08b3

Your last 10 encodings

AlgorithmStringHash
sha256%5B%27PEP%27 %27C%27 %27USB%27 %27TFC%27%5Dc2988c3e5e74b7d2ce8794604f56dc35ffbe51a6abfffdda57f9d211a36c08b3

String encoded to other algorithms

Here you can view hashes for "%5B%27PEP%27 %27C%27 %27USB%27 %27TFC%27%5D" string encoded with other popular algorithms

MD2 92f0888042566f995ec7a445b1c42830
MD4 dd8dfc624efee69de5467d960f0eb1ae
MD5 e6276ec0bc3f3637900946f40c17785b
SHA1 a475c18d5774986ed6b5376558ef487df1e24b31
SHA224 44719d410b697219ffaae2a6a947c5aad1c243a9c791cca6d8d3521b
SHA256 c2988c3e5e74b7d2ce8794604f56dc35ffbe51a6abfffdda57f9d211a36c08b3
SHA384 a359c6ef584fa205fd1e6a0b8fb8133525702bae7bd0e06476007071057b51426b7e92c8b678a03d78ab8377661895d1
SHA512/224 2b1f2c2ed68f5019754cf3dca8e53b85e92aad5f0f0552fad4648195
SHA512/256 7250e1c8adc5b7d801a5d30aeed95c9d243053aba1faae27fc6360938391f921
SHA512 7db622fdf4eaf2a7a7df5b55f184a9f22cedea5db0b1f3858a870306f7091f9e8c82097179adf532682b4afecd5b97a1db7d26c73d0dd281335919c7a8b12a86
SHA3-224 08d5d16e178b1ac6fea6f8c92c99e87c5d79ca1d99211a52f1f3042e
SHA3-256 de5d6a393461bde5fe94096116643dde4db5be1d794b83318efb11d0de024e9d
SHA3-384 5a636cb1dec75f86bc9aeae7f12e4f8c5dde405cf3d2f336508b7e1fa2f9e940c48f2a2359485f17712e686487804f3d
SHA3-512 17ad190e94dfa7fd9b07a9be6f6bdf3c453b4465ba56e932494b5e701f06169e569c027fbc7c7636d73cfb158d802f1115455b5a957377e44319b36792dcc366
RIPEMD128 ab9ab3bb87a6c6f2b7cad8ce05ca5b3a
RIPEMD160 f4852e76b1aeea32b8fda619b91cbb259bac101b
RIPEMD256 fc37bb941af95698e49e0ad17ccc19a858033ad1b1dfd729df590d155f265954
RIPEMD320 80f83b27f6325564563e7a0138d372fd0d382d3e6749b83d74643f4db8030dc4db1101bb3fd12f2b
WHIRLPOOL 49b742b5c625646d607973311f1f2b91f4d348dadf98ef80257a31e5c804b3c55b50b8bfa5804ad6e41a7e522857c873943e815719ba7da0d21149255c8fefa2
TIGER128,3 f290522680bb55357e72b9b3693c0063
TIGER160,3 f290522680bb55357e72b9b3693c0063fa981608
TIGER192,3 f290522680bb55357e72b9b3693c0063fa98160801f750d0
TIGER128,4 25f32a78d3b8246d7050c317f9d28ee7
TIGER160,4 25f32a78d3b8246d7050c317f9d28ee715325233
TIGER192,4 25f32a78d3b8246d7050c317f9d28ee7153252339d32c265
SNEFRU fd4027d3c76183a8472f75757df147cb55eef8cf82aaa8a0a7664bb9f15bdfcc
SNEFRU256 fd4027d3c76183a8472f75757df147cb55eef8cf82aaa8a0a7664bb9f15bdfcc
GOST 33c91f64aefb13e7bf2f496b8ebc0dbe12e680229a335f92f6c0ea56de2e34eb
GOST-CRYPTO daa41c5c9bf83b5038654f2922284f57cd06ea50bc86ef27133c53c69f8ba0e4
ADLER32 c41408fa
CRC32 13729699
CRC32B d1cd8d53
CRC32C b9d1eecb
FNV132 9bb6723a
FNV1A32 cd354ce0
FNV164 b0d5cbda287d0f3a
FNV1A64 f627323efa1aed80
JOAAT 09fdf4d9
MURMUR3A a82766b4
MURMUR3C b3c53502ab18e6124ad7686b31817ea5
MURMUR3F df0c07258e7ccccca064095ad1eea0d4
XXH32 57fdeb46
XXH64 b7456c264e5653ad
XXH3 5c92649da6e020f7
XXH128 175dfa05d0255b9368c8d602a0b6116a
HAVAL128,3 2bac4849cc48e214a34ca0965c8e505e
HAVAL160,3 1c0e2a3c3f550ca4d8611e57c04dcd59ad258831
HAVAL192,3 f96546f11ac52eb4447aecbd5ae8d01e2fa464ba04e630c3
HAVAL224,3 e68ebcfa0e3fd3a1a92dafa4a2da026fa287c97e688b2e2712141020
HAVAL256,3 3de9ee8c486661009ef526c363b7a2474dd626aaabcfe199cf9f641fb9601f25
HAVAL128,4 c34360c23864a8ec41155f34e87c10c7
HAVAL160,4 e024fcb813fd85e8872d749198d507ad4a2c1706
HAVAL192,4 d780e315d32b29989357bde8dd6c3285b9167bd10c8e5980
HAVAL224,4 1bf7746416b9ddccd5ad1a74d662c4df3a5403e20437d2d6358365a2
HAVAL256,4 012f8a84f0767bc389651e274d9f1729260e5e0da7303dfc661db215bd2241a5
HAVAL128,5 3982c563606ce637e65b45daeaf0852b
HAVAL160,5 dcdc01e1218500e536512b1b9eda65b12ea68aa4
HAVAL192,5 15157f20dcfe3e8ef4ff8bf01485a678fda827cb45b3559b
HAVAL224,5 4fcf6fdc1d2d01bfd509475b720d041ddb1dc2c51e6632244bfb208b
HAVAL256,5 96c76918bc877dba6038f3f6783ef37065a464d730112de2448e7e61ac2e51a9

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