SHA256 hash

SHA256 encoded string

22a3b8b9bb77328bf9e1db48c090251dadb647722c5f20947336ab6c61555770

Your last 10 encodings

AlgorithmStringHash
sha256%5B%27CTSH%27 %27SIMO%27%5D22a3b8b9bb77328bf9e1db48c090251dadb647722c5f20947336ab6c61555770

String "%5B%27CTSH%27 %27SIMO%27%5D" encoded to other algorithms

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

MD2 b27e66f24390e9bfb84bf84d17778334
MD4 ee23521e1ae123b9ed96c6edb52ead22
MD5 7f65e7b38d0a16a0882a03c41414bc49
SHA1 8a99d27634a423fc1732d8794dc82d5e51b9a3d9
SHA224 f8c125c5a916f44052feee2ab6c448166683f968f855209fd5745ffd
SHA256 22a3b8b9bb77328bf9e1db48c090251dadb647722c5f20947336ab6c61555770
SHA384 89a0c639be276ec7722e6c7babeaf71afe26d69c26307519b420a0117c24a854de58f9240c8837ae38938476b1033bcb
SHA512/224 67b6963c7928ba7ffdcce4b8c56c84b495b502db93c4b5bc1fa8b47c
SHA512/256 2753c883e887b7206a0d03604c2c0bcde2b027cfa65e46287308f3d84dd2ac45
SHA512 097c1cf3f5df82296a09e0035d5d42cb17927b5d0b8162dce81ccc18f8d6af53fc50f935230e0fb389c266489284deea8688cc68ee6a7dfdacbf17f31e2bb5bc
SHA3-224 bb1e380bfa07f60d7dc9e6389aa47d5667b422b13020ba549f3a0c3f
SHA3-256 26e613ed5de43f5facdf89a7ccd22fbdd227f4bfeb6507ceeeb78d1564f4aa58
SHA3-384 34e33dd8253515036a393d75b05363727c9f3722f5a27a4da75d477473032496f8801ca3d2b73cfbbc26fa2d1b567b0b
SHA3-512 ee0231d318f3d2f3a3f206e72108e7e53e1895634ead22fd9fd3db0b075e6e14c975bd4fea614e7466837450002ee74d374586859304ebf2f1f6a6e34975df26
RIPEMD128 181caaaaccbc0ce4db105e75ea31b4f0
RIPEMD160 dc2d1bd8c576db9d0f10d4c92a0843224de4fe82
RIPEMD256 d2e98f0344c4392685baf4082c674119b3268402e38527661097e092d328a94b
RIPEMD320 82660fb947ac895aefd03b4e5e0661a59cd10bc10afdd194146956e3f1bd9d4769bb3d4556853a4d
WHIRLPOOL 4a35d066945e017bf43d50a01e54173c9e050ef59f42335add09107c6a77d7fe0552419f928f88b485cc1326de9355f6ecb4f907348d0bec4837543393c0504d
TIGER128,3 259c7e9d8e060413cb91a9e3c19aa926
TIGER160,3 259c7e9d8e060413cb91a9e3c19aa9265c0fca25
TIGER192,3 259c7e9d8e060413cb91a9e3c19aa9265c0fca25bb00992d
TIGER128,4 9b2554521c68eb54b1a7f8622a9254c7
TIGER160,4 9b2554521c68eb54b1a7f8622a9254c781d6baff
TIGER192,4 9b2554521c68eb54b1a7f8622a9254c781d6baffc0ad6919
SNEFRU ffb8aab4d6ccd674e1ae0de311699683e2ad6c48c91df5465d684262892adfc8
SNEFRU256 ffb8aab4d6ccd674e1ae0de311699683e2ad6c48c91df5465d684262892adfc8
GOST 78d4aef6ed40e6e9a7dcde0ef40aecfbe6ea728a9b07850c154443ae060f07aa
GOST-CRYPTO 76354d77896a58f704288170a10f1c074c05896b6d03842c4a587419e009f17b
ADLER32 532305fd
CRC32 5965a589
CRC32B df6448a8
FNV132 c1626f31
FNV1A32 16f24731
FNV164 c520f687918aa8b1
FNV1A64 f32b74600d2231b1
JOAAT ac8a0b10
HAVAL128,3 d51d0f2c415e50d3a99828796531c218
HAVAL160,3 a1838aeac68f531b98bf1dc1ce5595d9fa1ee1f3
HAVAL192,3 e2dc197a3bc749297c16030cbf333c89d10b9e97b171c1fa
HAVAL224,3 da3cd7b456239b6e2f885d2847a960d019634b8464ba46e00c29ef60
HAVAL256,3 56768950bf0e817df59c00ce35a78e497e5c1bb2c94fcc9ff2b5b110c21c6c32
HAVAL128,4 df8d332d94c1860d61938f67d14e8ade
HAVAL160,4 6004d2b38bf91c272ae99d25f09784c25ccfbf36
HAVAL192,4 49c09220736e8e1fed2211167c0c3c371e3e82fe55c0b62f
HAVAL224,4 7194e32383e48dec037b82a4ccd18b7ac561f7fd45ddbb1975d58793
HAVAL256,4 ea866c46a20ecca9a584b42bfc71a59b59be70a4caf46d8556522856f428ec1d
HAVAL128,5 79549008844dbdcc0c19db3c700ad4fe
HAVAL160,5 c7538518e064b13a6ae37a62b9d5a71248e7053a
HAVAL192,5 d241fc3c9b1c5bbdfed840258458af15381172511f2ca9af
HAVAL224,5 ec359b2f5a65e4abb2f505f69cab38dd7ce277f8cdb3d2231bdda2b2
HAVAL256,5 2640089798a8b2eb14ce2b7ca8741d95dcb017bb67acc1bd0265ba3dc8a06f27

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