Author

Topic: Text based Encryption (e.g. Bible Encryption) (Read 503 times)

copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
Google caesar cipher.
I have posted code here before for a key system to protect an app etc.
I had to choose the static letters though.
What is true randomness and how would you reverse the process to un-encrypt stuff if it was random ?
I might be missing something but if you chose a random chunk of letters for a caeser cipher then i don't know how you'd unencrypt it again.

Google search Hitler Enigma machine too that is another example..

Like you do with one time pad. XOR the random data with the plaintext to encrypt XOR again to decrypt.[1] Since the key is (truely) random, the encrypted data is indistinguishable from randomness. IIRC its the only method that is provably uncrackable. It comes with a lot of downsides though, since you need to securly store a key the same length as the data.

[1] or using ceasar: shift by mod 13
legendary
Activity: 1540
Merit: 1011
FUD Philanthropist™
Google caesar cipher.
I have posted code here before for a key system to protect an app etc.
I had to choose the static letters though.
What is true randomness and how would you reverse the process to un-encrypt stuff if it was random ?
I might be missing something but if you chose a random chunk of letters for a caeser cipher then i don't know how you'd unencrypt it again.

Google search Hitler Enigma machine too that is another example..
newbie
Activity: 10
Merit: 0
Hello guys,

I just tought about a kind of text based encryption.
There is already a so called Bible Encryption that can encrypt full words.

http://www.wikihow.com/Encode-and-Decode-Using-a-Bible-Cipher

This is not so hard to do and it's even possible to realize it with a program.

But what if I want to encrypt single letters instead of words?
I could do it the same way and simply add the place of the letter in a word.
So we can also encrypt an alphnumeric string to some number and all of this togehter to a hexadecimal number, can't we? Smiley

Sure.

With this strategy it would be simply possible to write a program to generate a "random" text which could be used for encrypting any alphanumerical string.

Sounds like one time pad, assuming you mean actual random data and not a text. Using a text would make this just another substitution cipher.

Concerning the bible there is maybe a problem with alphanumerical number so you would have to use outwritten numbers as normal numbers...

Is that at all a good idea... such a text based encryption, what do you think? Smiley

No, its vulnerable to probability analysis. Might be enough for some games though.

Can you explain more precise how it's vulnerable to probabilty analysis? Smiley

-> Maybe this problem could be solved by using a total random bunch of alphanumerical letters...

I know it's theoretically impossible to generate true "random" numbers or letters but  I guess it's possible to generate some "random" number or sth. like this and convert it into alphanumerical strings. Smiley
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
Hello guys,

I just tought about a kind of text based encryption.
There is already a so called Bible Encryption that can encrypt full words.

http://www.wikihow.com/Encode-and-Decode-Using-a-Bible-Cipher

This is not so hard to do and it's even possible to realize it with a program.

But what if I want to encrypt single letters instead of words?
I could do it the same way and simply add the place of the letter in a word.
So we can also encrypt an alphnumeric string to some number and all of this togehter to a hexadecimal number, can't we? Smiley

Sure.

With this strategy it would be simply possible to write a program to generate a "random" text which could be used for encrypting any alphanumerical string.

Sounds like one time pad, assuming you mean actual random data and not a text. Using a text would make this just another substitution cipher.

Concerning the bible there is maybe a problem with alphanumerical number so you would have to use outwritten numbers as normal numbers...

Is that at all a good idea... such a text based encryption, what do you think? Smiley

No, its vulnerable to probability analysis. Might be enough for some games though.
full member
Activity: 210
Merit: 100
I do like using cipher instead of encryption whenever I'm trying to encode data that I'm writing or printing (imagine trying to write down and then type up PGP). I usually use Playfair Cypher instead, although it really isn't to different.
newbie
Activity: 10
Merit: 0
Hello guys,

I just tought about a kind of text based encryption.
There is already a so called Bible Encryption that can encrypt full words.

http://www.wikihow.com/Encode-and-Decode-Using-a-Bible-Cipher

This is not so hard to do and it's even possible to realize it with a program.

But what if I want to encrypt single letters instead of words?
I could do it the same way and simply add the place of the letter in a word.
So we can also encrypt an alphnumeric string to some number and all of this togehter to a hexadecimal number, can't we? Smiley

With this strategy it would be simply possible to write a program to generate a "random" text which could be used for encrypting any alphanumerical string. Concerning the bible there is maybe a problem with alphanumerical number so you would have to use outwritten numbers as normal numbers...

Is that at all a good idea... such a text based encryption, what do you think? Smiley


Jump to: