Editing 153: Cryptography

Jump to: navigation, search

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.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 8: Line 8:
  
 
==Explanation==
 
==Explanation==
This comic refers to the study of {{w|cryptography}}. We can note the presence of the {{w|International Association for Cryptologic Research|International Association for Cryptologic Research (IACR)}} logo in the lectern ([[1661|podium?]]), an association that organizes the most important conferences in the cryptology field.  
+
This comic refers to the study of {{w|cryptography}}. We can note the presence of the {{w|International Association for Cryptologic Research|International Association for Cryptologic Research (IACR)}} logo in the podium, an association who organizes the most important conferences in the cryptology field. [[Cueball]], at the podium, is describing a proposed crypto system in which a computer program that turns a very large number, called the "{{w|key (cryptography)|key}}", and a message into an encrypted form that can only be read by using the same key, based on the model of a {{w|Feistel cipher}}. Part of any Feistel cipher is the "round function", which determines how the key is applied to the original message; this is applied multiple times with a variety of tricks and techniques to ensure the process can eventually be reversed. One common component of round functions is the {{w|S-box}}, a simple table that converts input bytes into output bytes, preferably in a way that doesn't correspond to any mathematical rules.
 
 
[[Randall]], drawn as [[Cueball]] behind the lectern at the podium, is describing a proposed crypto system in which a computer program turns a very large number, called the "{{w|key (cryptography)|key}}," and a message into an encrypted form that can only be read by using the same key, based on the model of a {{w|Feistel cipher}}. Part of any Feistel cipher is the "round function," which determines how the key is applied to the original message; this is applied multiple times with a variety of tricks and techniques to ensure that the process can eventually be reversed. One common component of round functions is the {{w|S-box}}, a simple table that converts input bytes into output bytes, preferably in a way that doesn't correspond to any mathematical rules.
 
  
 
Here, the S-box would be implemented by doing the following (with the computer operation actually shown in the diagrams indicated in parentheses):
 
Here, the S-box would be implemented by doing the following (with the computer operation actually shown in the diagrams indicated in parentheses):
Line 18: Line 16:
 
#Reverse it (run the bits in the opposite order)
 
#Reverse it (run the bits in the opposite order)
  
This would be run on each round of the cipher to further scramble the message for the next round. As the caption implies, the steps are based on a line from the {{w|Missy Elliott}} song ''{{w|Work It (Missy Elliott song)|Work It}}'': '''"I put my thing down, flip it and reverse it."''' As with any encryption system, there must be a way to decrypt the cipher text. In Missy Elliott's song, the phrase "I put my thing down, flip it and reverse it" is repeatedly played backward, sounding like gibberish. In the same way, steps to a Feistel cipher-based algorithm are executed in reverse to obtain the original plain text from a cipher text.
+
This would be run on each round of the cipher to further scramble the message for the next round. As the caption implies, the steps are based on a line from the {{w|Missy Elliott}} song ''{{w|Work It (Missy Elliott song)|Work It}}'': '''"I put my thing down, flip it and reverse it."''' As with any encryption system there must be a way to decrypt the cipher text. In Missy Elliott's song, the phrase "I put my thing down, flip it and reverse it" is repeatedly played backward, sounding like gibberish. In the same way, steps to a feistel cipher based algorithm are executed in reverse to obtain the original plain text from a cipher text.
 +
 
 +
The {{w|Key space (cryptography)|keyspace}} for a cryptographic algorithm is the number of possible keys the algorithm can possibly accept. For example, {{w|Advanced Encryption Standard|AES-256}} has a keyspace of 2<sup>256</sup> (roughly 1.1579209e+77) possible keys, simply because the algorithm specifies that each key is 256 bits wide. The title text is referring to "searching a keyspace", which is to say, simply trying every key until you find one that works. (For reference, a computer would require roughly the energy of a billion billion supernovas to even count to 2<sup>256</sup>, let alone actually try each one.) The precise wording "If you got a big keyspace, let me search it" is, of course, another reference to the same song: "If you got a big **** let me search ya" (The word "penis" is censored by the trumpeting of an elephant).
 +
 
 +
===Inside references and real life shenanigans===
  
