Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #41092
| From | "Chris M. Thomasson" <nospam@nospam.nospam> |
|---|---|
| Newsgroups | comp.lang.c++, sci.crypt |
| Subject | Reverse Iteration Fractal Encryption... |
| Date | 2016-02-21 13:38 -0800 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <nadaph$pnu$1@gioia.aioe.org> (permalink) |
Cross-posted to 2 groups.
Original idea by Juaquin Anderson in the comments of the following thread: https://plus.google.com/+JuaquinAnderson/posts/L9A3Da8ju3B FWIW, here is the content of the comment: _________________________________________________ “This has me thinking.. All the structure, in the reverse iteration, and the sequence of roots, as well as the structure of the level sets with the escape time algorithim. Someone suggested using fractals for encryption.. A method that would actually work would be to choose an interesting value of c, like this one, as the key. 1) If the message has length n bits, choose a point in the n'th level set. The point can be chosen by taking a starting point just outside the circle delimiting the target set, and applying inverse iteration, choosing roots by sign according to the bits in the sequence to be encoded. 2) the result would be a point (x+yi) that is inside the nth level set close to the Julia set. 3) encode that point accurately enough to not confuse with points of a level deeper or further out, and transmit that point. 4) receive that point. 5) decode the point by applying forwards iteration with the key value c, until the point lands in the target set. Tge decoded message would have n bits determined by writing down the sign of the imaginary component of the escape orbit for each iteration. Sounds easy right? :-) The efficiency of the encrypted coding scheme has to do with the fractal dimension of the Julia set, and the degree of imbalance of the contractivity in the tree traversal of the Julia set." _________________________________________________ Juaquin Anderson has taken fractal encryption to another level beyond the stuff I have been experiment with. He is basically encoding a sequence of bytes inside a single complex number. The reverse iteration method for a Julia set is being used to store information. Lets say a byte. Well, a byte is made up of a number of bits, on or off. These bits are used to decide which root to choose for the square root of z during reverse iteration of (z = z^2 + c). After this reverse iteration, one ends up with an interesting point p. This point p can actually recreate the bits of the byte when exposed to forward iteration. The number of iterations for both forward and reverse iteration directly corresponds to how many bits it stores. I can only do around 40 bits, but the little program I wrote just does 8 for clarity. So, for encryption c is the secret key and the cipher text is a list of complex numbers, or a single complex number if one uses an arbitrary precision library to calculate both the reverse and forward iterations. Here is a simple proof of concept program in C++11 that encodes a single byte: http://pastebin.com/4Yu8uSKH If one can encode a single byte, then one can encode multiple bytes, and arbitrary binary files. I know that this is going to work like a charm. I am working on another proof of concept program that shows how to encode multiple bytes in a single complex number, instead of the single byte example shown here... Any thoughts? What do you think about the code? Is it crap? ;^) Thank you all.
Back to comp.lang.c++ | Previous | Next — Next in thread | Find similar | Unroll thread
Reverse Iteration Fractal Encryption... "Chris M. Thomasson" <nospam@nospam.nospam> - 2016-02-21 13:38 -0800
Re: Reverse Iteration Fractal Encryption... "Chris M. Thomasson" <nospam@nospam.nospam> - 2016-02-21 14:30 -0800
Re: Reverse Iteration Fractal Encryption... Öö Tiib <ootiib@hot.ee> - 2016-02-21 17:09 -0800
Re: Reverse Iteration Fractal Encryption... "Chris M. Thomasson" <nospam@nospam.nospam> - 2016-02-23 12:09 -0800
Re: Reverse Iteration Fractal Encryption... "Chris M. Thomasson" <nospam@nospam.nospam> - 2016-02-23 11:32 -0800
Re: Reverse Iteration Fractal Encryption... "Chris M. Thomasson" <nospam@nospam.nospam> - 2016-02-23 12:42 -0800
Re: Reverse Iteration Fractal Encryption... Peter Fairbrother <peter@tsto.co.uk> - 2016-06-26 16:52 +0100
Re: Reverse Iteration Fractal Encryption... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-06-27 13:16 -0700
Re: Reverse Iteration Fractal Encryption... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-06-27 13:21 -0700
Re: Reverse Iteration Fractal Encryption... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-06-29 19:49 -0700
Re: Reverse Iteration Fractal Encryption... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-06-30 11:15 -0700
Re: Reverse Iteration Fractal Encryption... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-06-30 21:26 -0700
Re: Reverse Iteration Fractal Encryption... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-06-30 23:03 -0700
Re: Reverse Iteration Fractal Encryption... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-06-30 13:23 -0700
Re: Reverse Iteration Fractal Encryption... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-07-01 14:23 -0700
Re: Reverse Iteration Fractal Encryption... Christian Gollwitzer <auriocus@gmx.de> - 2016-07-02 08:17 +0200
Re: Reverse Iteration Fractal Encryption... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-07-02 12:25 -0700
Re: Reverse Iteration Fractal Encryption... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-07-02 12:28 -0700
Re: Reverse Iteration Fractal Encryption... Christian Gollwitzer <auriocus@gmx.de> - 2016-07-02 22:41 +0200
Re: Reverse Iteration Fractal Encryption... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-07-02 14:18 -0700
Re: Reverse Iteration Fractal Encryption... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-07-02 15:36 -0700
Re: Reverse Iteration Fractal Encryption... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-07-02 12:47 -0700
Re: Reverse Iteration Fractal Encryption... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-07-02 14:37 -0700
Re: Reverse Iteration Fractal Encryption... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-07-02 15:00 -0700
Re: Reverse Iteration Fractal Encryption... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-07-03 00:36 -0700
Re: Reverse Iteration Fractal Encryption... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-07-03 01:09 -0700
csiph-web