🔐 Hash Generátor

Okamžite generujte hashe MD5, SHA-1, SHA-256 a SHA-512 vo vašom prehliadači.

Čo sú kryptografické hash funkcie?

Kryptografická hash funkcia je matematický algoritmus, ktorý mapuje údaje ľubovoľnej veľkosti na bitové pole s pevnou veľkosťou (hash). Ide o jednosmernú funkciu.

Podporované algoritmy

  • MD5 (128-bit): Rýchly, ale z pohľadu bezpečnosti prelomený. Používa sa hlavne na overovanie integrity súborov (kontrolné súčty). Fast but considered insecure for cryptographic purposes. Still used for checksums.
  • SHA-1 (160-bit): Zastaraný algoritmus. Neodporúča sa pre nové bezpečnostné aplikácie, hoci sa stále používa v systémoch ako Git. Deprecated for security. Vulnerable to collision attacks since 2017.
  • SHA-256 (256-bit): Priemyselný štandard. Používa sa v certifikátoch SSL/TLS a digitálnych podpisoch. Part of SHA-2 family. Widely used in SSL, Bitcoin, and modern security.
  • SHA-512 (512-bit): Maximálna bezpečnosť. Vrelo sa odporúča na bezpečné ukladanie hesiel. Strongest common hash. Used in high-security applications.

Časté otázky

Je MD5 stále bezpečný na používanie?

Nie, algoritmus MD5 je kryptograficky prelomený. Používajte ho iba na nekryptografické účely. Pre bezpečnosť zvoľte SHA-256 alebo SHA-512.

Je možné hash dešifrovať?

Nie. Hashovacie funkcie sú jednosmerné. Slabé heslá však možno uhádnuť pomocou tzv. rainbow tables (dúhových tabuliek). K heslám preto vždy pridávajte 'soľ' (salt).

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.