SHA256 hash

SHA256 encoded string

39ceb54e7be3a02ef77fe3a3b0b68071976ccf42efb529a269a6df27190e1e98

Your last 10 encodings

AlgorithmStringHash
sha256%5B%27HCFT%27 %27KINS%27%5D39ceb54e7be3a02ef77fe3a3b0b68071976ccf42efb529a269a6df27190e1e98

String "%5B%27HCFT%27 %27KINS%27%5D" encoded to other algorithms

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

MD2 9a48433a8b0948e74259da5704631cba
MD4 70029017b719d701479e7ac3b1399fb2
MD5 37bf4c48baede22625ea3895be9b994d
SHA1 cd1ff0bd7579a3aa4d198c4351624e3fdbb70a21
SHA224 cef9769fac887a6550b8bf04f31a2598e37bd6540f353e46bf3e941a
SHA256 39ceb54e7be3a02ef77fe3a3b0b68071976ccf42efb529a269a6df27190e1e98
SHA384 e646ffdf370d436b7c0c83b65bfe4263567d552cc54d9e8de1e0021892297e4dae3c21a9a280450c6ddf9afd04a5a158
SHA512/224 424a1833e1ea768221f2a1316028966dc4cc5f267b78bb0885860995
SHA512/256 7e74b31f099d3ea4ef767223f509edeab0e3b72cf7e18dd9342c6b7dcbf0243f
SHA512 ec54cdc3d363034a3717b7e89db2a87e78773d947e8419bfd415080413057a78eb869d41d77fb22bd03586ab17cce596b246735a7b0decec398ba04ee877c817
SHA3-224 55cbd2e078bcb1ad7f20f5a15925c2bab4ad22360ebb713a03135e37
SHA3-256 730116d4d4e532c3efc172d1efbac10ac1183d9baf0d5c80ce1ef2cfe9cd4b4a
SHA3-384 ab832f586bfa3f53f87963882db5c95d26a08bb7a756d61b83059df5715d1867b0a7179240179b89f682872525cc1272
SHA3-512 6e5f410983138abde19cda8f5b03b51ac66c2594d5df1cad4d566c7b79ce90ec949f0bb13fd4ee3e0bb3c4bd744ee1f3ca94697d2a72ada0ad3975254808834e
RIPEMD128 1cfe3caac8bd992defc01a816f509c5e
RIPEMD160 c975836e1e53fbebcaf9cf2c79031c3a8da573e1
RIPEMD256 2ef2b2263b9468c49150402b0fa231e885c4dd3fcc2b329e3502a892b6408a98
RIPEMD320 4bfb9b3a00519df715ca3129ea9509cf41d7854300fbc6a5e384483237a11836032829e465d68ebf
WHIRLPOOL d6bae577900062b6f2501f916a67c874b5ef196ede461c3d9b61b894340f71738a8ade2b9d526416149d945ff75db54bf867d59041d0f9948d03758ec506f40c
TIGER128,3 ccc7aad2ae203a86671e073fdf94379e
TIGER160,3 ccc7aad2ae203a86671e073fdf94379e5ef73d1b
TIGER192,3 ccc7aad2ae203a86671e073fdf94379e5ef73d1b54bfeacf
TIGER128,4 e4b8ef4fe22c25af1cf1e6eb80df9a86
TIGER160,4 e4b8ef4fe22c25af1cf1e6eb80df9a869bb3b79a
TIGER192,4 e4b8ef4fe22c25af1cf1e6eb80df9a869bb3b79ad462f404
SNEFRU e180c344f9d89a06fb1dc289b805cdb6d12f46436257a5cd8a2654e286caf673
SNEFRU256 e180c344f9d89a06fb1dc289b805cdb6d12f46436257a5cd8a2654e286caf673
GOST 9ce8c1cd5bcb53dfdcdaef79643e6ab5bdaeb3e26d73ca02b01cd11baf023548
GOST-CRYPTO 1cc3b8372de7b14e2276b1f8eee87d05f4f8918927e43517c9f92e7bd4c4961a
ADLER32 51ed05ed
CRC32 53b7a9ea
CRC32B 85106d6c
FNV132 b34fb623
FNV1A32 c676df33
FNV164 8f598854601822a3
FNV1A64 6b8dd148ce805273
JOAAT c855667a
HAVAL128,3 6252747aff05a7e77727058371770928
HAVAL160,3 4bef9170f2b4b8595e97ea6920151b65af35909d
HAVAL192,3 3c4011bfca5baf701699ef5ce14bb336be8d453a11341caa
HAVAL224,3 c5aff1534d114c77a842709b42e250162165beb9fab13df388750398
HAVAL256,3 df56ce919bade83aa8512a83496a5700f85927efa6af1b3df78d73310d2a09e9
HAVAL128,4 f532058ee4d9f23c937ec6db3282855c
HAVAL160,4 03fcda37e42c83135d255018e27de4b08d9b1fbf
HAVAL192,4 6ad01e7c41af2563593e64018a30ff652a25724c1d91f3ff
HAVAL224,4 58067c59e52b0317797deba2b4e865dbf5d994180c3806f84c930312
HAVAL256,4 a51072a4733dd9266b0dc9c6d9fc68551c6d47315b55ae417922609986e5b4a6
HAVAL128,5 c17dac682cf1ec27d818df6b4a754005
HAVAL160,5 623408acfdd296bdfa202d44f9f54cd6e841fb33
HAVAL192,5 148e895e9720e303b39ae461d4c6962390be6060d7b29f00
HAVAL224,5 1e8c6795c5bb0609029639e15c1c2550a862949dde2a7aaf53496bba
HAVAL256,5 2e245491783c9e29e096edfdd1a0f161ad692f09ce2aed1ffaeffbfc7bd87f40

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