SHA256 hash

SHA256 encoded string

4c96b3bd28bd566b04c7cf2a7808c951c4714b1cbff84671ba588d6c82146fc8

Your last 10 encodings

AlgorithmStringHash
sha256%5B%27UBS%27 %27CBSH%27%5D4c96b3bd28bd566b04c7cf2a7808c951c4714b1cbff84671ba588d6c82146fc8

String "%5B%27UBS%27 %27CBSH%27%5D" encoded to other algorithms

Here you can view hashes for "%5B%27UBS%27 %27CBSH%27%5D" string encoded with other popular algorithms

MD2 3ab417cd77c55d1aaa5a1767ea8593e2
MD4 60d24aa5a3ae0409a4bd00732ebd3384
MD5 79d82b179f7f5cf4a9af6aa987db681f
SHA1 8b4106b31d95e98684a26df5db9d9ba1950f1d78
SHA224 eeba31be5a9a1e987d747c510b472cae5a8ae2e097de6e34d903b175
SHA256 4c96b3bd28bd566b04c7cf2a7808c951c4714b1cbff84671ba588d6c82146fc8
SHA384 deef4faf6f90bd18c6bb6b2346d193baa48356d97063f0146b89aebf93b4b86bf7ecb2acc7220f23c3ac01f33167c6b2
SHA512/224 ec93d946f98ca5ecc87d735711583ac256f9bb9ec0762dd962f835b0
SHA512/256 89c565937df8fd9b84f15d08aa1f09861acd920296690778720cd5ee24daab76
SHA512 54cdb3f9cb333a6e0cfbe9d0df0f411f21dceaebc312e68da44565da4341157fa8f71bfdc70edc009a178f890490c1f6a5a211c95f0a2fcacc033a68fa5f9c7d
SHA3-224 88b28ab00c557553e98a8bba07cbb637a17e2b315abab1dc6e5e413a
SHA3-256 f05a07761bb170e659d5339973ffece45e7746af6ff6fdde7a5777805704374c
SHA3-384 8e78281d0e1bf0c770a220c2176770b58b0055bb7e187a4808c5cf29779af7b32e214186321f44ab2cc1642a0e08602c
SHA3-512 3182a80726c92331c3f2ac45a5f0d443cd5f9e04f71ce9e11e7b3f6ab7407a10f7b94005ed273fa94a5d3c5ab9897f7166085fe4d78de9594c481ca5f977c348
RIPEMD128 a260b2c7b49783c6df21d8c02d826b23
RIPEMD160 20757d52aafb03b53fc9b4d6afb99679a595e192
RIPEMD256 d5c224758c50412a3a74d8f05d15adf53f2a1aeaad0c8742a3b2ed4a8f3424ca
RIPEMD320 cc24b745f1064503ce88538aad0abf0a42fffc5f1b1a87e357e07dabdbb925ce8454886cf37582ca
WHIRLPOOL ce4b336221547ea98c554acbea4b9ad3283affe42d4d11beb8e027e026890b8b32056df50e72bbde05eb5f209bbdf9c149ee98919642488d59677c68f7f2ef14
TIGER128,3 45ed36a8670f9fa21e11315dad7145a0
TIGER160,3 45ed36a8670f9fa21e11315dad7145a07ddfb226
TIGER192,3 45ed36a8670f9fa21e11315dad7145a07ddfb226d447a5bb
TIGER128,4 4e4ade7ef63fce83a677c8346c880d80
TIGER160,4 4e4ade7ef63fce83a677c8346c880d8031083f2a
TIGER192,4 4e4ade7ef63fce83a677c8346c880d8031083f2aeb0b3998
SNEFRU a395fa3e95889486f05cbc4b139285aaaadf604fe22558956304393caf8860a2
SNEFRU256 a395fa3e95889486f05cbc4b139285aaaadf604fe22558956304393caf8860a2
GOST 984b5f280e46b33b2ee4fcd4f3c181002c1a89b5c1ab25a699d96dabec862059
GOST-CRYPTO 9cba1cdbda6e6450c8baf34eb756caf17f7a0b53b460605827e293fe401c6b02
ADLER32 4b30059d
CRC32 3be8c7c4
CRC32B 7a7ade38
CRC32C b9902af6
FNV132 9c58f57d
FNV1A32 de2b1715
FNV164 0d300073a1ea345d
FNV1A64 ba0b47327d81abb5
JOAAT c1bf4df1
MURMUR3A eb92e6a1
MURMUR3C 7c81f8d23324fe34f6429229c05e678d
MURMUR3F 9e5d5bffb151edd0d6ef4d91e96536d7
XXH32 8c59a2d3
XXH64 39b9d88d6bc17594
XXH3 eacc8168ff16fa80
XXH128 582e197be6723b09d63fc2e1f39debd4
HAVAL128,3 6120fc3c9c6d51399521d980e9015d53
HAVAL160,3 5b1f7a8cd7119484d293f40ee74862155a2e1284
HAVAL192,3 718366dfa1ba93fb0ad61430c06c8a47c343e5ad1d3d4628
HAVAL224,3 497e0723ba2f38757c763038f019368846af6f3029d2ac99dcef7279
HAVAL256,3 20071b655de7cc67ead5e95b730c69bfc30f49d76e8d79524ffce04aba204f9f
HAVAL128,4 148ffdb0531972dd97e1cb05994834a9
HAVAL160,4 4d818de4c1d7a808017ebd7f6bffb5008cbca12c
HAVAL192,4 9b59a90a685bebeb05c757e6bbfa13d44c461197673af5db
HAVAL224,4 60b6431260f085ce78dde81bf53c4aee96fab055171052744d21af8a
HAVAL256,4 69bbe5932579d29869b45f073cf73196c7495175c87dd978d7af560223d493df
HAVAL128,5 7cce31161542d57f1a6e7387a99239cd
HAVAL160,5 dfc52b706605f6b1007b46b50ade79cc16d028ba
HAVAL192,5 e7aae866d0cdf1420f5c2483c0ee75b5fbefb5f94f9cb589
HAVAL224,5 0d074413fa983db179d48656ead83a6b14d9ce79ee1959c60aa8999a
HAVAL256,5 01ef7c33e28e4ca4e610c790762c836ec47f8a5003666ee40153003055e3e491

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