Gerador de Hash
Codificação e Criptografia · Ferramenta online gratuita
Gerar hashes MD5, SHA-1, SHA-256, SHA-512.
Click "Generate" to compute the SHA-256 hash...Com Web Crypto
SHA-1/256/384/512 usam a API nativa crypto.subtle — rápida, acelerada por hardware e auditada.
MD5 Incluído
MD5 é implementado em JavaScript puro (RFC 1321), pois o Web Crypto não o suporta mais. Útil para checksums legados.
Compatível com UTF-8
A entrada é codificada como UTF-8 via TextEncoder — caracteres CJK e emoji produzem hashes consistentes entre plataformas.
Como usar Gerador de Hash
- 1Enter or paste your data into the input field.
- 2Select the desired encoding, hashing, or encryption options.
- 3Click the action button to process your data.
- 4Copy the result from the output field.
Recursos
- ✓100% gratuito — sem cadastro, sem assinatura, sem anúncios
- ✓Funciona inteiramente no navegador — seus dados nunca saem do seu dispositivo
- ✓Rápido e leve — resultados instantâneos
- ✓Multiplataforma — funciona em computador, tablet e celular
O que é Gerador de Hash?
Cryptographic hashing is a one-way function that maps input data of any size to a fixed-length digest. Defined by NIST FIPS 180-4 (SHA family) and RFC 1321 (MD5), hashing is deterministic, fast to compute, and infeasible to reverse. Common algorithms: MD5, SHA-1, SHA-256, SHA-512.
Como funciona Gerador de Hash?
The input is padded and split into fixed-size blocks. Each block is processed through a compression function that updates an internal state. The final state is output as the hash digest. The avalanche effect ensures changing one bit changes ~50% of output bits.
Casos de uso comuns
- ✓File integrity — verify downloads match expected checksums
- ✓Password storage — store hashes (with salt) instead of plaintext
- ✓Git commit IDs — SHA-1 hashes identify commits
- ✓Data deduplication — identical data produces identical hashes
MD5 vs SHA-256
MD5 (128-bit, RFC 1321) is broken for security purposes — collisions can be found in seconds. It remains acceptable for non-security checksums. SHA-256 (256-bit, FIPS 180-4) is cryptographically secure and recommended for all security applications including password hashing (with bcrypt/Argon2 preferred) and digital signatures.
Segurança e privacidade
This tool runs entirely in your browser. For password storage, NEVER use plain MD5 or SHA — use bcrypt, scrypt, or Argon2 with a unique salt per user. Hashing is one-way; you cannot recover the original input from a hash.
Detalhes técnicos
MD5: 128-bit (RFC 1321), broken. SHA-1: 160-bit (FIPS 180-4), deprecated for security. SHA-256: 256-bit, recommended. SHA-512: 512-bit, 64-bit optimized. Output is hexadecimal (0-9, a-f). HMAC (RFC 2104) combines a key with a hash for message authentication. Avalanche effect: 1-bit input change → ~50% output bits change.
Perguntas frequentes
Can I reverse a hash to get the original?
No. Hashing is one-way by design. You can only verify if a given input produces the same hash (verification), not recover the input from the hash.
Is MD5 safe for passwords?
No. MD5 is broken and fast to brute-force. Use bcrypt, scrypt, or Argon2 with per-user salts for password storage.
What is HMAC?
HMAC (Hash-based Message Authentication Code, RFC 2104) combines a secret key with a hash function to verify both data integrity and authenticity. It is used in API signing (e.g., AWS SigV4).
Ferramentas relacionadas
Gerador de HMAC
Gerar assinaturas HMAC com algoritmos SHA.
Decodificador de JWT
Decodificar tokens JWT e inspecionar cabeçalho e payload.
Gerador de UUID / NanoID
Gerar UUID v4 e NanoID em massa.
Gerador de Senhas
Gerar senhas aleatórias seguras.
Criptografia AES
Criptografar/descriptografar com AES-GCM-256 e derivação de chave PBKDF2.
Ferramenta RSA
Gerar pares de chaves RSA-2048 e criptografar/descriptografar com RSA-OAEP.
Hash Bcrypt
Hashear senhas com bcrypt e verificar contra hashes.
Gerador de ULID
Gerar identificadores únicos universais lexicograficamente ordenáveis.