Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Autokey cipher
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Method== The autokey cipher, as used by members of the [[American Cryptogram Association]], starts with a relatively-short keyword, the ''primer'', and appends the message to it. For example, if the keyword is {{code|QUEENLY}} and the message is {{code|attack at dawn}}, then the key would be {{code|QUEENLYATTACKATDAWN}}.<ref>{{cite web|url=http://asecuritysite.com/security/Coding/autokey?word=attackatdawn%2Cqueenly |title=Autokey Calculator |publisher=Asecuritysite.com |access-date=2012-12-26 |url-status=dead |archive-url=https://web.archive.org/web/20131202225102/http://asecuritysite.com/security/Coding/autokey?word=attackatdawn%2Cqueenly |archive-date=2013-12-02 }}</ref> Plaintext: attackatdawn Key: QUEENLYATTACKATDAWN Ciphertext: QNXEPVYTWTWP The ciphertext message would thus be "QNXEPVYTWTWP". To decrypt the message, the recipient would start by writing down the agreed-upon keyword. QNXEPVYTWTWP QUEENLY The first letter of the key, Q, would then be taken, and that row would be found in a tabula recta. That column for the first letter of the ciphertext would be looked across, also Q in this case, and the letter to the top would be retrieved, A. Now, that letter would be added to the end of the key: QNXEPVYTWTWP QUEENLY'''A''' '''a''' Then, since the next letter in the key is U and the next letter in the ciphertext is N, the U row is looked across to find the N to retrieve T: QNXEPVYTWTWP QUEENLY'''AT''' '''at''' That continues until the entire key is reconstructed, when the primer can be removed from the start. QNXEPVYTWTWP QUEENLY'''ATTACKATDAWN''' '''attackatdawn''' With Vigenère's autokey cipher, a single mistake in encryption renders the rest of the message unintelligible.<ref name="hoffstein" />
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Autokey cipher
(section)
Add topic