🔐 Generatore di Hash

Genera hash MD5, SHA-1, SHA-256 e SHA-512 istantaneamente nel tuo browser.

Cosa sono le funzioni hash crittografiche?

Una funzione hash crittografica è un algoritmo matematico che mappa dati di dimensioni arbitrarie in una stringa di dimensioni fisse. È una funzione unidirezionale.

Algoritmi Supportati

  • MD5 (128-bit): Veloce ma considerato non sicuro. Utilizzato per controlli di integrità. Fast but considered insecure for cryptographic purposes. Still used for checksums.
  • SHA-1 (160-bit): Algoritmo obsoleto. Deprecato per la sicurezza, ma ancora utilizzato in alcuni sistemi (es. Git). Deprecated for security. Vulnerable to collision attacks since 2017.
  • SHA-256 (256-bit): Standard del settore. Utilizzato in SSL/TLS e firme digitali. Part of SHA-2 family. Widely used in SSL, Bitcoin, and modern security.
  • SHA-512 (512-bit): Massima sicurezza. Consigliato per l'hashing delle password. Strongest common hash. Used in high-security applications.

Domande Frequenti

MD5 è ancora sicuro?

MD5 è considerato crittograficamente compromesso. Usalo solo per scopi non legati alla sicurezza. Per la sicurezza, usa SHA-256 o SHA-512.

Un hash può essere invertito?

No. Le funzioni hash crittografiche sono unidirezionali. Tuttavia, hash deboli possono essere indovinati tramite tabelle arcobaleno. Usa il salt per le password.

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.