SHA256 hash

SHA256 encoded string

871c1c70bcea6f97cb5b0e542231e88541d431f62b5f48da53e9a91f3c04faf8

Your last 10 encodings

AlgorithmStringHash
sha256['COF' 'MAT' 'GBCI' 'NXGN' 'BJRI' 'AQMS' 'SBSI']871c1c70bcea6f97cb5b0e542231e88541d431f62b5f48da53e9a91f3c04faf8

String encoded to other algorithms

Here you can view hashes for "['COF' 'MAT' 'GBCI' 'NXGN' 'BJRI' 'AQMS' 'SBSI']" string encoded with other popular algorithms

MD2 55f58ce7f9b5160637214049c3c6b8df
MD4 eafabadda0f61f04b2b5a4ade728b136
MD5 b7e35c7b28dfbc54c05d5880b3ddedfc
SHA1 0172d13b99ffa9282268d78754c95304e6e4f2b6
SHA224 403ec10011d2a8637eeb6a77a535de05605224325ff28ce8459491e4
SHA256 871c1c70bcea6f97cb5b0e542231e88541d431f62b5f48da53e9a91f3c04faf8
SHA384 1edbecdf4d19456406e48ed58eca73b1c52aa824902ee92e2643f34050edd2e20554f2b8302e5db566fd3fe1dca59478
SHA512/224 4566d5a735904a9312ee06d24b365c1e4bc0d7f1d086813a9d6faf7d
SHA512/256 c7b8cc7d4ddbc0af8af8fb60c137d2a94bb92add28e5307bee828089c0b9383d
SHA512 56ad3e309a40e4e07985b62ce0b3d0df1639784904cc176e7f27894be5d95a54f491ba37e21e2334a214f712780abba77e7ce2ec690b26f8213452ed0ac7d5ac
SHA3-224 de41fd813d84bc7c82bd29cfcb7cd105b174baa606250dd416cf6f53
SHA3-256 121408c8a7d5706a7d85a7aa3effe1f696c4c268989b932857e94eeaf1407c70
SHA3-384 64a640b25b07c62489eed47c91787b6837c8ff93d7b0cb0c0bd097dc6d293861e46e4314e1d6ebfe83f546c37d294df4
SHA3-512 0fdab1999ed25875db0eb1bde29757219cfc6f46a21c7cb72697de80c75b058a341fd1a21a86de843ba7fb0684bab7ca2a769b4205883da78f81c692b7747ed4
RIPEMD128 76f4bd5a67d8ad0ac70693a728edfb62
RIPEMD160 6f2a188092feefe083f7e492726563392f60f6b4
RIPEMD256 5b96ed218166c84cc83eca75215985debd240ffc9219901857e501f2bfdd7d28
RIPEMD320 64af4269576bb1b2e82453320e9c256206a808ec054a9dbb43e52db94fe733fda51cbb66f6e2eacd
WHIRLPOOL ef9e58800b8edac4f64112708d39e70e80b565274306f2c7716bf96aa416c5a78ec35344040108f3c6ced776a8ba0c695dbb242c072db4e975ede936f0bcf4bc
TIGER128,3 d6d65a2631153fe3d153637b70a311ae
TIGER160,3 d6d65a2631153fe3d153637b70a311ae83782126
TIGER192,3 d6d65a2631153fe3d153637b70a311ae83782126c7fdae8c
TIGER128,4 7924ebd6e9eed108c8e96818e1b4b094
TIGER160,4 7924ebd6e9eed108c8e96818e1b4b094b7d906cd
TIGER192,4 7924ebd6e9eed108c8e96818e1b4b094b7d906cd87d56fad
SNEFRU 26bc2e71f02e3867434c9961626ba9389db763e2103d360b2786673354a7f7cb
SNEFRU256 26bc2e71f02e3867434c9961626ba9389db763e2103d360b2786673354a7f7cb
GOST d173ae6a095a03cf1b86fb6213ed2633f23270336f558e11b359b61c5feb7b86
GOST-CRYPTO b46c6570969422fc24ec2f7d1c9845099cc3fdf50bfe47ea19c6b9d356191f64
ADLER32 0dab0b2f
CRC32 8989acb1
CRC32B 5505f47c
CRC32C 8b0f59a6
FNV132 186391bf
FNV1A32 05b70bc7
FNV164 20aa1bda6353b41f
FNV1A64 baeb46dfa0cd1be7
JOAAT e57d3ce1
MURMUR3A 39e15faf
MURMUR3C 4acccb47683b59118adb1507fdebe6d8
MURMUR3F 27db80a3a2e6994da32aec9eb22fed1d
XXH32 470560c6
XXH64 479518686a52c8a0
XXH3 f70bf51c1b1d854e
XXH128 516ba1eff6884e191406126d69fa6c8b
HAVAL128,3 9033bf72a698fa51571d1fdc7fd6975b
HAVAL160,3 8fc4ba98e346a0516b4ffdcf321b1cd4fe3cfb0e
HAVAL192,3 8a4d6db53c67a26c729f37a8e380f1be890d266f08ba0226
HAVAL224,3 a1f9bb88b8241608c7628441ab638bbfd42bbc3d28081fd68e75a4d3
HAVAL256,3 b22511dced8fc9dd14c7618d3ca10810422e74fd06adfdde3a59a94a21f7858c
HAVAL128,4 93fdb8b57746bd98ba1fef5bc081beb6
HAVAL160,4 df77b2f79d55d441d6f786e384369c64bd39afa6
HAVAL192,4 d07fc76751ab5bfaefdbcf1064f069a9324627bb3098e98e
HAVAL224,4 8955ec792dd6a091c1400e2008cccf006690af41b0c00fbed49349ca
HAVAL256,4 eec78b32e89b673217b508c083baf1e5f589f24ecb9bbce2fcec00a1b63d8678
HAVAL128,5 23c2699c79686fbc81e441a25ce6d9e0
HAVAL160,5 f93f5c1cbecc55a25df9bd3f7a592495dd730236
HAVAL192,5 55b8ace2b852aafbf3507cf30be03aae53e49f30964f70a5
HAVAL224,5 06a3c49ad04a49ccb38b26825fccaee6f0ed53e3e13d96d0d0befb3e
HAVAL256,5 092c6b1f2ca695c92662094383f107aa5848096096f275aab67bb8dabfac1450

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