## simple code

my friend put up a code on his away message and it was easy to figure out just guessing what it would be. then i put one up and i gave every letter in the alphabet a number... a=1, b=2, etc and then used 4x^2 + 2x + 7 to make them into different larger numbers. one of my smarter friends figured it out. i know all you people are a lot smarter than i am so i was wondering if you'd give me some suggestions on making one up that they wouldn't figure out. thanks for any suggestions
 PhysOrg.com science news on PhysOrg.com >> Ants and carnivorous plants conspire for mutualistic feeding>> Forecast for Titan: Wild weather could be ahead>> Researchers stitch defects into the world's thinnest semiconductor
 Pieroot(i^cx) where pie is that weird irrational number which goes something liek 3.14... and so on i is the square root of -1 c is the speed of light and x is the number you assigned the letter. that should keep him up for days
 not really, its simple as replacing letters with numbers, they will just look for the most common letter ( like E) then the second most common, if u wanna good code goto www.pgpi.com its a Enciption thingy that the us government can't break

## simple code

 Quote by Gelsamel Epsilon not really, its simple as replacing letters with numbers, they will just look for the most common letter ( like E) then the second most common, if u wanna good code goto www.pgpi.com its a Enciption thingy that the us government can't break
I wouldn't say that, that kind of analysis is only worthwhile when you have enough data to work with. You can't use that method to break the code when all you have is "Hi guys, I'll be back in a couple of days". The most common letters there are L, A and I.
 Why not just use RSA but with a relatively small composite number? One that would not take 1,700 computers and 8 months to crack...
 Recognitions: Gold Member Science Advisor I really don't know a great deal about codes but you could try using to variable rather than one, for example the postion of the letter in the code.

 Quote by dusty8683 I was wondering if you'd give me some suggestions on making one up that they wouldn't figure out.
Translate it to Chinese and assign each Chinese character to a LISP function. Compile and run the program and encode the output by using it as a seed to a random number generator. Then subtract one.
 the US government will take over 52 million years to crack Pgp's code fopr 1 person!!
 The US government has a quantum computer that is capable of breaking any PGP code in a matter of minutes. Oops, did I say that out loud?

 Quote by Riko Pieroot(i^cx) where pie is that weird irrational number which goes something liek 3.14... and so on i is the square root of -1 c is the speed of light and x is the number you assigned the letter. that should keep him up for days

uuh
Sqrt of -1 = ERROR
and its Pi, not Pie, and if u put i = sqrt of 1, the answer is 1 and therfore

(22/7)x root of 1^((3 x 10^8)x the number)

1 to the power of anything is 1 and the sqrt of 1 is 1 so 22/7 x 1 = 22/7

so every letter will come up as 22/7 so that doesn't work

 Quote by Gelsamel Epsilon uuh Sqrt of -1 = ERROR and its Pi, not Pie, and if u put i = sqrt of 1, the answer is 1 and therfore (22/7)x root of 1^((3 x 10^8)x the number) 1 to the power of anything is 1 and the sqrt of 1 is 1 so 22/7 x 1 = 22/7 so every letter will come up as 22/7 so that doesn't work
I do suggest you understand what you're talking about before talking about it.
 So whats the Sqrt of -1 chen?
 It is i. Do you not believe this just because your calculator says it's an error to the take the square root of -1?
 If you are still interested in cryptography, there are a number of books on the subject. For starters, try Cryptanalysis by Helen Fouché Gaines, 1939, which describes some of the basics of this field. Next, try Cryptanalysis for Microcomputers by Caxton C. Foster, 1982. I think computers are here to stay, so you may as well read up on the subject. And then may I suggest 'Mathematical Cryptology for Computer Scientists and Mathematicians' by Wayne Patterson printed in 1987. More items for you would be cryptographers: Desirable characteristics of an encryption system: The system must not increase the length of the message. If each character is converted to a ten digit number, pretty soon you will run out system capacity. The system must not be vulnerable to the loss or modification of one or more of the characters. If you have noise hits on the line, you may tolerate the loss of one or two characters, but it should not cause the entire message to be lost. Modern encryption systems must be capable of handling massive amounts of data, so an attractive approach would modify each character by adding a digit from some infinite sequence such as pi or the national debt. More bibliography: Infinite Sequences and Series, Konrad Knopp The Beale Papers, Library of Congress, 1885 Handbook of the Beale Ciphers, Per A. Holst Fibonacci Numbers, N. N. Vorob'ev The Decipherment of Linear B, John Chadwick Cryptography, the science of secret writing, Laurence Dwight Smith and of course, The Code Book, Simon Singh
 Recognitions: Gold Member Science Advisor Staff Emeritus Also the "Code Book" by Simon Singh...a very easy read, being fun and instructive at the same time.
 Recognitions: Gold Member Science Advisor Staff Emeritus Here's a simple trick that makes it harder to crack your code, especially for messages that are not huge : assign different numbers to each letter but assign more than one number as possible replacements for some of the less used letters. Example : a= 7 b=3,9 c =13, 5 d=11,8,2 e=15 f=1,10 ..... ..... q=4,6,12,17,19,33,27 and so on This way, it's much harder to use "frequency analysis" to crack to code. Also, the act of thinking up some polynomial function to make the numbers large does nothing to increase the difficulty of cracking the code. This is a wasted step.

 Quote by Chen It is i. Do you not believe this just because your calculator says it's an error to the take the square root of -1?
So, go and make a message using that code, it wont work because u will have it like this

(22/7) x sqrt of ( i ^ (3 x 10^8) x) will = for any number of the letter the code will end up as if a = 26

(22/7) x sqrt of ( i ^ (3 x 10^8 )26)

that will be what will come up for A!!, so why dont you go and write a message using that formula :-/