The {{w|Key space (cryptography)|keyspace}} for a cryptographic algorithm is the number of possible keys the algorithm can possibly accept. For example, {{w|Advanced Encryption Standard|AES-256}} has a keyspace of 2<sup>256</sup> (roughly 1.1579209e+77) possible keys, simply because the algorithm specifies that each key is 256 bits wide. The title text is referring to "searching a keyspace," which is to say, simply trying every key until you find one that works. (For reference, a computer would require roughly the energy of a billion billion supernovas to even count to 2<sup>256</sup>, let alone actually try each one.) The precise wording, "If you got a big keyspace, let me search it" is, of course, another reference to the same song: "If you got a big **** let me search ya" (The word "penis" is censored by the trumpeting of an elephant).
+
Cueball is banned from multiple conferences for similar pranks in [[541: TED Talk]]. In response to 541, {{w|PyCon}} organizers jokingly [http://pycon.blogspot.com/2009/02/randall-munroe.html announced] that Randall Munroe was banned from PyCon 2009 due to "last year's disgraceful keynote, 'Web Spiders vs. Red Spiders'." They also said they instructed their volunteers to refuse admission to him and "any stick figures who may attempt to register, particularly if they are wearing hats."
  
This was the first comic where Randall was banned from conferences. Since then, he has been [[:Category:Banned from conferences|banned from multiple conferences]] for similar pranks; especially in [[541: TED Talk]], there is a whole list of conferences from which he has been banned. This has sometimes resulted in him being invited to those conferences - see more here on this [[541:_TED_Talk#PyCon response|PyCon response]] to Randall claiming he was banned from their conference.
+
Messages on the PyCon-Organizers mailing list show that this joke was intended to get Randall to come to PyCon: (The links will only work if you're subscribed to the mailing list.)
 +
:PyCon mentioned briefly in today's xkcd:
 +
:http://xkcd.com/541/
 +
:We've still never gotten Randall Munroe to actually attend, have we? Anybody want to take charge of twisting his arm this time?  I think we can still offer him a "press pass" (free registration). [...] [http://mail.python.org/mailman/private/pycon-organizers/2009-February/011224.html]
 +
::An invite would seem most appropriate given the cartoon. :-)
 +
::We could also have an official PyCon blog post confirming his ban... [http://mail.python.org/mailman/private/pycon-organizers/2009-February/011225.html]
 +
:::How about a public blog post LIFTING the ban and inviting him? [http://mail.python.org/mailman/private/pycon-organizers/2009-February/011226.html]
 +
::::Confirming the ban is far funnier... He's definitely a disturbing influence on programmers. [http://mail.python.org/mailman/private/pycon-organizers/2009-February/011227.html]
 +
:::::Agreed, especially if we invite him concurrently with confirming the ban. [http://mail.python.org/mailman/private/pycon-organizers/2009-February/011239.html]
 +
:::::(a few posts later)
 +
:::::I'm happy to participate in actually throwing some thin guy out of the conference, and then get some graphics savvy person to animate a stick figure over that. :) [...][http://mail.python.org/mailman/private/pycon-organizers/2009-February/011274.html]
 +
::::::here's a rough idea of what would show up if you invited him to actually do any speaking...
 +
::::::http://www.youtube.com/watch?v=zJOS0sV2a24
 +
::::::it's fairly long. he shows up in the beginning around 3:25. [http://mail.python.org/mailman/private/pycon-organizers/2009-February/011275.html]
 +
:::::::For the record, I did try to convince him to come when got the art for the tshirt last year.  He didn't seem super psyched, but then again emotions are hard to read via IRC.
 +
:::::::I love the idea of "officially" banning him, however. ;-) [http://mail.python.org/mailman/private/pycon-organizers/2009-February/011241.html]
 +
::::::::(a few posts later)
 +
::::::::OK - posted to the PyCon blog, by the power vested in me as publicity chair.  With Michael Foord's excellent sentence added.
 +
::::::::Now let him know that since he's banned, he HAS to come. [http://mail.python.org/mailman/private/pycon-organizers/2009-February/011251.html]
  
 
==Transcript==
 
==Transcript==
:[Randall Munroe (drawn as Cueball) stands behind a lectern on a podium in front of a large conference audience (consisting of Cueball heads), with a poster hanging beside him.]
+
:[Cueball at a podium in front of a conference audience, with a poster beside him.]
:Randall: My cryptosystem is like any Feistel cipher, except in the S-Boxes we simply take the bitstring down, flip it, and reverse it.
+
:Cueball: My cryptosystem is like any Feistel cipher, except in the S-Boxes we simply take the bitstring down, flip it, and reverse it.
 
+
:
:[The poster reads:]
+
: [the poster reads:]
 
:: Decryption
 
:: Decryption
 
:: <code>01101010</code>
 
:: <code>01101010</code>
Line 37: Line 57:
 
:: [crossed arrows]
 
:: [crossed arrows]
 
:: <code>01010011</code>
 
:: <code>01010011</code>
 
+
:
:[Caption below the crowd:]
 
 
:I've been barred from speaking at any major cryptography conferences ever since it became clear that all my algorithms were just thinly disguised Missy Elliott songs.
 
:I've been barred from speaking at any major cryptography conferences ever since it became clear that all my algorithms were just thinly disguised Missy Elliott songs.
  
 
{{comic discussion}}
 
{{comic discussion}}
 
[[Category:Comics featuring Randall Munroe]]
 
 
[[Category:Comics featuring Cueball]]
 
[[Category:Comics featuring Cueball]]
  

Please note that all contributions to explain xkcd 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 explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)