Computes the SHA-256, SHA-384, or SHA-512 hash of a text or a local file using crypto.subtle.digest(), with the result in HEX and Base64, a secure comparison against an expected hash, and SHA-1 available only as a compatibility option with a visible warning. The file is never uploaded to any server; a simple hash is no substitute for a specialized password-storage algorithm.
The data is processed on your device and is never sent to the server.