SHA256 hash for "['UBS']"

SHA256 encoded string

507a17027239c5e9a7a56c0e0d029fe3a3a85ffdfb21ad6e4d8172b02fea37d0

Your last 10 encodings

AlgorithmStringHash
sha256['UBS']507a17027239c5e9a7a56c0e0d029fe3a3a85ffdfb21ad6e4d8172b02fea37d0

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

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

MD2 f8b423b4c98f7a5b9b0292519958cb76
MD4 e29ece9de1059bd4e58dc2cdf9e8c28c
MD5 1dbbb18a4143c0b4af51f065210cd92b
SHA1 974f799005175a954292a09dfae5ed9d315567e9
SHA224 af7f84e368642b0d0037d32e866c2a6fbd7152fdfd3ddb0da85249c9
SHA256 507a17027239c5e9a7a56c0e0d029fe3a3a85ffdfb21ad6e4d8172b02fea37d0
SHA384 be4a3e8e5a8984a281103ad56a195f4641b8839af89473bcce327fb06b295304e8d59da08e7596b94eae23a1d9909b14
SHA512/224 1305c363503902e23a288b6f965bdde8e238a3ed7802602678468371
SHA512/256 c237e91abcacbe56111f0175ff1a10e9baace0141d95e2e6eafcfafc8c7c4ea6
SHA512 97498c1fa33bdcf0e9f23e8caef865d7300424c9ac54e75af2558b4431e68463c614ca734cc0d7fa3dc51599e67434ddfc6ff51e0fda6f3d29c9045eba3d9218
SHA3-224 67fbbe8faeacb55835269ae4339f168187e472638456370b2408d526
SHA3-256 d4f2c4d02ebe8a35e8dce2619b1969f6a64c3c68f6627597c7dbede08d3fdbbc
SHA3-384 506e59ca1aac52a0a83790d856e63daf14b349a2844c1b4010d344c59a04079a316f624fb989a3d83f164e26f2982cc5
SHA3-512 169cd3a6235f08217f920d3728f13517e36cc5307b1a5572a87fa30129e4be558d6744b7e3100ca9604de7a303b65de1b812ed16dc759c4a718037d227ec7ab5
RIPEMD128 b24268b561f05f10c3c07f27a6e0d839
RIPEMD160 ef0cc2a20dc3bb492f9dece32ee3970f9a3d7079
RIPEMD256 4b48eb0c590f39a2b6a246ab51a3ef55877baf4640ae7a549939433dae183807
RIPEMD320 650c685b21562152f60e546a2d5e14f7b2d9240fe3cd560e9981e22a6bbe3b424a13281032c9c708
WHIRLPOOL f1e02457e7e901f2d38cf12e459c4416fea51c6a55b4039446ce8c73a4120da8a68382c9a43b92025aa93a94f05f373ee89d1a68eba46a4f466cfbc7efee2ca7
TIGER128,3 fc18511a97317d91fd0e7cad4f886dd8
TIGER160,3 fc18511a97317d91fd0e7cad4f886dd8212b5cfa
TIGER192,3 fc18511a97317d91fd0e7cad4f886dd8212b5cfaec2a2baf
TIGER128,4 0678015fb242e2cb7ebcc5ef3754fc1b
TIGER160,4 0678015fb242e2cb7ebcc5ef3754fc1b3e01eab4
TIGER192,4 0678015fb242e2cb7ebcc5ef3754fc1b3e01eab4a4853424
SNEFRU ba767cc45f7ba3abdc73fb93d32cf8a5df8fccf661f352a15c9d06c40a44cb9f
SNEFRU256 ba767cc45f7ba3abdc73fb93d32cf8a5df8fccf661f352a15c9d06c40a44cb9f
GOST 585d50fc10ea0d59685b5d57154098c42ec8407f22a816b86f1b5fd83a7eae4c
GOST-CRYPTO 91db997bbca7f40ac5dc25925a9ae9ebfd583f6d70bd34106b753bbc3d5ff944
ADLER32 07c301f1
CRC32 99784d31
CRC32B c61c8875
FNV132 a4508949
FNV1A32 e6e991e9
FNV164 5f2ad09c2f4cc189
FNV1A64 6906cb9a4254cb69
JOAAT 64afdbd4
HAVAL128,3 c3dae498a407fb13d2a1615f7e05e88d
HAVAL160,3 0a73934a9d9615635f7da06e21afdf69f72c6dac
HAVAL192,3 4b36aaf34ed39d90cba32e5a91521bba2a9b89d0e751785e
HAVAL224,3 27653448fea7a9b4da9c8bf88b6c303f38ec0e86db0afeb2aea0d6b6
HAVAL256,3 ebd2eb6a2504195f141aecefb7c8b5949f6ae737d3a1f38a8cd42f581ceeb662
HAVAL128,4 9f3dbb5ec1d32b1a69fe1f1d43655d4b
HAVAL160,4 34f8f1409df714c6bea30a933baa2ee4ceb9b891
HAVAL192,4 01acada001912b7121e5d099690308ea7bd8c7c663f77095
HAVAL224,4 e1e5a36ec0e04ba83001df07f003abdffdd2ee8f2fc9bfea9df4b042
HAVAL256,4 19d78bc23108862d48df9dc83695078b6374c80bd2dc875b8894d5c146bfe384
HAVAL128,5 4ebfa74f6df1cd999daed14e5c8c2a23
HAVAL160,5 9f9f978b5b836e8a4b4806ecd47830b9090fb151
HAVAL192,5 3c8a6988b2179cfaf3754a433d09267a1273e95e617acbc2
HAVAL224,5 16f063fe635fea60fbf21490a68aca9188c75f5034bb2344ba2e5dec
HAVAL256,5 0db85e5b0a4384581a51d2180a0e853587074ab65bab67165ea6b0dadd470b49

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