How Hash Generator works
Hash Generator computes cryptographic and checksum hashes of the text you type or of a file you pick, covering MD5, SHA-1, SHA-256, and SHA-512. The SHA-family hashes use the browser's native Web Crypto API (SubtleCrypto.digest), which is a vetted, hardware-accelerated implementation. MD5 is computed by a standalone JavaScript implementation, since SubtleCrypto does not include MD5 (it is not considered cryptographically secure for new uses). Nothing you type is transmitted; every hash is produced entirely on your device.
Common uses include verifying the integrity of a downloaded file against a published checksum, generating a fixed-length fingerprint of a string for use as a cache key or identifier, or checking that two text values are identical without comparing them character by character.