Dude, who even knows.

1st October 2021

Post reblogged from Splendid Palimpsest with 25,065 notes

toawk:

athingofvikings:

Years and years ago, I read a book on cryptography that I picked up because it looked interesting–and it was!

But there was a side anecdote in there that stayed with me for more general purposes.

The author was describing a cryptography class that they had taken back in college where the professor was demonstrating the process of “reversibility”, which is a principle that most codes depend on. Specifically, it should be easy to encode, and very hard to decode without the key–it is hard to reverse the process.

So he had an example code that he used for his class to demonstrate this, a variation on the Book Code, where the encoded text would be a series of phone numbers.

The key to the code was that phone books are sorted alphabetically, so you could encode the text easily–picking phone numbers from the appropriate alphabetical sections to use ahead of time would be easy. But since phone books were sorted alphabetically, not numerically, it would be nearly impossible to reverse the code without exhaustively searching the phone book for each string of numbers and seeing what name it was tied to.

Nowadays, defeating this would be child’s play, given computerized databases, but back in the 80s and 90s, this would have been a good code… at least, until one of the students raised their hand and asked, “Why not just call the phone numbers and ask who lives there?”

The professor apparently was dumbfounded.

He had never considered that question. As a result, his cipher, which seemed to be nearly unbreakable to him, had such an obvious flaw, because he was the sort of person who could never coldcall someone to ask that sort of thing!

In the crypto book, the author went on to use this story as an example of why security systems should not be tested by the designer (because of course the security system is ready for everything they thought of, by definition), but for me, as a writer, it stuck with me for a different reason.

It’s worth talking out your story plot with other people just to see if there’s a “Why not just call the phone numbers?” obvious plot hole that you’ve missed, because of your singular perspective as a person. Especially if you’re writing the sort of plot where you have people trying to outsmart each other.

@charlesoberonn

  1. apocryphaladagium reblogged this from kelssiel
  2. me-a-ham reblogged this from letswritetoday
  3. caranthira reblogged this from beatrice-otter
  4. scrollypoly reblogged this from itsabee
  5. itsabee reblogged this from zombiedoggy-archive
  6. storemp reblogged this from fulgurite-and-petrichor
  7. fulgurite-and-petrichor reblogged this from the-njnb
  8. vesper-roux reblogged this from hello-strawberry-mellow
  9. jobey-wan-kenobi reblogged this from nyxelestia
  10. bokglobule reblogged this from unbearable-lightness-of-ink
  11. thedragonreblogs reblogged this from voulinn
  12. krissielee reblogged this from the-njnb
  13. the-njnb reblogged this from blasphemous-lies-and-deceit
  14. volcanicpizza reblogged this from timeclonemike
  15. iangeleyesblog reblogged this from timeclonemike
  16. tinydragonreblogs reblogged this from moss-flowers-trees
  17. timeclonemike reblogged this from moss-flowers-trees
  18. soggy-daisy reblogged this from moss-flowers-trees
  19. princepestilence reblogged this from roach-works
  20. moss-flowers-trees reblogged this from kamari3
  21. athingofvikings posted this
    Years and years ago, I read a book on cryptography that I picked up because it looked interesting--and it was!