How this tool computes its result
Uses the browser's native window.crypto.subtle.digest() (Web Crypto API) to hash UTF-8 encoded input text with a selectable algorithm — SHA-1, SHA-256, SHA-384, or SHA-512 — then renders the resulting digest bytes both as a lowercase hex string and as base64. The digest recomputes automatically via a useEffect any time the input text or selected algorithm changes, and the component checks window.crypto?.subtle up front to detect whether the API is even available in the current browsing context.
