The Code Codex
Theme

Hash Generator

SHA-1, SHA-256, SHA-384 and SHA-512 of any text, computed with the Web Crypto API.

The link keeps what is on screen.
How is it calculated?
MD5 is not available: Web Crypto doesn't implement it because it's insecure. SHA-1 shouldn't be used for security either.
See the code ↗

Processed in your browser; nothing is sent.

⌨️ Use from the terminal (JSON)

This tool also runs outside the site: the cli.js script uses the same logic as this page and returns the result as JSON. Parameters are the same as this page's URL — copy the command below with the values on screen.

Deno
deno run -q "https://thecodecodex.com/cli.js?tool=hash"
Node.js / Bun
curl -s https://thecodecodex.com/cli.js | node --input-type=module - hash text=…
ParameterDescriptionDefault
texttexto—

Requires Deno, Node.js or Bun. With Deno the script runs with no permissions: it cannot read files or access the network. Central Bank indicators are from the day the site was published.

More in Development