SHA256 hash for "['CAG']"

SHA256 encoded string

ba129795b66686470641637f48a1ce820182b0364c8c0046a4b5fad391fbf049

Your last 10 encodings

AlgorithmStringHash
sha256['CAG']ba129795b66686470641637f48a1ce820182b0364c8c0046a4b5fad391fbf049

String "['CAG']" encoded to other algorithms

Here you can view hashes for "['CAG']" string encoded with other popular algorithms

MD2 2af607d43876d7b362fd770a053051b5
MD4 6eff72b9ccfa36d792b11613f4ab8821
MD5 bfaa6811f11aeec4f4af35de6a06ffa8
SHA1 0f79a8b9542e2577599221bb153d48ddac692e5a
SHA224 d234458fc5f5d04353ea4bf12351ef71eb474e4f119a709f381c15fd
SHA256 ba129795b66686470641637f48a1ce820182b0364c8c0046a4b5fad391fbf049
SHA384 c39593bb2a9a03ec0cac909ef48fc6e3e37521fa16fc7e9f0ba12f82904c9cf2e8f43e56f65ac4675fe5f735ff5e848c
SHA512/224 08abd95a90741182c3976921719147079048caf8e7686b1baf4b1060
SHA512/256 99061a6be8a58eef649a8cb9dd51361793c3a6da17916417d7dbc6b41778cc2e
SHA512 a1423df65d318cb84169133d4ec6b9d67f6abcb70d676cf24f4897ebfd0f8e162604122959c2b04f7c4f0926628b8120bc30a9463137ce404030f4b776114a19
SHA3-224 c6ef4ffc869fc51a0c8ef1a7f7568fcdbe2ce58834ab240187400125
SHA3-256 8059cf564704882570ae4f2578ea796cbbcfa3e9c53f12c5226896c1a37edab2
SHA3-384 b21518a136f928f51ad917d0144d9d14d95a494aeaa1e559b297322f3027c04d31f62edc4d049506d3988fa5cb14c1ff
SHA3-512 5ccdbca0cb7e012d46d6930e209a4a8b8fdd953ffccf4c3029528496f697f152c0d90e1b43008ffbdd9a64255416483ec737bcac607717b54489c9127bee4cea
RIPEMD128 289278b9781d83ab9e6881f553139184
RIPEMD160 2b7d3d4cfe557bd29753d3ae8f8bc4a8912ddbd4
RIPEMD256 b7d182bd5e860e98ef0b5c1c99c275ea4687bda243911442ab9c7a3e4714461c
RIPEMD320 351a4f403c627092cc6cefb5e04da88b55864ca69ac2d5de7245ee6454a4856a10a127914f748ba8
WHIRLPOOL 391664d3314754c3c9137eac3a73283f71339ee672177eec093025a59bda4629e67be1e8a74209f6d7f01ad38419e8ef1557e01c13e0e411ecf3452ab58edb8b
TIGER128,3 6720209e2e082a7069fa7373e71a6552
TIGER160,3 6720209e2e082a7069fa7373e71a65528c290443
TIGER192,3 6720209e2e082a7069fa7373e71a65528c29044340b35ee4
TIGER128,4 bd330d6b4001f1093e928284148ee8e3
TIGER160,4 bd330d6b4001f1093e928284148ee8e3ea886123
TIGER192,4 bd330d6b4001f1093e928284148ee8e3ea886123606456d1
SNEFRU cd4abd2f78c66f7d988871efdff54aa34d500af81aeec3fa733bcaa9c91bd3f7
SNEFRU256 cd4abd2f78c66f7d988871efdff54aa34d500af81aeec3fa733bcaa9c91bd3f7
GOST 8d219bdbbff9b57633cf928cb129b0c79b6b145f2a601c60011363ae348eafe7
GOST-CRYPTO 7837eb37bc10be0d9590c504133c2cc784c902b701ea83084f6c32ffcf9d9f6a
ADLER32 074101d2
CRC32 0ef2ee7a
CRC32B 20264e15
CRC32C f9b88268
FNV132 56e63d7e
FNV1A32 dd2b7138
FNV164 6ab74c135520d21e
FNV1A64 7a46ab32fa053b78
JOAAT 7207c311
MURMUR3A 24022252
MURMUR3C 32fe3514c3b93db2e56af687e56af687
MURMUR3F 815711c4f432663c0db29fe8cba35c0d
XXH32 448436b7
XXH64 521857dd7e3a43bd
XXH3 6921c8cad4449afa
XXH128 d59377c73e01e9a8c3ee05009b475db0
HAVAL128,3 72cef25611f9c7622791b56d9d1ca6bf
HAVAL160,3 116cd823ed1357e8a519367ebea456a79d2c79c5
HAVAL192,3 4e900e88859e630625d0f9cde82c0adc25832646cdbc615c
HAVAL224,3 68147ec9b77f2980a40a4179872881a6b2977b99c9a17387f2f62c08
HAVAL256,3 33f25462c102d547cf3dad919c4cc0ba12e2b2d2e1b0763f3ed41901076e441d
HAVAL128,4 b61a99a9a610a7a589b7ced69847f4a9
HAVAL160,4 6bcba6270e44b008f27072e74b770d0083d4a143
HAVAL192,4 5bd0316c8358fd28df286c157b672b8bf511a28ce6b63a4a
HAVAL224,4 4d4b6c0d51a05d005ce932b2507666033d7eb965449323b305120250
HAVAL256,4 120a91d649ab500447dac580b9dec92ec79d99af309c4011134de2f2592f5091
HAVAL128,5 f878e945ba21bea6c5e54fb04052459a
HAVAL160,5 9c692f02fc30b0f23e126f6bd64bbb8b7f5e144e
HAVAL192,5 c98da1727fe9599230acef9f1a69c3b9ea14fea6085d8376
HAVAL224,5 f498a1d6391afbaf08427e27739bbd930f4fc5e47a9070aa39e99ffc
HAVAL256,5 b724d4ad07ba83f47ab482f59bed96db0688c83ddf93c2d716ec94b3bc74fd73

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