BROWSER TOOL

SHA-256 hash calculator

Conversion note — interactive tool. The original page hosts an interactive SHA-256 hash calculator where this note appears: a form with a "Your data:" textarea (eight rows, placeholder "Paste here the data to hash") and a read-only "SHA-256 hash" result field (placeholder "Hash result"), plus a "CALCULATE SHA-256 HASH" submit button. The hash is computed on the server, never in the browser. Without JavaScript the form POSTs to the page itself (UTF-8) and the server re-renders the page with the hash filled into the read-only result field, keeping the submitted data in the textarea. With JavaScript enabled the site's Vue app takes the button instead (it reads "LOADING..." while waiting) and sends the data to the site's AJAX endpoint, filling the same read-only field with the returned hash, or showing the server's error message (or "Error occurred :( Please try again!" if none is sent). There are no options: one input, one output. The working tool is available on the original page: SHA-256 hash calculator.


What is SHA-256?

SHA-256 (Secure Hash Algorithm) is a cryptographic hash function that has certain properties which make it suitable for use in cryptography. It is a mathematical algorithm that maps data of arbitrary size to a bit string of a fixed size (a hash function) which is designed to also be a one-way function, that is, a function which is infeasible to invert.
The only way to recreate the input data from an ideal cryptographic hash function's output is to attempt a brute-force search of possible inputs to see if they produce a match, or use a rainbow table of matched hashes.

The SHA-256 algorithm generates a string with a size of 256-bit (32-byte).

Source: Wikipedia