SHA256 hash for "['MAGS']"

SHA256 encoded string

0dfeea782d8ab30f7ecedfc251f0f5e5c62c9945b15adf025d0e082ed3c8477c

Your last 10 encodings

AlgorithmStringHash
sha256['MAGS']0dfeea782d8ab30f7ecedfc251f0f5e5c62c9945b15adf025d0e082ed3c8477c

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

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

MD2 8c11793df33cfba5a1b24f3f22596907
MD4 73d80077fc1ad2d40ca385f9d458b36c
MD5 8d777885b120d32db0a709b859dc2568
SHA1 53c8137adf7e90a51efc8df041656e1d13e5fc3f
SHA224 6559581dd96e172888073c218509ff3464e9fdcdf7f6871d8154039e
SHA256 0dfeea782d8ab30f7ecedfc251f0f5e5c62c9945b15adf025d0e082ed3c8477c
SHA384 f03b410ac919d499998e5613f644565d3dfdee07377f294be527712f2290d3af51d137eb54b1b57b0840e8f1a138c743
SHA512/224 efa9afb18ca38b934b352ebf50dc59f0170e8bf3279c962bca50f95e
SHA512/256 b2a867738cef04ae5f18ce2d9cf3693f297a7be0474ab6bea78f5d98f0d36b7c
SHA512 67ca8b253c4262d76657cbbb59de480d47882aecc845c469b35d194f617e94f3a050dbfa77516ac919566082a5ad21662383d39746cf7682dcdb3c0a58b39ad5
SHA3-224 572ba26bd28898a83bb768e4cf79479681750151c75414a5a304a2d3
SHA3-256 f2142e1d6ac74ba1350fd0a547b46509e04f6e71ebe3e349779656d1038128b3
SHA3-384 26d527460f9c16a0fa3e332ef4d44e42477b1f3f539530a17514f0792b9f63b5154ec9482432337af49ceefd0739a97b
SHA3-512 f83f2fcd0cbcbb370902acf024fc5db28c8e87ff301bf3ad2e191e7ae496f3190b08b49c99d4acc012249d4aa9ec6501e49f44c90609699c1cddc3018c29af2e
RIPEMD128 fd731df6549d586c1c2ec6e7d5ec16e1
RIPEMD160 c75177e7356d33f4b66267251f5b065b7b9d5f1d
RIPEMD256 e478e05267125dd55aebed3d5da9dd499e7660da95bf7be028a1e1f7753acbc6
RIPEMD320 39d6a52cd0c8924ff51aa7efc543e89392cfd89cacf1ab5697418fb3d56cb5ab2097c116a5db8342
WHIRLPOOL 808f474a27b35ef263bff386d21dcff386a83563079f7cf9505acb4d78fe9d53b3a62bee46ed1eb827bb1823485eb597a8087077cf62defed49b4476c26ba4e9
TIGER128,3 8d689cfe3cfad1f6ca5a2c73a29c04e7
TIGER160,3 8d689cfe3cfad1f6ca5a2c73a29c04e7c0a68aa3
TIGER192,3 8d689cfe3cfad1f6ca5a2c73a29c04e7c0a68aa3ca2d79de
TIGER128,4 b714439fefc2c7ff92af052af498e491
TIGER160,4 b714439fefc2c7ff92af052af498e491547ce16c
TIGER192,4 b714439fefc2c7ff92af052af498e491547ce16cb8e0825c
SNEFRU 1f9c065c3d536314ce99af69f14a0f50510c49c1ff3183181345a1a733ffe86b
SNEFRU256 1f9c065c3d536314ce99af69f14a0f50510c49c1ff3183181345a1a733ffe86b
GOST 8aa651e31717baadb0e76d93400d6ef0aecf18eccb848c89d821dc85b211f72e
GOST-CRYPTO 1ed9fd8f0a9254518193ac7d8a106645399cba4bf6b4a4dda5a3f52f9ac091ce
ADLER32 09c4022f
CRC32 163b0956
CRC32B 160730e1
FNV132 41bb163f
FNV1A32 9fba65b7
FNV164 d116308277136b1f
FNV1A64 c01c372e1f825fd7
JOAAT 016c6eee
HAVAL128,3 6500fb69aa2926d73b80a0f401e9a79a
HAVAL160,3 e343c0484948b81cfed7c6b836a154207ba9ed74
HAVAL192,3 81e83a342c945f54bb57c7df5754a8b972bb927be819eb98
HAVAL224,3 7090a18a88134f46c16ca9fce328596972780eb6dd5ae6dece24bdf0
HAVAL256,3 7deb99fcaf7a897e1a9cddac93cb57d838fd1bc7b17feaf383c4711b11a5314c
HAVAL128,4 f7a0100504ce68b22efe4de9e3644921
HAVAL160,4 f359fd6c3ce40beb1a7fc7d3a195fc93de9ab1ff
HAVAL192,4 1dcf36bfab2f355c336c16b5b1ff4bf56bae458be7d5194a
HAVAL224,4 53b01d012f0944373ad426bee7aa3d7e7557302330202f47789a5981
HAVAL256,4 18a3ae29c3723b6697393d1f488230b33b956553e9e14cc6c462744859ac0549
HAVAL128,5 76640f78e92a086ea8e878fbfd759599
HAVAL160,5 08fc43fbae79960882bcdf4ddbcca1544db21442
HAVAL192,5 b4c4810cd002f8af1be6e72055a55721b0e5297285769bf0
HAVAL224,5 7a0dd8d9463cd621efd9a4637e4360791541caae8d03e2a46d2f63af
HAVAL256,5 9c0a7facddae19577597aafc6837c71234600361971ddddb56a4412ec52d8ff5

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