tools/encode/hash generator
// encodenew

hash generator

sha-1, sha-256, sha-384, sha-512 via web crypto

drag & drop · up to 5 MB (Pro: 100 MB)
// hash · webcrypto api — paste text to hash
sha-1
sha-256
sha-384
sha-512

              curl -sX POST 'https://api.whittly.dev/v1/hash' \
  -H 'Authorization: Bearer $WHITTLY_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"input":"hello world","algorithm":"sha256"}'
            

              const res = await fetch('https://api.whittly.dev/v1/hash', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer ' + apiKey,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ input: "hello world", algorithm: "sha256" }),
});
const data = await res.json();
            

              const { data } = await axios.post(
  'https://api.whittly.dev/v1/hash',
  { input: "hello world", algorithm: "sha256" },
  { headers: { Authorization: 'Bearer ' + apiKey } }
);
            
// probulk file hashingpro·files over 100 MBproupgrade →

// about this tool

A cryptographic hash function maps data of any size to a fixed-length digest. SHA-256 produces a 64-character hex string; SHA-512 produces 128 characters. Hashes are one-way: you cannot recover the original input from the digest.

// when to use

  • Verify a downloaded file has not been tampered with
  • Generate a checksum before and after data migration
  • Create deterministic identifiers from content
  • Verify data integrity without storing the full payload

// faq

Can I reverse a SHA hash?
No. SHA functions are one-way by design. You can only compare two hashes (of the same input they will always match). Brute-force lookup tables (rainbow tables) can crack weak passwords, which is why you should use bcrypt or Argon2 for password hashing, not SHA.
Is SHA-256 safe for passwords?
No. SHA-256 is too fast — modern GPUs can compute billions of SHA-256 hashes per second, making brute-force attacks feasible. Use bcrypt, Argon2, or PBKDF2 for password hashing — they are intentionally slow.
// history
Pro Cloud Sync — upgrade
no operations yet