Ní mór focail bhéasa a stóráil go slán — ní riamh i dtéacs geal, ach hashed le algartam láidir, mall, salted chun focail bhéasa a dhruillíonn (bcrypt, Argon2, scrypt). Tá láimhseáil focal bhéasa ceart ríchriticiúil toisc go bhfuil briseadh focal bhéasa an-ghránna agus coitianta.
Ná stóraigh téacs geal riamh; hash i gceart
❌ NEVER store passwords in plaintext (a breach exposes all passwords directly)
❌ Don't use fast/general hashes (MD5, SHA-256) alone — too fast → easily brute-forced
✅ HASH with a dedicated PASSWORD HASHING algorithm: BCRYPT, ARGON2, or scrypt:
→ SLOW by design (resistant to brute-force/GPU cracking)
→ SALTED (a unique random salt per password) → prevents rainbow-table attacks and
identical passwords hashing the same
