New OOTS products from CafePress
New OOTS t-shirts, ornaments, mugs, bags, and more
Results 1 to 28 of 28

Thread: Code Breaking

  1. - Top - End - #1
    Pixie in the Playground
     
    M0rdain's Avatar

    Join Date
    Jul 2010

    Default Code Breaking

    In our last session we found a sheet of parchment with some writing on it. To keep the flow of the game going we did not discuss it during the session, but we ahve been chatting about it over email since. I have been trying to work it out but failing. :s I don't want some one to work it out for me, but i was wondering if anyone had any ideas. I have tooked at transposing the letters, but not had any luck.

    HVENN DJBQD JOEUN ILYIL INNWD PLHIK
    HVFIK XEJKL LHILS ICLWL HILSI NQILH
    IIETH LLHIK EULHI XDPJV CBLHI DCIVC
    BCDSL HIYIL HDBLJ PIHDS LDYIC BVCBX
    EUVCB MDECH DSLDY VAILH IYVCW DCIKE
    UKHVF IKXEQ IFDEC LKXDP JINIY ICLKL
    HJIIK DCKLS DKFVJ AKDCI HVYYI JVCBL
    HIVCQ ENDXL HIQDE BIKLJ ESIJI LDDLH

  2. - Top - End - #2
    Firbolg in the Playground
    Join Date
    Jan 2006
    Gender
    Male

    Default Re: Code Breaking

    The simplest place to start is with a substitution cipher: each letter has been replaced with a single other letter. Try counting up the number of times each letter appears, and arranging them by frequency, then comparing that to the frequencies of letters in English and seeing if it looks more intelligible.

  3. - Top - End - #3
    Troll in the Playground
     
    JeminiZero's Avatar

    Join Date
    Jan 2008

    Default Re: Code Breaking

    Is there any particular reason why the letters are occuring in uniform blocks of 5, and with 6 blocks per line?

    Maybe theres a crossword puzzle somewhere in there?
    ESPRE Super Powers Roleplay Engine: An open game RPG about super powers.
    Spoiler
    Show

    Trissociate 3.5 Homebrew Base Class. Mix & match abilites & templates to make virtually any sort of character!
    Emerald Legion A Mind Flayer's guide to breeding Ikea Tarrasques
    The Blob Ikea Tarrasques Redux through Fusion+Astral Seed
    Spellblade Tennis Throw out nigh infinite spells per round
    Sleeping Raven Infinite Blood Frenzy Nigh infinite melee damage exploit

  4. - Top - End - #4
    Titan in the Playground
     
    The Rose Dragon's Avatar

    Join Date
    Jan 2008

    Default Re: Code Breaking

    HVENN DJBQD JOEUN ILYIL INNWD PLHIK
    HVFIK XEJKL LHILS ICLWL HILSI NQILH
    IIETH LLHIK EULHI XDPJV CBLHI DCIVC
    BCDSL HIYIL HDBLJ PIHDS LDYIC BVCBX
    EUVCB MDECH DSLDY VAILH IYVCW DCIKE
    UKHVF IKXEQ IFDEC LKXDP JINIY ICLKL
    HJIIK DCKLS DKFVJ AKDCI HVYYI JVCBL
    HIVCQ ENDXL HIQDE BIKLJ ESIJI LDDLH


    Wonder if a fixed-width font would grant new insights.
    I use black for sarcasm.


    Call me Rose, or The Rose Dragon. Rose Dragon is someone else entirely.

    If you need me for something, please PM me about it. I am having difficulty keeping track of all my obligations.

  5. - Top - End - #5
    Firbolg in the Playground
    Join Date
    Jan 2006
    Gender
    Male

    Default Re: Code Breaking

    Quote Originally Posted by JeminiZero View Post
    Is there any particular reason why the letters are occuring in uniform blocks of 5, and with 6 blocks per line?
    To obscure any patterns relating to word length. It'd be easy to look at which letters occur on their own, for example, and say "well those are A and I".

  6. - Top - End - #6
    Bugbear in the Playground
     
    Ormagoden's Avatar

    Join Date
    Oct 2009
    Location
    In Constant Disapproval
    Gender
    Male

    Default Re: Code Breaking

    You'll first need to find the key word. This code has a tabulated cipher.

    If you are observant, you might notice that each "word" is six letters, and there are six columns. More than likely your keyword is six letters long.
    Last edited by Ormagoden; 2010-07-19 at 08:58 AM.

  7. - Top - End - #7
    Titan in the Playground
     
    Jeff the Green's Avatar

    Join Date
    Feb 2010
    Location
    The Great PNW
    Gender
    Male

    Default Re: Code Breaking

    Do "Lord Vor-ixlet" or "Estri Weretooth" ring a bell? (If this is correct, the fourth letter of Lord Whatsisname can't be solved, but I'd guess you know it already.)

    Crap. Didn't read the OP thoroughly enough. Spoilered is the solution a program came up with.

    Spoiler
    Show
    Hail Lord Vor-ixlet,
    Me tell you the shapes: first the twenty, the twelve, the eight, the six, the four, and the one. And now the method true how to mend and fix and join, how to make the many one: six shapes, five points, four elements, three sons, two sparks, one hammer, and the anvil of the void.
    Estri Weretooth


    I added spaces and punctuation. I also cheated.

    Edit: Oh bother. I really need to learn to read.

    Yes substitution cipher (really the best bet anyway since it's one of the few a human can break without a key). Forget about spacing, since that's a red herring for most ciphers. This site is your friend. So is this one.
    Last edited by Jeff the Green; 2010-07-19 at 09:06 AM.

  8. - Top - End - #8
    Bugbear in the Playground
     
    Ormagoden's Avatar

    Join Date
    Oct 2009
    Location
    In Constant Disapproval
    Gender
    Male

    Default Re: Code Breaking

    The OP said they didn't want someone to work it out for them...

  9. - Top - End - #9
    Bugbear in the Playground
     
    Shadowleaf's Avatar

    Join Date
    May 2010

    Default Re: Code Breaking

    Quote Originally Posted by JeffreytheGreen View Post
    Do "Lord Vor-ixlet" or "Estri Weretooth" ring a bell? (If this is correct, the fourth letter of Lord Whatsisname can't be solved, but I'd guess you know it already.)[/SPOILER]

    I added spaces and punctuation. I also cheated.
    Even if this isn't the correct answer, this comment sums up what I love about the GiTP boards.

    *Smacks on Shadowleaf's stamp of approval*
    Last edited by Shadowleaf; 2010-07-19 at 09:01 AM.
    English is a second language etc etc.

  10. - Top - End - #10
    Ettin in the Playground
     
    NecromancerGirl

    Join Date
    May 2010

    Default Re: Code Breaking

    If the cipher is more complex, or has an encryption on it, it'll be harder to get. Back in high school, I played around with encryption programs, and with even the basic ones I did, the encryption pattern didn't repeat itself for over 1000 characters.

    What's that mean? If you see an "A" in one spot, and an "A" in another, they would only decrypt to be the same letter if they were exactly 1,666 characters apart.

    This is more likely to be a simple substitution, with all spaces and punctuation taken out. I can't imagine a DM would be so sadistic as to use an encryption tool with 17 different algorithms, which then encryped 4 times, the first time rotating between all 17, the second rotating between a selected 14, the third rotating between a selected 2, and the fourth alternating between one of them, and no encryption at all... For a message only 240 characters.

  11. - Top - End - #11
    Pixie in the Playground
     
    M0rdain's Avatar

    Join Date
    Jul 2010

    Default Re: Code Breaking

    Thank you for putting it in a spoiler so that i can not read it :)

    Lord Vorbix, does make sense. But i still need to find out how to actually decode it :) [does not help that i am trying to do this while at work lol]
    M0rdain - .... "i'm sure i'll find somethign interesting for here later"

  12. - Top - End - #12
    Titan in the Playground
     
    Jeff the Green's Avatar

    Join Date
    Feb 2010
    Location
    The Great PNW
    Gender
    Male

    Default Re: Code Breaking

    Frequency analysis is your friend.

    • Match up the most common letters in the cipher with the most common letters in English (E, T, and A).
    • Look for double letters; they're often L, O, or S.
    • Find trigrams (repeated three letter motifs). The most common trigram in English is "the," which conveniently also has the most common letter in it!
    • Keep track of the key. A lot of substitution ciphers use a keyword, and guessing it can help speed the process.
    Author of The Auspician's Handbook and The Tempestarian's Handbook for Spheres of Power.
    Ask me (or the other authors) anything.
    Quote Originally Posted by Lateral View Post
    Well, of course I'm paranoid about everything. Hell, with Jeff as DM, I'd be paranoid even if we were playing a game set in The Magic Kiddie Funland of Perfectly Flat Planes and Sugar Plums.
    Greenman by Bradakhan/Spring Greenman by Comissar/Autumn Greenman by Sgt. Pepper/Winter Greenman by gurgleflep

  13. - Top - End - #13
    Dwarf in the Playground
     
    GnomePirate

    Join Date
    Sep 2009

    Default Re: Code Breaking

    what kamikasei and jeffery said:

    e t a o - are the most common letters.
    your cipher has I L D as the most common letters. so start subbing e for I, t for L and o for D (why later), and see if any words emerge. if you have the word if you have the words ZYouldXeet, you can be pretty sure that X is m, it it is "should/could meet"

    doubles: your DILNY's all have doubles, so you be sure that those letters correspond to o l t e s or something else that occurrs together commonly. (this is why i said o for D instead of a for D.

    i'll start you off:
    Spoiler
    Show
    HVENN oJBQo JOEUN etYeL eNNWo PLHeK
    HVFeK XEJKt tHetS eCtWt HeLSe NQetH
    eeETH ttHeK EUtHe XoPJV CBtHe oCeVC
    BCoSt HeYet HDBtJ PeHoS toYeC BVCBX
    EUVCB MoECH oStoY VAetH eYVCW oCeKE
    UKHVF eKXEQ eFoEC tKXoP JeNeY eCtKt
    HJeeK oCKtS oKFVJ AKoCI HVYYI JVCBL
    HeVCQ ENoXt HeQoE BeKtJ ESeJe tootH
    you can see by the last word, H corresponds to h,

    second step
    Spoiler
    Show
    hVENNoJBQoJOEUNetYeLeNNWoPLHeK
    hVFeKXEJKt the tSentWtHeLSeNQeth
    eeETht the KEU the XoPJVaB the one
    VnBnoS the YethDBtJPehoStoYenBVnBX
    EUVnBMoEnhoStoYVAe the YVnW one
    KEUKhVFeKXEQeFoEntKXoPJeNeYentKt
    hJeeKonKtSoKFVJAKonIhVYYIJVnBL
    heVnQENoX the QoEBeKtJESeJe tooth


    third step
    Spoiler
    Show

    your E and V should be a i or s. E for i seems to work out better
    haiNNoJBQoJOiUNetYeLeNNWoPLHeK
    haFeKXiJKt the tSentWtHeLSeNQeth
    eeiTht the KiU the XoPJVaB the one
    anBnoS the YethDBtJPehoStoYenBanBX
    EUanBMoEnhoStoYaAe the YanW one
    KiUKhaFeKXiQeFointKXoPJeNeYentKt
    hJeeKonKtSoKFVJAKonIhVYYIJanBL
    heanQiNoX the QoiBeKtJESeJe tooth

    fourth step
    Spoiler
    Show

    K B J N should correspond to some permutation of s r d l
    So i put in s for K and found the word eiTht and put in g for T and rearranged line endings to match with words
    haiNNoJBQoJOiUNetYeLeNNWoPLHeshaFesXiJst
    the tSentW the LSeNQe the eight the siU the XoPJVaB the one
    anBnoS the YethDBtJPehoStoYenBanBXEUanBMoEnhoStoYaAe
    the YanW one siU shaFeKXiQeFointsXoPJeNeYentsthJeeson
    KtSosFVJAsonIhVYYIJanBLheanQiNoX the QoiBestJESeJe tooth


    filling in the blanks
    Spoiler
    Show

    no really this the entire rest of the solution
    Spoiler
    Show

    and noS the YethDdtrPehoStoY end and XiU and MoinhoStoYaAe
    the YanW one siU shaFeKXiQeFointsXoPreleYents three son
    stSosFarAsonIhaYYer and theanQiloX the QoidestriSere tooth

    hail lord QorOiU let me tell WoP the shaFes Xirst
    the tSentW the tSelQe the eight the siU the XoPr and the one
    and noS the methDd trPehoStoY end and XiU and MoinhoStomaAe
    the manW one siU shaFesXiQeFointsXoPr elements three son
    stSosFarAsone hammer and theanQiloX the QoidestriSere tooth

    hail lord vorOiU let me tell you the shaFes Xirst
    the twenty the twelve the eight the siU the Xour and the one
    and now the methDd true how to mend and XiU and Moin how to maAe
    the many one siU shaFes Xive Foints Xour elements three sons
    two sFarAsone hammer and the anvil oX the void estri weretooth

    hail lord vorOix let me tell you the shapes first
    the twenty the twelve the eight the six the four and the one
    and now the method true how to mend and fix and join how to make
    the many one six shapes five points four elements three sons
    two sparks one hammer and the anvil of the void estri weretooth


    and we can start to see some words such as "the" emerge. I was tempted to switch "C" for "a" but i can see that will not work(two instances of oae. I think "n" will work though).
    Last edited by Bagelz; 2010-07-19 at 11:53 AM.

  14. - Top - End - #14
    Dwarf in the Playground
     
    RangerGuy

    Join Date
    May 2010
    Location
    UK
    Gender
    Male

    Default Re: Code Breaking

    Quote Originally Posted by Bagelz View Post

    e t a o - are the most common letters.

    snip
    There is a useful mnemonic for the most common letters in the English language:

    ETA ON RHS

    aka "Estimated Time [of] Arrival ON [the] Right Hand Side"

  15. - Top - End - #15
    Ettin in the Playground
     
    Kobold

    Join Date
    May 2005
    Location
    Somerville, MA
    Gender
    Male

    Default Re: Code Breaking

    Out of curiosity, how does one solve a rotating cipher? That's a system where all letters are incremented by a value depending on their position. ie, the first letter increases by 1, the second by 4, and the third by 3. Then 143 repeats, so the fourth goes up by 1, fifth by 4, etc.

    I've seen a few of these in game. Some amount of statistical analysis helps. Usually though the GM gives out clues (make an int check and I'll give you punctuation) until we reach a point where the puzzle is solved. Is there a better method? Or is this the sort of thing that's complex enough that it should be solved by software?
    If you like what I have to say, please check out my GMing Blog where I discuss writing and roleplaying in greater depth.

  16. - Top - End - #16
    Titan in the Playground
     
    Jeff the Green's Avatar

    Join Date
    Feb 2010
    Location
    The Great PNW
    Gender
    Male

    Default Re: Code Breaking

    Quote Originally Posted by valadil View Post
    Is there a better method? Or is this the sort of thing that's complex enough that it should be solved by software?
    Everything should be solved with software.

    Ahem. If you could figure out the key, it's trivial to solve. If I were DMing, that'd be an option I'd allow the players to take. Intecept another message, find some way to divine it, or just intuit it out (e.g. drop hints that the BBEG's familiar is named "fluffy").

    Without the key... I couldn't solve it, but I'm not cryptographer. I'd say it's pretty hard, though. Depending on the complexity of the rotation, it could be nearly impossible (the Enigma machine was a rotation cipher-creator).
    Author of The Auspician's Handbook and The Tempestarian's Handbook for Spheres of Power.
    Ask me (or the other authors) anything.
    Quote Originally Posted by Lateral View Post
    Well, of course I'm paranoid about everything. Hell, with Jeff as DM, I'd be paranoid even if we were playing a game set in The Magic Kiddie Funland of Perfectly Flat Planes and Sugar Plums.
    Greenman by Bradakhan/Spring Greenman by Comissar/Autumn Greenman by Sgt. Pepper/Winter Greenman by gurgleflep

  17. - Top - End - #17
    Troll in the Playground
    Join Date
    Apr 2008
    Location
    USA
    Gender
    Intersex

    Default Re: Code Breaking

    Quote Originally Posted by Bushidough View Post
    There is a useful mnemonic for the most common letters in the English language:

    ETA ON RHS

    aka "Estimated Time [of] Arrival ON [the] Right Hand Side"
    Or you could just remember "etaoin shrdlup" but your mileage may vary.
    ze/zir | she/her

    Omnia Vincit Amor

  18. - Top - End - #18
    Ettin in the Playground
     
    Kobold

    Join Date
    May 2005
    Location
    Somerville, MA
    Gender
    Male

    Default Re: Code Breaking

    Quote Originally Posted by JeffreytheGreen View Post
    Everything should be solved with software.

    Ahem. If you could figure out the key, it's trivial to solve. If I were DMing, that'd be an option I'd allow the players to take. Intecept another message, find some way to divine it, or just intuit it out (e.g. drop hints that the BBEG's familiar is named "fluffy").

    Without the key... I couldn't solve it, but I'm not cryptographer. I'd say it's pretty hard, though. Depending on the complexity of the rotation, it could be nearly impossible (the Enigma machine was a rotation cipher-creator).
    If the puzzle is trivial I'd rather not bother giving it to the players. Basically I'd like to figure out where the line is drawn between encryption that can be cracked by hand and the kind that really does need software.

    Until I run a modern game where all the players are decent coders, I'd rather not require programming as part of the game, even if you refluff it and claim that that python script was really divination.
    If you like what I have to say, please check out my GMing Blog where I discuss writing and roleplaying in greater depth.

  19. - Top - End - #19
    Firbolg in the Playground
     
    RogueGuy

    Join Date
    May 2010
    Location
    ganiseville GA
    Gender
    Male

    Default Re: Code Breaking

    Hand cryptology takes a long time. You need to guess the patern being used and reverse it. If you think that a variable is being used to prevent frequency anyalsis, then try to guess a the variable and insert it to see if you can crack the code that way. This is mostly done in cases that a frequency solution doesn't help. A computer program will do the same thing, but will run all posible permutations and give you a selection that looks most like english.

    Things can get wierd if you really want to hide a text from anyone with out a key, like a rolling variable that alters the lettering or non-standard letter location. Cracking a code that, rather than being read left to right, alternates letters from the left and right side of the page or something. It is crackable quickly if you know how it is built, but figgureing out how it is built is the problem.

  20. - Top - End - #20
    Banned
     
    Harperfan7's Avatar

    Join Date
    Dec 2008
    Location
    Cydonia
    Gender
    Male

    Default Re: Code Breaking

    ...you could make a decipher script check.

  21. - Top - End - #21
    Banned
     
    Dr.Epic's Avatar

    Join Date
    Jan 2010

    Default Re: Code Breaking

    Quote Originally Posted by kamikasei View Post
    The simplest place to start is with a substitution cipher: each letter has been replaced with a single other letter. Try counting up the number of times each letter appears, and arranging them by frequency, then comparing that to the frequencies of letters in English and seeing if it looks more intelligible.
    Like Sherlock Holmes in the Case of the Dancing Men?

  22. - Top - End - #22
    Banned
     
    Math_Mage's Avatar

    Join Date
    Jan 2010
    Gender
    Male

    Default Re: Code Breaking

    Quote Originally Posted by valadil View Post
    If the puzzle is trivial I'd rather not bother giving it to the players. Basically I'd like to figure out where the line is drawn between encryption that can be cracked by hand and the kind that really does need software.

    Until I run a modern game where all the players are decent coders, I'd rather not require programming as part of the game, even if you refluff it and claim that that python script was really divination.
    If you want to really make sure that programming isn't needed, just leave the spaces between words as they are. That makes the puzzle much easier to solve.

  23. - Top - End - #23
    Banned
     
    imp_fireball's Avatar

    Join Date
    Jul 2008
    Gender
    Male

    Default Re: Code Breaking

    I read cryptonomicon.

    ... Unfortunately, it confused the hell out of me. So can't help you. Kthxbai.

  24. - Top - End - #24
    Ogre in the Playground
    Join Date
    Jun 2009

    Default Re: Code Breaking

    Quote Originally Posted by valadil View Post
    Is there a better method? Or is this the sort of thing that's complex enough that it should be solved by software?
    This is basically a vignere cipher. You attack it by looking for triplets that repeat.

    In a long enough cipher, "the" could occur such that the rotating key encodes them the same way.
    Thus, if ULH (THE + 143) occurs twice 21 letters apart, you know the key is 21, 7 or 3 long. All you need is another such repeat, say 18, which indicates 18, 6, 3 or 2, to show that the key has a length of 3.

    Then you know that the 1st/4th/7th are all shifted the same way, 2nd/5th/8th and 3rd/6th/9th likewise. Apply frequency analysis and english language.

  25. - Top - End - #25
    Firbolg in the Playground
    Join Date
    Jan 2006
    Gender
    Male

    Default Re: Code Breaking

    Quote Originally Posted by Dr.Epic View Post
    Like Sherlock Holmes in the Case of the Dancing Men?
    *checks*

    Yes, that was of the same sort.

  26. - Top - End - #26
    Pixie in the Playground
     
    M0rdain's Avatar

    Join Date
    Jul 2010

    smile Re: Code Breaking

    Thank you for all the help, We managed to solve it. (mainly done by our Party Rogue) i think he had more speare time yesterday. Hehe.
    M0rdain - .... "i'm sure i'll find somethign interesting for here later"

  27. - Top - End - #27
    Ettin in the Playground
     
    Kobold

    Join Date
    May 2005
    Location
    Somerville, MA
    Gender
    Male

    Default Re: Code Breaking

    Quote Originally Posted by jseah View Post
    This is basically a vignere cipher. You attack it by looking for triplets that repeat.

    In a long enough cipher, "the" could occur such that the rotating key encodes them the same way.
    Thus, if ULH (THE + 143) occurs twice 21 letters apart, you know the key is 21, 7 or 3 long. All you need is another such repeat, say 18, which indicates 18, 6, 3 or 2, to show that the key has a length of 3.

    Then you know that the 1st/4th/7th are all shifted the same way, 2nd/5th/8th and 3rd/6th/9th likewise. Apply frequency analysis and english language.
    Incidentally I think that's exactly how we solved those. Each time I was given one of those puzzles, "the" was repeated enough that it appeared as the same triple several times in the text. As a GM, should I write the text in a way that includes "the" at an interval that allows this to happen, just to make sure it ends up being solvable?
    If you like what I have to say, please check out my GMing Blog where I discuss writing and roleplaying in greater depth.

  28. - Top - End - #28
    Ogre in the Playground
    Join Date
    Jun 2009

    Default Re: Code Breaking

    That certainly makes it easier.

    In my case, I was trying to make it harder to ensure they had to reach the contact to get the message. So I removed all grammar as well.

    Spoiler
    Show
    In particular:
    HWTNEQYTUZJNOQSYMCHUEQJKYFHJVBJVWPMWVPWSCAASZCSVYI VXNXUDCMKQBSJDSQEUHZYSHBASMMWUYXLNHVUSLIETNVYR

    decoded to,
    NOBILITYARRIVINGSUPPLIESEXPECTEDCHURCHRAISINGUNDEA DSUPPLIESLIKELYIMPORTANTINTERCEPTIONPARAMOUNT-

    Keyword: THRESHER

    The last letter was added to fill it in, and as a "clue". Since R doesn't appear anywhere else (I used 26 = z and 27 = a), you could guess that was a 0 added to the last letter of the key. Then you also know a number of key lengths to try as a factor of the length of the message.
    Not quite enough to crack easily since it's just a guess but helps alot.
    Last edited by jseah; 2010-07-20 at 11:50 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •