SHA256 hash

SHA256 encoded string

42800d7b56d7fd09f07a0c59b591c8d6aeba637cfb627239e048a741d6547508

Your last 10 encodings

AlgorithmStringHash
sha256['MSI' 'OTEX' 'DIOD' 'SVMK' 'CTRE' 'GSBD' 'FRG' 'AGM' 'AMPH' 'GPMT' 'IMH' 'LSXMA' 'ELAN' 'AVNS']42800d7b56d7fd09f07a0c59b591c8d6aeba637cfb627239e048a741d6547508

String encoded to other algorithms

Here you can view hashes for "['MSI' 'OTEX' 'DIOD' 'SVMK' 'CTRE' 'GSBD' 'FRG' 'AGM' 'AMPH' 'GPMT' 'IMH' 'LSXMA' 'ELAN' 'AVNS']" string encoded with other popular algorithms

MD2 6508972b6587573e3537652d4e73b3cc
MD4 be5ff1a8ae78135cf2a01773d4e726f6
MD5 83ca4b6ca9822109a3bc0a9ac12f36ad
SHA1 b8ce07e2cf12e4f8abf427d08c6c5065de598bf5
SHA224 2b4755240edbbb3b563f730bf8403ef03758a4c73beb5a96f3af4b2a
SHA256 42800d7b56d7fd09f07a0c59b591c8d6aeba637cfb627239e048a741d6547508
SHA384 3d567218b618d5da3e561062576cd423cb9cdc13755dfdec17a1406f1a796753a35eb699b6d290bddd2b475f7ae8c7db
SHA512/224 8fc8622081fb14b47ee2cb37a9baa4cc411ed3d2947fd3fc4905b6df
SHA512/256 5560d07ba01ec80d17349ab047c664fc0750a2bfba0e32a103dc4fc20aef88b8
SHA512 984c104653896dc1faec84e8e4e59737fe8711b4783c330c7ccbc0ddd964de89b6d1d0185b4c14df8e67fdf087be9d01c142677edba45f6642f30b416b750258
SHA3-224 dadc0ca9462fe9dd982ca4b5a3b322a91f035948c84a65672980b670
SHA3-256 e8bdacf1a8160d21b1cf593fd5407b94c964e399b32153fc6b48b01d26aa0ed3
SHA3-384 ed3be47796a1dabde9dc0a92a89e811b34463e6e2f3b8cb1370ef8cdeb70aa53a6d7a7d0c629885abbcb08031f177c1a
SHA3-512 e02485d7caa421efd54611bf5646c38fdee3240f50d5bfaeca5962888f36ca84163f862983660f651784a02d4d6938f7bc0b91432298da7dafa9b13581d4b634
RIPEMD128 3ab9f3eb83180bf985d5730e69ecfa0b
RIPEMD160 299596420002a4cdfce09d6472f3d98e7ad2a5a1
RIPEMD256 f0e63e0e771be9fb42362012aa73bcc6d2cb03782f97e8a5a8805dde08366b65
RIPEMD320 1178f72a4b5f79d89fbd0851494a5096e3895847b335288936d50c5fe3a40385b3eafcd08f55b4b6
WHIRLPOOL 2c89083b08c71dc7a3a9c061e26f4a9d479c96ff0985b13fbc21f4c381fbd6d2a1ed197a291a595190f1324975ab5af9654f09d25e7c2a1d744d9165f29ec530
TIGER128,3 9199903bd1be97e5d7b6222cc5e551d5
TIGER160,3 9199903bd1be97e5d7b6222cc5e551d572f92c68
TIGER192,3 9199903bd1be97e5d7b6222cc5e551d572f92c681e811d46
TIGER128,4 7c8e2abc4ad40b35fab6b5163c9b3dae
TIGER160,4 7c8e2abc4ad40b35fab6b5163c9b3dae67de7a2f
TIGER192,4 7c8e2abc4ad40b35fab6b5163c9b3dae67de7a2fa6048dcb
SNEFRU ee0ec3b83ce6beb58b7fd5d3cf1df839e0731f1d5ee2f6a624c6e1dbb5f23b64
SNEFRU256 ee0ec3b83ce6beb58b7fd5d3cf1df839e0731f1d5ee2f6a624c6e1dbb5f23b64
GOST 2816d6e004af708e4e19fb17f2b79a4f0658717a2980ae40825aaafba6f81b6c
GOST-CRYPTO a90721876ee7e97b745ddd936c3caa8ef22daf365318c1f16ce310dab8640c42
ADLER32 36821642
CRC32 d8d3082b
CRC32B 292d43e4
FNV132 39b24fa6
FNV1A32 a747ba10
FNV164 c4a737e8f6a40de6
FNV1A64 c8953fa8644b49f0
JOAAT 518b0a26
HAVAL128,3 4a18f9082d55c65b63fbe4cf3de26160
HAVAL160,3 a067ab76fc4e850d7546ae9d04ac0b7cce190840
HAVAL192,3 e13af1ca26edb76f9268efca6218bf9bb53c5b7957161fdd
HAVAL224,3 d763576d0858f2e52963bd4c90c7d99ebc0af4ba5bcc6cbb4c127923
HAVAL256,3 002cfafc050596073f67c259d5f6f00edf0d125c0dd0439e17d2d44887450e1a
HAVAL128,4 c3d15e484293f4a9f738c1eb84ae4be5
HAVAL160,4 a19f3c60f18d143c573527a407602855c3f01b7e
HAVAL192,4 b075b8aa1cdb28b9ff800e8c01a8dbd011b776593bcd6feb
HAVAL224,4 7030f6baa4ae095418ab3d97050f228ff15051e171934ab7f53c092b
HAVAL256,4 aff226721c304ce6d79b5eb740a043a7489a0b41440105d60e73acca0c1eda2b
HAVAL128,5 d06ce0580eb7c55a9586919884823f9a
HAVAL160,5 4fe66127474ff8ced9fa58fa2558b39915243716
HAVAL192,5 d4fad8a643b1bea25bc61c0d09f3c18bee4dd3d671db5cb0
HAVAL224,5 a994568c040341a244eecdf82c69584a0ec8d32f6f31b7f8f3862ba8
HAVAL256,5 a0d352956bd9a3641cdf519b0344f0835bf740c5330622ce72516497d791b94e

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