- MD5
—- SHA-1
—- SHA-256
—- SHA-384
—- SHA-512
—
π Hashing runs in your browser. Your text and files never leave your device.
Using an AI agent or a script? Call this tool as an API
AI agents and scripts can call this tool directly, to check their work or look something up, and get JSON back with the same answer this page gives. No key needed.
GET https://digitalgreenhouse.com.au/api/tools/hash-generator?text=hello&algorithm=sha256
text— string, required. The input.algorithm— string, one ofall|md5|sha1|sha256|sha384|sha512, defaultall. One algorithm, or all.input_encoding— string, one oftext|hex|base64, defaulttext. How "text" is encoded: text = UTF-8 string; hex or base64 = raw bytes.expect— string, optional. Optional expected hash (hex) to compare against.
The API answers from our server, and our code doesn’t store what you send. Fair-use limits apply. API guide · all endpoints (JSON) · OpenAPI
What is a hash?
A hash is a fixed-length fingerprint of some data. Feed in the same input and you always get the same hash; change a single character and the hash changes completely. It only works one way — you can’t turn a hash back into the original. That makes hashes perfect for verifying integrity: software projects publish a SHA-256 checksum so you can confirm your download wasn’t corrupted or tampered with.
Which one should I use?
- SHA-256 is the modern default for checksums and integrity.
- MD5 and SHA-1 are still common for legacy checksums, but are broken for security — never use them to protect passwords or signatures.
- Passwords should never be stored as a plain hash; they need a slow, salted algorithm like bcrypt or Argon2.
Can you reverse a hash here?
Why does MD5 of an empty box show a value?
d41d8cd9…). It’s a handy sanity check that the tool is working.