TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Constraints on the password imposed by m209 on first password management

1 pointsby kannangceover 3 years ago
I was going through the paper [Password Security: A Case History][1] By Robert Morris and Ken Thompson on authentication. It has been mentioned in the <i>First Scheme</i> that the first encryption used m209, in which they used the user password as the key.<p>The respective excerpt is,<p>&gt; Most of the standard encryption methods used (in the past) for &gt; encryption of messages are rather easy to invert. A convenient and &gt; rather good encryption program happened to exist on the system at the &gt; time; it simulated the M-209 cipher machine [1] used by the U.S. Army &gt; during World War II. It turned out that the M-209 program was usable, &gt; but with a given key, the ciphers produced by this program are trivial &gt; to invert. It is a much more difficult matter to find out the key &gt; given the cleartext input and the enciphered output of the program. &gt; Therefore, the password was used not as the text to be encrypted but &gt; as the key, and a constant was encrypted using this key. The encrypted &gt; result was entered into the password file.<p>As read through the m209 further, seems like the key wheel can have 6 wheels, in which we can set&#x2F;unset a specific alphabet.<p>There are some constraints here, - Only alphabets can be used in the key. - They are case insensitive. - Not all the wheels contain all the alphabets that are needed.<p>Given these constraints, any idea what were the constraints on the passwords imposed by the first generation encryption of the password?<p><pre><code> [1]: http:&#x2F;&#x2F;citeseerx.ist.psu.edu&#x2F;viewdoc&#x2F;download?doi=10.1.1.128.1635&amp;rep=rep1&amp;type=pdf</code></pre>

no comments

no comments