🔐 Gerador de Hash

Gere hashes MD5, SHA-1, SHA-256 e SHA-512 instantaneamente em seu navegador.

O que são funções Hash criptográficas?

Uma função hash criptográfica é um algoritmo matemático que mapeia dados de tamanho arbitrário para uma string de tamanho fixo. É uma função unidirecional.

Algoritmos Suportados

  • MD5 (128-bit): Rápido, mas considerado inseguro. Usado para checksums. Fast but considered insecure for cryptographic purposes. Still used for checksums.
  • SHA-1 (160-bit): Algoritmo legado. Obsoleto para segurança, mas ainda usado no Git. Deprecated for security. Vulnerable to collision attacks since 2017.
  • SHA-256 (256-bit): Padrão da indústria. Usado em SSL/TLS e assinaturas digitais. Part of SHA-2 family. Widely used in SSL, Bitcoin, and modern security.
  • SHA-512 (512-bit): Segurança máxima. Recomendado para hashes de senhas. Strongest common hash. Used in high-security applications.

Perguntas Frequentes

O MD5 ainda é seguro de usar?

O MD5 é considerado criptograficamente quebrado. Use apenas para fins sem foco em segurança. Para segurança, use SHA-256 ou SHA-512.

Um hash pode ser revertido?

Não. No entanto, hashes fracos podem ser advinhados por tabelas rainbow. Use salt para senhas.

Creates cryptographic hash values (MD5, SHA-1, SHA-256, SHA-512) for data integrity verification, password storage, and digital signatures.

Key Facts

  • SHA-256 produces 64 hex character hash
  • MD5 collision attacks demonstrated in 2004
  • Bitcoin uses double SHA-256
  • Single bit change completely changes output (avalanche effect)

Frequently Asked Questions

Which hash algorithm to use?

SHA-256 for general purpose. MD5/SHA-1 broken for security. For passwords use bcrypt/Argon2.

Is MD5 still safe?

Not for security (collisions found 2004). OK for checksums and cache keys where collision resistance not critical.

What is a hash collision?

Two different inputs producing same hash. Should be computationally infeasible for secure algorithms.

What is a hash function?

One-way algorithm converting any input to fixed-length string. Same input always produces same hash, irreversible.