The developer's guide to strong passwords
Blog post from WorkOS
Password policies have often been based on outdated security guidelines, leading users to create easily predictable passwords like "Password1!" despite complexity requirements. Modern password cracking leverages powerful GPUs to test billions of guesses per second, emphasizing the need for policies that protect against offline attacks by focusing on password length rather than complexity. The National Institute of Standards and Technology (NIST) now recommends prioritizing longer passphrases over complex ones, as they offer higher entropy and are easier to remember. Additionally, regular password rotation without evidence of a compromise is discouraged, as it often results in predictable password transformations. Instead, checking passwords against breached credential lists is a critical defense, preventing the reuse of compromised passwords. Implementing strong password policies involves using secure hashing algorithms like Argon2id, which are resistant to GPU-accelerated attacks, and ensuring passwords are salted to prevent precomputed attacks. While passwordless solutions such as passkeys are becoming more prevalent, robust password policies remain essential as the ecosystem transitions. Delegating authentication to specialized platforms can simplify this process, ensuring compliance with evolving security standards.