SHA256 hash

SHA256 encoded string

c5b339d0f7de56b359a9df054e0f02169bfce69865348314d52240396ca98c31

Your last 10 encodings

AlgorithmStringHash
sha256['TER' 'HWC' 'EQBK' 'EVR' 'CSTM']c5b339d0f7de56b359a9df054e0f02169bfce69865348314d52240396ca98c31

String encoded to other algorithms

Here you can view hashes for "['TER' 'HWC' 'EQBK' 'EVR' 'CSTM']" string encoded with other popular algorithms

MD2 c423b3201c30891a2aa971d79b510f53
MD4 088837ebb2f135222dd253b0a1c6f7e2
MD5 dce08d1aa46c44b773229330acffca9e
SHA1 ae8350e43f6a9c4b2cd23af926e49beef60c9b67
SHA224 5c47aefc32be98c68a8e43d1d2a8d53102a3297dbe0c6ba929ba78ba
SHA256 c5b339d0f7de56b359a9df054e0f02169bfce69865348314d52240396ca98c31
SHA384 03f6674a2a88c57d2ebbfa620612c8c8db931c64ab0f8937f81ae8114146ce28518d520d0a1e6214183a5f2945368dfc
SHA512/224 ded0f9a8b3a2463e6f82044ba5bef1863dd91617b7bbb3f0e54397d6
SHA512/256 42e58374224ec9950b857cbf3233103d3c0142d1c218101dfd64f9abcdc72b8e
SHA512 145385a42fa2f9b9c7a31a31492d4a4c54e468053c2989516fce460b024ce6d74234700eb2442ed6115fb8e401355d7ab64d122a70d6fa13175a970fb2f14f20
SHA3-224 bd64a344ddfd76e0d6d854e750c55fb073d27b34da3ca2feac1d3b05
SHA3-256 43cac082f697f590fb54d09f725158ed2dac35f789a20e1ef1311572d35cde80
SHA3-384 f975e76d7d6bd45fbbb91b2924530a5c8a41ceedfb7e93b9e7e02f9ad2ffb5459695afca27801c2ae70f5c4b5f41266d
SHA3-512 32d986f0581a3cbae895e0464734d861cb88929475a6a06a1b03245c77dcb498ffbb3f1d6b88d8a55b7ca65bf265f3e9ba56b17ff3b893d288893e4253b21a97
RIPEMD128 63b1a21ceecc52cde091f34a32e3c86f
RIPEMD160 a1c78e2509834c0aece80ec6973dc5141f52e12d
RIPEMD256 61adef9e254cd381eb73bd5a477440ae3d61fbb7fa5f630f18cadb25cca0f8f0
RIPEMD320 375fbc9c5322b091716dec98187080a1ab521fdfc46ec21ca56f50a9d5f0963e7ea0843e5ba1caf1
WHIRLPOOL c59812e759942ee41e65e408760d6e3edcf20ea8b1dee6792474fa7ab0b2700f5cfa3d498fe89c58e37639cd3f6ecbd38251a12b8d29cd8ed1b5fe046f9d9a72
TIGER128,3 3683be0aef621f9248d5ae60662e042b
TIGER160,3 3683be0aef621f9248d5ae60662e042b1c21c0f9
TIGER192,3 3683be0aef621f9248d5ae60662e042b1c21c0f9fd2ba0d3
TIGER128,4 52c28615d60536da53d31a400e24bcd4
TIGER160,4 52c28615d60536da53d31a400e24bcd468f3905b
TIGER192,4 52c28615d60536da53d31a400e24bcd468f3905b443bf328
SNEFRU eaa076f56d32fc3b6b0924469f59da34dac18ed13395fccf63b7c587f787e3ea
SNEFRU256 eaa076f56d32fc3b6b0924469f59da34dac18ed13395fccf63b7c587f787e3ea
GOST 9fb6007cc35f3674a7b4367cbbe6b101d60d72e30d4b2f8d78e1439db7b2656d
GOST-CRYPTO 6a9c6037e72e3d7a98e3847fa53f20233df60f3d42091d91c714157db53ffc6f
ADLER32 83a907d3
CRC32 76f7e6cd
CRC32B 5acf6ae3
FNV132 d3e651cb
FNV1A32 c29a4f63
FNV164 84de8d863930b00b
FNV1A64 0d29c6ddb867db23
JOAAT f8acb89e
HAVAL128,3 15691b4a200acafb60eded0e8cde5d8d
HAVAL160,3 0de183bd17fac0b9859d2ac0af6c35428709dcbd
HAVAL192,3 a002d71054532364caa6a14805535e46374855f424b5d119
HAVAL224,3 e86538e098eff058253331ce0162d9a5e9ec18920d716463cfda3bcb
HAVAL256,3 15ce2bd59132901e148c78d3d6eda38356c074c868d6b31bed89e0208bdaaa3c
HAVAL128,4 e5fadd9f04b8c97b19f6ecac25af64dc
HAVAL160,4 fccdd0d951d37d247f67b93797369f8726e76060
HAVAL192,4 69ea54c0bfcdf263085f1fc3c4ba9141654e63045338e659
HAVAL224,4 9eb97fde62379659a380cafe81845f1e77ab6e807f76960e9ab799e9
HAVAL256,4 bba42a65f2338d4b556c270443db29429e1a70c62d387e54d38f3a842540271b
HAVAL128,5 abfc55ada03cca0925677766c8889fa4
HAVAL160,5 d51762ebfc8d9a16bbf9f459f7bca8db5242fbaa
HAVAL192,5 a3ad2cacb541020895edd287b0ce8111a2537eb755e42dac
HAVAL224,5 3062d8fe24f1ee5d554af9b4dd604cabe7329063a04e18c578ca6918
HAVAL256,5 34023ca67a7b9eeba45ada4b0a8b0524d002f762b51b63936a5d787b598133c2

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