SHA256 hash

SHA256 encoded string

ea830ba4bee5989bbc460f0bbbb0d9909a26ef24812163792158b9b54e7b11c6

Your last 10 encodings

AlgorithmStringHash
sha256['UBS' 'PCAR' 'DOV']ea830ba4bee5989bbc460f0bbbb0d9909a26ef24812163792158b9b54e7b11c6

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

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

MD2 57ca56f7762e18bb3c43996d541818f8
MD4 c0beebd391081480d8661924fa1eaad0
MD5 9873f6edeb977bdafd414a9676b4ae31
SHA1 0bae6ebd24cad45bf774cf92d1ef7a93b88d4e92
SHA224 e2bc628c11808cd1916c3e9aa2c17b874d6ad395bca545fcce9b5c95
SHA256 ea830ba4bee5989bbc460f0bbbb0d9909a26ef24812163792158b9b54e7b11c6
SHA384 efcc9cc6fca96877519c7b64d7c7f3110724c72dbcf9cdfa83b6259046bc0f6105aac34e3ed1bebd9c4388a6b6378172
SHA512/224 a69b3fe71f44eba024f7ab05cc86443d71e48c404a39adc26460b412
SHA512/256 a0875ef3ec53db305f790c6f8df92c709a4f879c889e29a62fd2779608c9e6c6
SHA512 278c0d7a2ae5aec879bfd5061e8aac58bfbd20c76b5d47e5968d90b1f2f7ec257e6cd639abd14032f105a6b05c905d4490c9da355b549338e96dd34e76293219
SHA3-224 ee8ad84272779c0c9f93dac3c66a9ffff875c2529dd7fb3b57fd0de8
SHA3-256 2f4eae614de0a983deef172e47c6b64dc8bbb9f60223fe24e956a43f3520cdbb
SHA3-384 3267ccc090f2aa5de5b2a35a6887a9944d7c42449f8664b1f9e29b686af49cc68ebe68fadf51bd1345af87be0a2e3f46
SHA3-512 880267e5f16046999b021b22d35ea48a968a5b6ea002e8087c63aba4b59e422eeb47326f01029721961585eb7ca86adf600c1cc7d5cf1ec33325ad6b077e85b2
RIPEMD128 9688c97e69ae36b49e9ba70a285ab76a
RIPEMD160 a2a4c3a1b97c5586e97c998dd438deaf9e6a6e13
RIPEMD256 37901a3e8f9bf430e0b352a78ab47ebf6a82a22c49152b2d6e8642e11d5456a0
RIPEMD320 9b6dd4597ff0d409030b2950f1d841c1dbe455fdef5917283e7a0bf876ded455b7e9acbf2e009336
WHIRLPOOL d517a62309cbf6985ad3809475b3ed7d1216a3eb008980ee7c5e1371e09ab960194213ee80a34f00ac11773e33c07467f9a440094dffff9ccf844706e45add27
TIGER128,3 81426aee2755bda0b72c9ffa18269d9b
TIGER160,3 81426aee2755bda0b72c9ffa18269d9ba7523557
TIGER192,3 81426aee2755bda0b72c9ffa18269d9ba752355766d4e57e
TIGER128,4 4148775da643ddf483ca3eeeb0c06e4e
TIGER160,4 4148775da643ddf483ca3eeeb0c06e4e0ff03ac1
TIGER192,4 4148775da643ddf483ca3eeeb0c06e4e0ff03ac1475fe69e
SNEFRU 71c797b05952f7018256c6f310147d6e0a0f2abc4f0777102cdc9fb80cfa5791
SNEFRU256 71c797b05952f7018256c6f310147d6e0a0f2abc4f0777102cdc9fb80cfa5791
GOST 10b5dacb4810917435256bd96289a62a45524a000986bd0e27ac4f64517e21cf
GOST-CRYPTO f08e795db71ee6046bc943b636cef518a6c15de80971f0f93f15cc555db478fe
ADLER32 32f104dc
CRC32 67e683fa
CRC32B 3d310a4f
FNV132 7ec2cd1a
FNV1A32 62553b10
FNV164 dbc9c5f36e875b3a
FNV1A64 afff6f792e7a69d0
JOAAT 850d3cb3
HAVAL128,3 85df761f181a761dc72fdf5c7a539ecc
HAVAL160,3 e4463ff962e6e753b09be5e05f1352b93485e812
HAVAL192,3 7997f1e6147b036ebbb5b81dc6c68650bae3759a0bc52df0
HAVAL224,3 61a84f31eb1c35699bd0402b3891230f9bd326b561deb93d2647b452
HAVAL256,3 11d2bebd2fa9c90b27a18b0ee5220d908eae681f4ff9a9c8bdcd9ad80e9d7cad
HAVAL128,4 1540b9da9b4c6d4381eb97b09a717659
HAVAL160,4 76efd9374835db843289ee6f267a9fb9dc64d8d0
HAVAL192,4 623a22391632d507ad07dfcfb507f04581f736aa91de9dcd
HAVAL224,4 ebd7edec4a241f6432b65532933d2f5d07319502e12291241eb49297
HAVAL256,4 cbf2828b1206a2e454b75831b238c3cfca514accf9a6c9bff065febb057416fb
HAVAL128,5 9f5acf677b9f8745445ed3f3ead7402d
HAVAL160,5 392fadf9b0ae5baeab5b2991ed5d21622d41d6bb
HAVAL192,5 857dbb95578d86fd095c281e198cf6489748d8347a279b14
HAVAL224,5 7c694d3649afc2faff43c5e206223b26d9644e0dcd4fa4dba077e770
HAVAL256,5 ab7c05add0a1d0baab4bc713a97ed5a703cc9f6d32f348ccdfa07e923cf820ed

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