SHA256 hash

SHA256 encoded string

942269a67115a326bd51e559cde885ce93bcc015ec22d0cd9e9aeb30ec9f8664

Your last 10 encodings

AlgorithmStringHash
sha256['COLD' 'DIOD' 'MAIN' 'CTRE' 'BLFS' 'UTI' 'IMMR' 'INTT']942269a67115a326bd51e559cde885ce93bcc015ec22d0cd9e9aeb30ec9f8664

String encoded to other algorithms

Here you can view hashes for "['COLD' 'DIOD' 'MAIN' 'CTRE' 'BLFS' 'UTI' 'IMMR' 'INTT']" string encoded with other popular algorithms

MD2 2e0b4dfafff464776162e3845bab4867
MD4 50e20c873e2833b35ca243311b3e1bce
MD5 a62dee97629cff504187fcdf0c8603ee
SHA1 b747093b103f3b6850b39edb6353692466103b20
SHA224 082e148d4388d9f11b4a3c62ba48ec65ba324377702a6b95560966c9
SHA256 942269a67115a326bd51e559cde885ce93bcc015ec22d0cd9e9aeb30ec9f8664
SHA384 ce433df7fb4830fd8626aa2e92d649084dc511d9adc117bc35112781a97c10092ffb86477a2d576766cd2865cd86175b
SHA512/224 8de52a0cbc7586f9bee0f9b3499ff490fe6ad7697489222fa8336483
SHA512/256 d29aa445cadd286c763f3986401979b38d1ba7e3d58b7ed298ccb5646db5f989
SHA512 5b7db00a59ab132615ea5cf2ba0b89a03a90fc6dd11ca2505d241a653691704eb184ed222912e4d839fe43e5e81d1fac29bb47fd84ee1e23c7e49bd0f32f0783
SHA3-224 5e814837a9c6b18e6a51c2598fb105856c837e50044337d283e33190
SHA3-256 0285f786e3bc2812324dc3b9ae378ce528ff5c6b1c6793e37d2db1e2aa9a31e3
SHA3-384 2265628fbf2437fd33a03eae74841d361932280b18ea7001f59e579fca91a9676e3e74b13172227d6377c7b2b44e87b7
SHA3-512 7e2ae2b788bc94613f80f5fc4524960b286298366432700b5e7e660f50e3d3f82e9d2976e025b5033562ca57c08fa986c60fb21edfef97fd99feee639c11abdd
RIPEMD128 0831cdfabca0241efe077c830fe3c7b8
RIPEMD160 48ce9669adf54e1ae47b6b98d78ae0613c416b78
RIPEMD256 36b28d966a4983f4792135acc987f5ad8628a7eff027cb2cf909d2b04dec1871
RIPEMD320 9c1a85790355c371910399a08abe784b6bfc00920ae02ed30cbe7b1fbd3adff928e984bab1caf960
WHIRLPOOL 76e16c2c5da93053e35d247a388b9507f39227d935b7957813a22825bf933ace8f236df14bbcb3ae0fa3a45ca658ef0d7aade618080ef0f336a46edfb09e3063
TIGER128,3 f6f6167909c79ed8e18f74b7073b079e
TIGER160,3 f6f6167909c79ed8e18f74b7073b079e81378126
TIGER192,3 f6f6167909c79ed8e18f74b7073b079e813781267fadaf49
TIGER128,4 63d1b458cac18ed773c1e3771cee74c1
TIGER160,4 63d1b458cac18ed773c1e3771cee74c1aed170a9
TIGER192,4 63d1b458cac18ed773c1e3771cee74c1aed170a973e438dd
SNEFRU 6c1e0f2cba6b6f7e0404c79d68bab14548eed0f766dde98ff5381e3108dcf13a
SNEFRU256 6c1e0f2cba6b6f7e0404c79d68bab14548eed0f766dde98ff5381e3108dcf13a
GOST 691bedf5f2740180312ce2bcf38d7efaaca3006b13632348416c93cbc8b3e832
GOST-CRYPTO cae2a60d127c39be878232152529bacbc8d56eff8229fc31a18e526f90c0415d
ADLER32 72b80d2b
CRC32 b85e4b2f
CRC32B bbbdeebf
FNV132 557a9ed3
FNV1A32 a5c5534f
FNV164 b4736f144d0ea653
FNV1A64 6f640d5be24ea38f
JOAAT 0115d7c7
HAVAL128,3 149d4b8d4ff0619adb97b53fff84dbbf
HAVAL160,3 63b07f7ad3bb7b09b8b6fdc579de67a00a5077e3
HAVAL192,3 7dd2b189a28c5f4d210d1676ea09cb9c831a657eca4c0223
HAVAL224,3 c1f5a7868d1462e051c77ef703a14595b792ed048233ff9417fa1571
HAVAL256,3 8fdc4f84187ba6792145807b95bf781a88d5bab23c119e6ddcfbbd9897067ebb
HAVAL128,4 4d2e416bc62eb88c43fc36c78ad7d714
HAVAL160,4 4337da6968037efc96c3c533e02a6f444fa2d5de
HAVAL192,4 43cf5b26309849cc7a9c6d795f3c1f27dcc6370afc9412c9
HAVAL224,4 f21c83476a1e4c76a67e335929e9b98591f3d302b57b87bc1e9e16da
HAVAL256,4 7a8bb60d6a7b4a1db1e9a3d6c9a18de959352d126e9c8e7dc4459a7a087f67fb
HAVAL128,5 e9a29abb6397062777d2bcff62e70d9c
HAVAL160,5 21548c63de1c00772f0afa2715b2b57d8e369d71
HAVAL192,5 d34b4d273d4d609ab5d345fddebf341344811cc41f258ddb
HAVAL224,5 0ecac69930038bf39078b1258c8f083ea46181dcd74ebf6153700f48
HAVAL256,5 561a03956dcd73111ea12b564c93b6679dac55dceb7d37ed02a0feceae357cf4

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