Every time you type a password, you're participating in one of humanity's oldest security rituals. The concept of using a secret word or phrase to prove identity and gain access predates computers by thousands of years. From the battlefields of ancient Rome to the encrypted databases of modern cloud services, the history of passwords is the history of human trust — and of the unending effort to verify it. Understanding this history helps explain why passwords work the way they do today, and why some modern approaches are finally breaking with ancient patterns.
Ancient Origins: Military Watchwords
The earliest documented use of password-like systems comes from ancient Rome, where the Roman army used a system of "watchwords" — secret phrases changed daily — to control access to military camps and identify friendly troops in the darkness of night. The Roman historian Polybius, writing around 150 BCE, described the elaborate system by which these watchwords were distributed throughout the army each evening on wooden tablets, ensuring that only those who belonged could move freely between positions.
The practical need was urgent and recognizable: soldiers needed to move between guard posts and supply lines at night, when visual identification was impossible. An enemy infiltrator who didn't know the watchword would be stopped or killed. Sound familiar? The problem of authentication — proving you are who you claim to be — has been a security challenge for as long as human societies have had anything worth protecting.
Ancient Egyptian texts, Greek military histories, and accounts of various ancient civilizations all contain references to challenge-and-response systems: "Who goes there?" "Friend." "Prove it." The "prove it" part — producing the correct secret word — is the direct ancestor of every password prompt you've ever seen.
Medieval Guilds and Secret Societies
In medieval Europe, the concept of shared secret knowledge took on new dimensions. Craft guilds — the medieval equivalent of professional unions — used secret passwords, handshakes, and recognition signals to identify genuine masters of a trade and protect their hard-won techniques from competitors. A journeyman moving to a new city could prove his guild membership and access the local network of craftsmen through these shared secrets.
Secret societies — the Freemasons being the most famous surviving example — developed elaborate systems of graded passwords, each granting access to a higher level of membership and deeper secrets. These weren't merely ceremonial; in an era before government identity documents, secret knowledge was one of the few reliable ways to verify membership in a trusted group.
The challenge-and-response format evolved during this period into something more sophisticated: a two-party exchange where both sides needed to provide the correct half of a recognition phrase. If a traveler arrived at the door of a guild house and gave the first half of a phrase, the gatekeeper responded with the expected second half. Both sides verified each other — an early form of what security engineers today call mutual authentication.
World War II: Cryptographic Escalation
The Second World War produced some of the most sophisticated secret-keeping systems in history. Military units used ever-changing codes, challenge-and-response sequences, and cryptographic devices to prevent infiltration. The famous "Flash" system used by Allied forces in Normandy — where a soldier asked "Flash" and expected the response "Thunder" — demonstrated how even simple password systems could have life-or-death consequences.
The Enigma machine and the Allied efforts to crack it represent the industrial-scale escalation of what passwords are fundamentally about: the tension between authentication and deception, between keeping secrets and uncovering them. Alan Turing and the Bletchley Park codebreakers were, in essence, the first modern password crackers — finding weaknesses in a system that its creators believed to be unbreakable.
The lessons from World War II cryptography directly influenced early computer security: the realization that any system's security depends on the secrecy of its key (password), that patterns and predictability are the enemy of security, and that determined adversaries will exploit any weakness they can find.
1961: The First Computer Passwords
The transition from physical to digital passwords happened in 1961 at the Massachusetts Institute of Technology. Fernando Corbató, a computer scientist at MIT, developed the Compatible Time-Sharing System (CTSS) — one of the first operating systems that allowed multiple users to share a single computer. Each user needed a way to access their own files and prevent others from accessing them.
Corbató's solution was elegantly simple: each user was assigned a username and a password. When they logged in, they entered both, and the system verified them against a stored list. If they matched, access was granted. This is recognizably the same system used by virtually every computer and online service today — a 60-year-old design that has scaled from a single shared mainframe to billions of accounts across the global internet.
Notably, the first computer password system had an immediate security problem: passwords were stored in a plain text file. A graduate student (apparently by accident) once printed out the entire password file and distributed it to users. The lesson about secure password storage — that passwords themselves should never be stored directly — took decades to be fully implemented across the industry.
Timeline: Key Moments in Password History
- • ~150 BCE: Roman army documents military watchword distribution system
- • Medieval period: Guild passwords protect trade secrets across Europe
- • 1940s: WWII cryptographic systems formalize modern security concepts
- • 1961: MIT's CTSS implements first computer login passwords
- • 1976: Unix implements password hashing (crypt function)
- • 1988: Morris Worm exploits weak Unix passwords at scale
- • 1993: Web browsers begin handling passwords for websites
- • 2004: Bill Gates predicts death of passwords at RSA Conference
- • 2013: Adobe breach exposes 153 million passwords (poorly stored)
- • 2022: FIDO Alliance passkeys launched across Apple, Google, Microsoft
The 1970s-80s: Unix and Password Hashing
The Unix operating system, developed at Bell Labs in the late 1960s and spreading through the 1970s, introduced a crucial security innovation: password hashing. Instead of storing passwords directly, Unix ran passwords through a one-way mathematical function (a hash), stored only the result, and compared newly submitted passwords' hashes to the stored ones.
This meant that even if an attacker obtained the password file, they couldn't directly read the passwords — they would need to guess passwords and test them against the stored hashes. The Unix crypt() function was specifically designed to be slow (taking roughly one second per hash on 1970s hardware), making bulk guessing attacks impractical. This was deliberately clever security design that anticipated future threats.
The 1988 Morris Worm — the first widely recognized internet worm — demonstrated the real-world danger of weak passwords at scale. Part of its spread mechanism involved cracking Unix password files using a small dictionary of common words. The worm infected thousands of machines (a huge fraction of the internet at the time) and caused significant damage. It was a wake-up call that human-chosen passwords, even on systems with proper hashing, were a critical vulnerability.
The Internet Explosion: 1990s-2000s
The commercialization of the internet in the 1990s created a problem with no historical precedent: suddenly, ordinary people needed to manage multiple passwords across many different services. Email accounts, online shopping, banking, forums, news sites — each demanding a unique login. The human cognitive load of managing dozens of distinct, strong passwords was genuinely new territory.
The predictable result was password reuse on an industrial scale. People chose one or two passwords they could remember and used them everywhere. This was rational from a usability standpoint but catastrophic from a security standpoint. When any single site was breached, every other site sharing that password was compromised. The first large-scale credential stuffing attacks of the early 2000s exploited exactly this pattern.
This era also saw password complexity requirements spread widely — the often-annoying demands for at least one uppercase letter, one number, one special character. These requirements were inspired by research suggesting that more character types made passwords harder to crack. The problem, as researchers later found, is that they mostly made passwords harder to remember without proportionally making them harder to crack — people responded with predictable patterns like "Password1!" rather than genuine randomness.
The Age of Massive Breaches: 2010s
The 2010s became defined by data breaches of unprecedented scale. LinkedIn lost 117 million credentials in 2012. Adobe lost 153 million in 2013 (with passwords encrypted using a flawed method that allowed easy cracking). Yahoo disclosed a 2013 breach of 3 billion accounts — every single Yahoo account in existence at the time. MySpace, eBay, Dropbox, and hundreds of other services all disclosed major breaches.
These breaches revealed two systemic failures: first, many companies were still storing passwords in insecure ways (unencrypted, or using outdated hashing algorithms); second, the scale of password reuse meant that breaches of secondary services exposed credentials that unlocked email, banking, and other primary accounts.
This era accelerated adoption of two-factor authentication, password managers, and, eventually, serious industry efforts toward passwordless authentication. The volume and severity of credential-related breaches made it impossible to dismiss password security as a niche concern.
Today and Beyond: Cryptographic Authentication
Modern password security has evolved dramatically from Fernando Corbató's 1961 text file. Today's best practices involve cryptographic password hashing using algorithms like bcrypt, scrypt, or Argon2 — designed to be computationally expensive, making mass cracking economically infeasible even with modern hardware. NIST guidelines now emphasize password length over complexity, the value of passphrases, and the importance of checking passwords against known breach databases.
Passkeys, standardized by the FIDO Alliance and implemented by Apple, Google, and Microsoft beginning in 2022-2023, represent the most significant shift since Corbató's original system. By using public-key cryptography instead of shared secrets, passkeys eliminate the server-side password database that has been the target of 60 years of attacks. The private key never leaves your device; only a public key is stored on the server. There's nothing for a breach to expose.
Yet even as passkeys gain traction, billions of accounts on older services still rely on traditional passwords. The transition will take years. The 4,000-year-old practice of authenticating through secret knowledge is ending — but slowly, and not completely yet. Until it does, using a strong, randomly generated, unique password for every account remains the most important step you can take.