SHA256 hash

SHA256 encoded string

41820e2bd3c7563c3f9e9a0e5839e2383846ca092735cc2826d528b4c2318eff

Your last 10 encodings

AlgorithmStringHash
sha256['DVA' 'MOH' 'PEG' 'PNM']41820e2bd3c7563c3f9e9a0e5839e2383846ca092735cc2826d528b4c2318eff

String "['DVA' 'MOH' 'PEG' 'PNM']" encoded to other algorithms

Here you can view hashes for "['DVA' 'MOH' 'PEG' 'PNM']" string encoded with other popular algorithms

MD2 95dc9c75fedeae680604b30f406a2a1c
MD4 2e155891a0a0ee5218e4b1e828d87b7b
MD5 ace6e704d309aa39d66f5861674920ab
SHA1 b5e1f893eadb38e6e19c3f102c539cdfa528397e
SHA224 c4140fe1403ff0e4b35a2ee9c4c1178f2b93dd5e402fcfbaedc54782
SHA256 41820e2bd3c7563c3f9e9a0e5839e2383846ca092735cc2826d528b4c2318eff
SHA384 6d62188596680e4ddba8b5e7e6636d515be3d29c0e794cedfdd24241bc39a3bd8ff2444cb4192f50f4ebe3ab50565073
SHA512/224 24761753b69488e4ea564b3d9f13533758faccafba876856ee34a976
SHA512/256 edb6d13ca5f4c7ccd31b4794272e832dc94b7bc30b5eba797bd8dc2a81eca06e
SHA512 9cdb50913321df6f6fbca3a9f251effc3f46c6b7002d01cf1db57dedfcb8f91f88af50131741413c48d94a9229e5be83936194e42fbea2e0840c19d1a0ef1a6e
SHA3-224 f2b6f24b287653b003fa5ef11c71b9bdd3f1cc81f5d1f315b6f9a7b1
SHA3-256 cbe0346654b598040bc46a08485c5c5e25bf9b7974e03956ba3b6d460f5d397e
SHA3-384 f4869bb1cbe108dcba612443e27cfd71615efeb060151a219656fbd4cb0226bd31dda561ffef08c7cb0d3fe751ed34f5
SHA3-512 2fae082388eb964ec194310fc86b375afd78e4110ba460e55473e8e4b90c1d88eb00da3eb474d6f77e21ea66ae81d807e60366e16f1c3c9879dc17cffe678add
RIPEMD128 21bc44a2b2f39c802e3c7cc78c875697
RIPEMD160 64dd0cbb432190843e4bdbf03aa482daf735f927
RIPEMD256 5ff84dc3a18814fa43ecb09e0e21a80ecb484870d9e9b593f950b606124d93b0
RIPEMD320 90b94e394a9c0cd338525d0dc4803fd13bb109d2b64fc3901abc01d43914eae2a55b048e14c607b7
WHIRLPOOL a9b3003a13c8abfb8c2b6027ad5b3840e4e741cb07d366fe5a5d682fc7f644a0f34efa05025dbae642985f074818a8f1a7b00687e558e9ad8700cac3384463bd
TIGER128,3 1a18aa5aaeac256e90895db65054d72d
TIGER160,3 1a18aa5aaeac256e90895db65054d72d8a7902aa
TIGER192,3 1a18aa5aaeac256e90895db65054d72d8a7902aa3e2c188f
TIGER128,4 4d49fc0bf30a3b4f30e2fea538dcc33e
TIGER160,4 4d49fc0bf30a3b4f30e2fea538dcc33ef70d40c9
TIGER192,4 4d49fc0bf30a3b4f30e2fea538dcc33ef70d40c9daa2f364
SNEFRU 482f38b127322efe7712fc7f4f9b094e64aa9cc8438f100e48cf3489db79e8c8
SNEFRU256 482f38b127322efe7712fc7f4f9b094e64aa9cc8438f100e48cf3489db79e8c8
GOST 1349c90f9619b1a180f60f38752e4d4bc512b140be337651f2acd03c7a52fa2f
GOST-CRYPTO 0333c4d657f76953318a8846b324c72028d7395797b12667052996125e093975
ADLER32 4b7b05d7
CRC32 8f2c1df2
CRC32B 37f01b8c
FNV132 d0c0276d
FNV1A32 b21a26e5
FNV164 a0afbaa3540df72d
FNV1A64 cb8bf6c8c9f85da5
JOAAT cc5cc5cd
HAVAL128,3 ddf2b8517e62f46fea62a2392db62928
HAVAL160,3 f62fa75678a2a068833f36c9500d26f4257ba3f3
HAVAL192,3 828a557b15fefdda0149babcf8288cfeb30fc48f805f76d7
HAVAL224,3 0d8fee67f8c353ac5aefbc9d3cd8c20e5bacbd8e263a0a8677cd4020
HAVAL256,3 fdb58fc3fc73b5efe28ce691e4d90573c54d2560085129f9a69fb398ecb9790c
HAVAL128,4 4ed0f2cc3cf9af643d0d85e3eee2f39c
HAVAL160,4 9c681234211280046b108104c9a577d41283bf2d
HAVAL192,4 f18aca7912a7bc8d7e6892dfc57d5e61707431f3a0972a78
HAVAL224,4 34760c9743d8e4f7673a64cbb43b22d0129b884bee8b41ad47c89d24
HAVAL256,4 e49bd4490180d1d187362c5294240014211f8f6438235329ba8b8ceded0d99c3
HAVAL128,5 2320ab2aa2f1f036e1e34bcd67b98c7b
HAVAL160,5 fafe11e5fbaa33bd4524360284b608d89bf7a1c6
HAVAL192,5 110108435a8af0eef31d10f3b7f6eafcf3ec00fc72e71f73
HAVAL224,5 aefcf9d18decab7ad763b7736679f4a5ecd08f2c464d0058a2c86cf5
HAVAL256,5 01434d8efab6bdd35bcf85b48d4917a14da2623072876004abc95168dbfe074a

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