Code

The place to hang out and talk about totally anything general.
User avatar
Feud
level5
level5
Posts: 5149
Joined: Sun Oct 08, 2006 8:40 pm
Location: Blackacre, VA

Code

Postby Feud » Sun Oct 19, 2008 2:42 am

So someone on another board posted the following number sequence, claiming that , if cracked, decodes into english words (but no punctuation). The code is as follows:

49259715323327471111120323471715471744831117246285831832377151184924717638366323

Any ideas on what this might be?
User avatar
tllotpfkamvpe
level5
level5
Posts: 1768
Joined: Fri Aug 31, 2007 12:04 am
Contact:

Postby tllotpfkamvpe » Sun Oct 19, 2008 9:05 am

I can see a pattern of 471, 323, 715 maybe 831. :?
Last edited by tllotpfkamvpe on Sun Oct 19, 2008 10:13 am, edited 1 time in total.
User avatar
Trust
level3
level3
Posts: 300
Joined: Mon Feb 24, 2003 12:53 am
Location: UK! Yay!
Contact:

Postby Trust » Sun Oct 19, 2008 9:33 am

Blargh, not at my own PC - I'll give this a try later...
RabidZombie
level5
level5
Posts: 2414
Joined: Fri Nov 18, 2005 10:09 pm

Postby RabidZombie » Sun Oct 19, 2008 9:43 am

I'll have a go at cracking it.

The biggest problem I see is that each letter can be represented by either 1 or 2 digits.

4-7-1 could be a three letter word, but it might not. It might be ?-4-7-17-? (3 times?) and ?-4-7-11-?

