SHA256 hash for "1234567"

SHA256 encoded string

8bb0cf6eb9b17d0f7d22b456f121257dc1254e1f01665370476383ea776df414

Your last 10 encodings

AlgorithmStringHash
sha25612345678bb0cf6eb9b17d0f7d22b456f121257dc1254e1f01665370476383ea776df414

String "1234567" encoded to other algorithms

Here you can view hashes for "1234567" string encoded with other popular algorithms

MD2 a9f6ddd4144344edfdd5a50efb814119
MD4 bf75555ca19051f694224f2f5e0b219d
MD5 fcea920f7412b5da7be0cf42b8c93759
SHA1 20eabe5d64b0e216796e834f52d61fd0b70332fc
SHA224 bb3fc349dd256a38df3f9345c81855cdebc9db2096b48ad3618674f6
SHA256 8bb0cf6eb9b17d0f7d22b456f121257dc1254e1f01665370476383ea776df414
SHA384 826227b9dfb593ae4ddbd3f5b7e24b6cb92e342c951cce56546fa68a2e56557b5ebac824a5e778438a7f35c985dfe082
SHA512/224 b1c5a566f7e1c4d2fe3012a78732a126f19cb25d0976bec9dd4343df
SHA512/256 6580c3b11ae22d8dc98a4fc8a40dbac21f5fc5d43c96df0c2b6bb1fc49f26ce5
SHA512 e13efc991a9bf44bbb4da87cdbb725240184585ccaf270523170e008cf2a3b85f45f86c3da647f69780fb9e971caf5437b3d06d418355a68c9760c70a31d05c7
SHA3-224 9efc53b0d91286a0b51d8512af70681a17752f176ab72106e3b05f5c
SHA3-256 f3d801c5df5e79532b09a5cc79002cbdb5e6980fa878099d70cd406382dc185b
SHA3-384 51d860179164ce67b19bfa47aed3379757012a0ee820d425f4ca226e7213fa0179a4d12db5590a86a5361525db55ab40
SHA3-512 ec1c9bb403b9eb660cf102c719e611462f4dfb440eacd7d2eb7fa97babd88cf8ec66e83e027cedb421c2b2e493cae1126c96e64fbd1ecfd10f63564f2b6cde61
RIPEMD128 6d87c2729409a329c882ee70907cfc0e
RIPEMD160 e8dd3e340be433a02012573b773ae4770773c998
RIPEMD256 d828a65f977988af6712e87554845464e47e612e1d81838bc51e31558476a7a0
RIPEMD320 eb4c5d4fd7f196a688ae94796e01aae261d04d8edb920628a32cf9bd2ed0dd3c3e401ed48fed8f9a
WHIRLPOOL cfd6db2d5800215f84c2455945c233c6f8404554960771a0d444a9905edcaa3aeffa0c32b1ba34bc4156580123f540a412d7822cb07abd164607149850fcc1e6
TIGER128,3 50633cf5dc0377b327f581fa14c1f503
TIGER160,3 50633cf5dc0377b327f581fa14c1f503b84c9a17
TIGER192,3 50633cf5dc0377b327f581fa14c1f503b84c9a17e9b20e8e
TIGER128,4 c531e3f361249e106d3e007314c9ff0d
TIGER160,4 c531e3f361249e106d3e007314c9ff0d160539cc
TIGER192,4 c531e3f361249e106d3e007314c9ff0d160539cce3ebdff1
SNEFRU 907b64413393664b7231e78d9af75e23d48c6928917e5da328dad4bbaeff736c
SNEFRU256 907b64413393664b7231e78d9af75e23d48c6928917e5da328dad4bbaeff736c
GOST 57b6539956fc4aef8fa6132569b44c869a3b4f835791873a9f6d381ba8b225c7
GOST-CRYPTO ac6c8db95769043e2a42833ed7bbd29542f923eabd57b5f5aa28f3f3238fd850
ADLER32 059b016d
CRC32 3beb75f2
CRC32B 5003699f
FNV132 a9dbf29f
FNV1A32 63ae7927
FNV164 21fe8dbe046d47df
FNV1A64 ec75ca32794b12a7
JOAAT fd425086
HAVAL128,3 543df896f34321e985fec37ea0de69d5
HAVAL160,3 a4d803232af544fecbd943b8dae8039ee0bb6eaf
HAVAL192,3 4b6af5bf45f724a2b403c3c933c43659061314905602d1e5
HAVAL224,3 b5941761de4d322c0d26f7bcbd1e1a2c37f7b3857bc1b20f89b61958
HAVAL256,3 55ce6f1fc5b5ef6f1feeff37953037cc4d234f7b53689640ec6162f623c36532
HAVAL128,4 e73d4092108561a4e041bb28cb931968
HAVAL160,4 79cdbe644c6b6998ca19ef55024694b68a87a8de
HAVAL192,4 a366d8f3cc7aefeb7ed3aa9d03742d9f7e68ca175b5ffce6
HAVAL224,4 ab2f72478f45e90606811a258cc7d6be59ac33c5445899d8d0b2857e
HAVAL256,4 e6accc1674d4d2bd6d07587f465931f8144e05db6bdd058bc0d23c1e63479411
HAVAL128,5 b85d2c00b79448f3a9994981fbbd0953
HAVAL160,5 bc013897312da465fe4c7f0f13abaeaf37c2b373
HAVAL192,5 f55dee441a1692cb2c93f9d30a84bd3149ff23d67055b4d5
HAVAL224,5 75d77b101fd174a484587a2e62e9656df7398e71e3ae48bd703f775e
HAVAL256,5 1450be4b96bb570441ab50a84f9172599c82f292f2eb632de80d25e8a56a9dda

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