What is the Hash Generator?
A hash function turns any input into a fixed-length fingerprint. The same input always gives the same hash, but even a one-character change produces a completely different result. Cubestack computes SHA hashes with the browser's built-in Web Crypto API.
How to use it
- 1
Enter text
Paste the text you want to hash.
- 2
Choose an algorithm
Pick SHA-1, SHA-256, SHA-384 or SHA-512.
- 3
Generate and copy
Click Generate and copy the hash.
Features
Four algorithms
SHA-1, SHA-256, SHA-384 and SHA-512.
Native crypto
Uses the browser's audited Web Crypto implementation.
Hex output
Lowercase hexadecimal, ready to compare or copy.
Private
Input is hashed locally and never transmitted.
Popular uses
Integrity checks
Compare hashes to confirm text hasn't changed.
Development
Generate test fixtures and cache keys.
Learning
See how hashing reacts to tiny input changes.
Frequently asked questions
Can a hash be reversed?
No. Hashes are one-way; the only attack is guessing inputs, which is why strong passwords matter.
Should I use SHA-1?
Avoid SHA-1 for security — it has known collisions. Use SHA-256 or stronger.
Is SHA-256 good for storing passwords?
Not on its own. Passwords should use slow, salted algorithms like bcrypt, scrypt or Argon2.
Can I check a downloaded file's checksum?
Yes. Choose File, pick the download, and paste the checksum from the website — the tool tells you if it matches. MD5, SHA-1, SHA-256 and SHA-512 are all supported.