Bitcoin Forum
December 14, 2017, 12:43:18 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Text based Encryption (e.g. Bible Encryption)  (Read 452 times)
P4trick
Newbie
*
Offline Offline

Activity: 10


View Profile
March 22, 2017, 03:48:37 PM
 #1

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


1513212198
Hero Member
*
Offline Offline

Posts: 1513212198

View Profile Personal Message (Offline)

Ignore
1513212198
Reply with quote  #2

1513212198
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513212198
Hero Member
*
Offline Offline

Posts: 1513212198

View Profile Personal Message (Offline)

Ignore
1513212198
Reply with quote  #2

1513212198
Report to moderator
1513212198
Hero Member
*
Offline Offline

Posts: 1513212198

View Profile Personal Message (Offline)

Ignore
1513212198
Reply with quote  #2

1513212198
Report to moderator
1513212198
Hero Member
*
Offline Offline

Posts: 1513212198

View Profile Personal Message (Offline)

Ignore
1513212198
Reply with quote  #2

1513212198
Report to moderator
JGoRed
Full Member
***
Offline Offline

Activity: 196



View Profile
March 23, 2017, 02:41:27 AM
 #2

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.
shorena
Legendary
*
Offline Offline

Activity: 1400


ALL escrow is signed! https://keybase.io/verify


View Profile WWW
March 23, 2017, 06:39:57 AM
 #3

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.

P4trick
Newbie
*
Offline Offline

Activity: 10


View Profile
March 23, 2017, 12:52:33 PM
 #4

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
Spoetnik
Legendary
*
Offline Offline

Activity: 1470


FUD Philanthropist™


View Profile
March 23, 2017, 10:19:21 PM
 #5

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..

FUD first & ask questions later™
shorena
Legendary
*
Offline Offline

Activity: 1400


ALL escrow is signed! https://keybase.io/verify


View Profile WWW
June 20, 2017, 06:18:01 PM
 #6

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 <random stuff>

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!