I think 4 is t and 7 is h though. Seems most logical. This, unfortunately, doesn't produce a
Ceaser Shift or the one where you reverse it. :(
User avatar
vanarbulax
level4
level4
Posts: 653
Joined: Mon Oct 01, 2007 8:51 am
Location: Sydney, Australia

Postby vanarbulax » Sun Oct 19, 2008 11:40 am

If it was a direct letter to number relationship then it has to be a least 2 digits since there is a sequence of five 1s in there.
User avatar
Montyphy
level5
level5
Posts: 6745
Joined: Tue Apr 19, 2005 2:28 pm
Location: London, England

Postby Montyphy » Sun Oct 19, 2008 11:43 am

vanarbulax wrote:If it was a direct letter to number relationship then it has to be a least 2 digits since there is a sequence of five 1s in there.


That and you'd only be able to represent 10 different letters with a single digit
Uplink help: Check out the Guide or FAQ.
Latest Uplink patch is v1.55.
Pinky
level2
level2
Posts: 211
Joined: Wed May 21, 2008 10:23 am
Location: Darwinia
Contact:

Postby Pinky » Sun Oct 19, 2008 11:45 am

If we break it up so that every two numbers is a letter...

49 25 97 15 32 33 27 47 11 11 12 03 23 47 17 15 47 17 44 83 11 17 24 62 85 83 18 32 37 71 51 18 49 24 71 76 38 36 63 23

I'll look into this more a bit later.
User avatar
vanarbulax
level4
level4
Posts: 653
Joined: Mon Oct 01, 2007 8:51 am
Location: Sydney, Australia

Postby vanarbulax » Sun Oct 19, 2008 11:48 am

Well anyway assuming it is just 2 digits to a letter 11 is a letter which can be double letter so O,E,T,S,P and so on.

EDIT: Quick frequency analysis, just jotted these down now, probably not quite accurate

17:3
47:3
49:2
15:2
32:2
23:2
83:2
24:2
18:2
49:2
25:1
97:1
33:1
27:1
12:1
03:1
44:1
62:1
85:1
37:1
51:1
76:1
38:1
36:1
63:1

If it is letter to 2 digits then there's 25 different letters in there, I'm 3 off in my counting, obviously I'm too tired to being doing this stuff. There's no big difference between frequency of numbers so that's not really useful, 11 seems to be the only double letter and I haven't tried looking for repeated words. I'm not sure what the chances are of getting 25 different letters in a 40 letter message are but if this is just numbers to letters it's set up in such a way that it's hard to analyise. The sequence doesn't break up into threes evenly and if it was fours it would only be ten letters. So either it's a very hard 2 digit per word cipher or it's some other form of encryption. It could possibly be a sequence of random numbers designed to infuriate those trying to crack it, or I could be just too tired to think straight.
User avatar
jelco
level5
level5
Posts: 6018
Joined: Sat Feb 18, 2006 7:45 am
Location: Cygnus X-1
Contact:

Postby jelco » Sun Oct 19, 2008 2:17 pm

I once had to analyse how the hell PDU encoding works (the way text messsages are stored in most phones) and I think it can be useful here. What basically happens is that you have hexadecimal data which you have to convert to 8-bit binary. Through some shifting of zeroes and ones you have to convert that to 7-bit binary, which - when converted back to characters with the correct alphabet - translates into messages. This octet-to-septet conversion is explained here, albeit the other way around. (Some more info.)

Since there are so many sequences which only appear once I think an encoding like this might be very appropriate.

Jelco
"The ships hung in the sky much the same way that bricks don't."
- Douglas Adams
User avatar
elexis
level5
level5
Posts: 1466
Joined: Fri Aug 24, 2007 6:11 am
Location: Australia
Contact:

Postby elexis » Mon Oct 20, 2008 11:37 pm

I spent a bit of time staring at the numbers and i didn't come up with much:

the pattern 47, 17 appears twice

the dirst five digits can make 3 or four square numbers.

What type of board did you get this from?
User avatar
Montyphy
level5
level5
Posts: 6745
Joined: Tue Apr 19, 2005 2:28 pm
Location: London, England

Postby Montyphy » Mon Oct 20, 2008 11:53 pm

Perhaps another interesting thing to note is the range of the numbers. The largest being 97 and smallest 03.
Uplink help: Check out the Guide or FAQ.

Latest Uplink patch is v1.55.
Stewsburntmonkey
level5
level5
Posts: 11553
Joined: Wed Jul 10, 2002 7:44 pm
Location: Nashville, TN
Contact:

Postby Stewsburntmonkey » Tue Oct 21, 2008 12:57 am

By my count there are 26 distinct couplets, so it could be a pangram. I can't be arsed to do anything beyond that.
User avatar
Feud
level5
level5
Posts: 5149
Joined: Sun Oct 08, 2006 8:40 pm
Location: Blackacre, VA

Postby Feud » Tue Oct 21, 2008 1:03 am

elexis wrote:
What type of board did you get this from?


Not sure exactly, they are going by the name IAE and are based out of eastern Idaho, beyond that I know nothing about them since a friend referred me to it.
User avatar
Montyphy
level5
level5
Posts: 6745
Joined: Tue Apr 19, 2005 2:28 pm
Location: London, England

Postby Montyphy » Wed Oct 22, 2008 3:51 pm

Original

Code: Select all

49259715323327471111120323471715471744831117246285831832377151184924717638366323


Spaced 2 digits, sort and assign letter

Code: Select all

49 25 97 15 32 33 27 47 11 11 12 03 23 47 17 15 47 17 44 83 11 17 24 62 85 83 18 32 37 71 51 18 49 24 71 76 38 36 63 23

03 11 12 15 17 18 23 24 25 27 32 33 36 37 38 44 47 49 51 62 63 71 76 83 85 97
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z

RIZDKLJQBBCAGQEDQEXBEHTYXFKNVSFRHVWOMUG


Each digit in 4bit binary (BCD)

Code: Select all

01001001001001011001011100010101001100100011001100100111010001110001000100010001000100100000001100100011010001110001011100010101010001110001011101000100100000110001000100010111001001000110001010000101100000110001100000110010001101110111000101010001000110000100100100100100011100010111011000111000001101100110001100100011







Python script to convert string of decimal numbers to binary coded decimal (BCD)

Code: Select all

def bcd(n):
    bcdNum = ''
    if n == 0:
        return '0000'
    while n > 0:
        bcdNum = str(n % 2) + bcdNum
        n = n >> 1
    while len(b)<4:
        bcdNum = "0" + bcdNum
    return bcdNum


if __name__ == '__main__':
   
    num = '49259715323327471111120323471715471744831117246285831832377151184924717638366323'
    val = ''
    for i in num:
        val = val + bcd(i)
    print val
Last edited by Montyphy on Wed Oct 22, 2008 7:10 pm, edited 5 times in total.
Uplink help: Check out the Guide or FAQ.

Latest Uplink patch is v1.55.
User avatar
jelco
level5
level5
Posts: 6018
Joined: Sat Feb 18, 2006 7:45 am
Location: Cygnus X-1
Contact:

Postby jelco » Wed Oct 22, 2008 4:52 pm

I experimented a bit with my PDU idea, and this is one of the results:

lhu phluiouwphltfleuit xfwftpthffhmul whtoofhoAtmhohulftp Cfo f

If you want to experiment with this gibberish generator script of mine yourself, go here. ;)

Jelco
"The ships hung in the sky much the same way that bricks don't."

- Douglas Adams

Return to “Introversion Lounge”

Who is online

Users browsing this forum: No registered users and 24 guests