Password Generation in 2026: Length, Randomness and What to Stop Doing

Iniciado por joomlamz, Hoje at 15:25

Respostas: 0   |   Visualizações: 7

Tópico anterior - Tópico seguinte

0 Membros e 1 Visitante estão a ver este tópico.

Password Generation in 2026: Length, Randomness and What to Stop Doing



Tópico: Password Generation in 2026: Length, Randomness and What to Stop Doing
Categoria: Tutoriais | Programação & Tecnologia
Idioma Principal: Português (Conteúdo de Tecnologia)

Descrição do Conteúdo / Informações:
-------------------------------------------------------------------------
Most "strong password" advice is outdated. What actually matters in 2026:



1. Length beats complexity


A 16+ character random password is stronger than an 8-character one full of symbols. Entropy grows with length: each extra character multiplies the search space.



2. Randomness must come from a CSPRNG


Math.random() is predictable. Use crypto.getRandomValues() in browsers or secrets in Python. A generator that runs locally and uses Web Crypto is fine.



3. Uniqueness matters more than strength


Reusing one strong password across sites means one breach exposes everything. Use a password manager and a unique password per site.



4. Passphrases are great for things you must type


Four or five random words (diceware style) give about 50-65 bits of entropy and are easy to remember.



5. Don't force periodic rotation


NIST guidance now recommends against forced rotation unless there's evidence of compromise; it pushes people into predictable patterns like Summer2026!.



6. Turn on MFA


Passkeys or TOTP protect you even when a password leaks.



7. Never generate passwords on a site that sends them to a server


You can't verify what happens to the value. Use a generator that runs entirely in your browser, like this Password Generator which uses the Web Crypto API locally.

Disclosure: I built WebDevToolbox, a free collection of 500+ browser-based dev tools.


Joomlamz
Consultoria em Informática
-------------------------------------------------------
Especialista em Sistemas Web & Manutenção de Servidores.
A desenvolver o novo AplPortal com suporte a PHP 8.
Precisa de ajuda profissional? Contacte-me.

Tags: