How Hash Generator works
Hash generator computes MD5, SHA-1, SHA-256 and SHA-512 digests from text you type or from any file you drop, in real time for text, and via the Web Crypto API for files. Hashes are used to verify file integrity, generate fingerprints or store passwords (for the right algorithm).
An important honesty note: MD5 and SHA-1 are no longer considered collision-resistant and should not be used for security-critical purposes such as digital signatures or password storage. SHA-256 and SHA-512 remain strong for those use cases. SHA-1/256/512 use the Web Crypto API while MD5 uses a built-in pure-JavaScript routine, and only the hex digest is shown.