SHA256 hash for "12345678"

SHA256 encoded string


Your last 10 encodings


String "12345678" encoded to other algorithms

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

MD2 db5d888a0480461f4fb978746d1baf34
MD4 012d73e0fab8d26e0f4d65e36077511e
MD5 25d55ad283aa400af464c76d713c07ad
SHA1 7c222fb2927d828af22f592134e8932480637c0d
SHA224 7e6a4309ddf6e8866679f61ace4f621b0e3455ebac2e831a60f13cd1
SHA256 ef797c8118f02dfb649607dd5d3f8c7623048c9c063d532cc95c5ed7a898a64f
SHA384 8cafed2235386cc5855e75f0d34f103ccc183912e5f02446b77c66539f776e4bf2bf87339b4518a7cb1c2441c568b0f8
SHA512/224 1620856d708f0918693c2bfda4f962adff6344b248eb1a39b7c82146
SHA512/256 2ba960139801a364e147da8e2dd3044ed67b75cf28ab3fc675a17810e934e8ec
SHA512 fa585d89c851dd338a70dcf535aa2a92fee7836dd6aff1226583e88e0996293f16bc009c652826e0fc5c706695a03cddce372f139eff4d13959da6f1f5d3eabe
SHA3-224 64f977868a7a63bb65ddcd10c587b50ad21fe885fe667c99acc5d6f1
SHA3-256 39d1da1f4f9fda75ac2c0b29b76c2149fe57256e3240ce35e1e74d6b6d898222
SHA3-384 9144284a23a97899c1031a1f4f6c1b4c86b156ef015ccf8704c2a54496c364dfab9fc02750617c354aa25cb60c035b4e
SHA3-512 8a56bac869374c669443a1626ff0967af258123f83faf6b55e31dd541e6bbd90308a3385713294bf2e8861bc8cf8f8feda41f9c4db19d5811a6b5de85eac9870
RIPEMD128 953928d721b9b6692a7f15bd4d7e8010
RIPEMD160 d63fe6f190c15627233789931371e6246e2f39ee
RIPEMD256 20a407a979f61046696675e903c37aad5d61b46abd85f126d2ae047f04260e61
RIPEMD320 29835ff1252e46388b580035770bd5a738d1a0f64169104bdf29dec44e7313a54a67a2d6357daa1f
WHIRLPOOL 8c9ec9f0ac6ad6fea526dad1171e7507262d0ea9541a2e6ddcc5767a239d1da9edea948dbde5494bb7fb27df24d6ac5dfc3ad47cc52af76a7e9146c5125c6cf5
TIGER128,3 c603366663e8bef9e32a17b54ffb4a87
TIGER160,3 c603366663e8bef9e32a17b54ffb4a8728585361
TIGER192,3 c603366663e8bef9e32a17b54ffb4a872858536165509dd5
TIGER128,4 1808a02d95355eea0cac45fb92c35035
TIGER160,4 1808a02d95355eea0cac45fb92c35035d92f2a37
TIGER192,4 1808a02d95355eea0cac45fb92c35035d92f2a37e6d89f46
SNEFRU 1ed0cec97ded725d24334779672d86814329da93f5c627a41647187474ae1a8a
SNEFRU256 1ed0cec97ded725d24334779672d86814329da93f5c627a41647187474ae1a8a
GOST 1935fe3b74f70b064403d9fd284a37bd5137b358f27528a8111d3fd13827e82f
GOST-CRYPTO efaecc0e8f3165f5d727203a99966bc2436d993c8f3c5d0a46cc5eac40968af7
ADLER32 074001a5
CRC32 043d1cb6
CRC32B 9ae0daaf
CRC32C 6087809a
FNV132 043ef075
FNV1A32 0aa8abcd
FNV164 30d2b8e185b11fd5
FNV1A64 173932c41a90a42d
JOAAT faf3e0c9
MURMUR3A 91b313ce
MURMUR3C 65add393560b73876ac8ee3a6ac8ee3a
MURMUR3F 3b4a640638b1419c913b0e676bd42557
XXH32 89f05aa5
XXH64 d2d02f08cf7cfd4a
XXH3 62e29b4cad9e2ef6
XXH128 155c340ccffd12dc2b3f7d2855dc91fc
HAVAL128,3 74dc47371ae0bdce2dee99b383ed2891
HAVAL160,3 361ad0676e39a85dec4235f71c7ba00ecfa2daf2
HAVAL192,3 e25d638df3d6e4aa63ff58998b4e2ca37c0aa520c9166f04
HAVAL224,3 225d18c8864c6b39d699dc123b2fcf13347d0a578b9c84195ae598e2
HAVAL256,3 7d81a958774892f8e90614ed130ca7002749d2abdaa6ce3826b9dee6fa79b3a3
HAVAL128,4 b4ec12a512bfdfe9c8acdb347ececd7e
HAVAL160,4 808e0735ac14456864f760fdf11c5b4161e539ce
HAVAL192,4 7deaff768acbf6117d272da86c9c28c4f95d20bde099d258
HAVAL224,4 4e51d9ef54424f85bdc728fe6c2d85ba0a9950423a11b276603b6a69
HAVAL256,4 d425ae10900a8a1a201a10089e113587292913dd68828139b3ce8bfdf6151142
HAVAL128,5 2741d81e4987d332222a7e7933c9b27f
HAVAL160,5 946e63921644535a586afb6e9ce722fce62ab5ac
HAVAL192,5 c1412ad2a785f5b60afdaafaae9dcbbcac77396f2c80c827
HAVAL224,5 bb293d0b9495ee32f040156a7bb8b8ba66e01055b2fe55603697c19c
HAVAL256,5 3a54a57919a4e54118fdbbc3bf5c848c57bcec5e14ce32f3e57f09643604fab8

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:<ALGORITHM>/<PHRASE> For example to visit page that contains hash of "hello world" you can just visit url: 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:<ALGORITHM>.<OUTPUT:plain|json>/<PHRASE> Example: 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")<ALGORITHM>&str=<PHRASE>&output=<OUTPUT:plain|json>

Usage from Javascript

We have removed CORS restriction so you can use direct access to hash calculator in your javascript applications via AJAX.


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)+'"');
};'GET', ''+encodeURIComponent(toEncode), true);
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 =''.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: If you will do this in your address bar you can also use semicolon instead of double dash.;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 Such approach can be also used with "plain" and "json" mode;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: 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=
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
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.

    $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