🔐 Generator Sažetaka (Hash)

Generirajte MD5, SHA-1, SHA-256 i SHA-512 sažetke (hasheve) izravno u svom pregledniku.

Što su kriptografske hash funkcije?

Kriptografska hash funkcija je matematički algoritam koji preslikava podatke proizvoljne veličine u niz znakova fiksne veličine. To je jednosmjerna funkcija.

Podržani Algoritmi

  • MD5 (128-bit): Brz, ali se smatra nesigurnim. Koristi se za provjeru integriteta datoteka (checksums). Fast but considered insecure for cryptographic purposes. Still used for checksums.
  • SHA-1 (160-bit): Zastarjeli algoritam. Ne preporučuje se za sigurnost, ali se još uvijek koristi u sustavima poput Gita. Deprecated for security. Vulnerable to collision attacks since 2017.
  • SHA-256 (256-bit): Industrijski standard. Koristi se u SSL/TLS certifikatima i digitalnim potpisima. Part of SHA-2 family. Widely used in SSL, Bitcoin, and modern security.
  • SHA-512 (512-bit): Maksimalna sigurnost. Preporučuje se za hashiranje lozinki. Strongest common hash. Used in high-security applications.

Često Postavljana Pitanja

Je li MD5 još uvijek siguran za korištenje?

MD5 se smatra kriptografski probijenim. Koristite ga samo u nesigurnosne svrhe. Za sigurnost koristite SHA-256 ili SHA-512.

Može li se hash obrnuti (dekriptirati)?

Ne. Hash funkcije su jednosmjerne. Međutim, slabe hasheve moguće je pogoditi pomoću rječnika (rainbow tables). Uvijek koristite pojam 'salt' pri pohrani lozinki.

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.