Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #43622

Re: Reverse Iteration Fractal Encryption...

From "Chris M. Thomasson" <invalid@invalid.invalid>
Newsgroups comp.lang.c++, sci.crypt
Subject Re: Reverse Iteration Fractal Encryption...
Date 2016-07-02 14:18 -0700
Organization n/a
Message-ID <nl9b42$tbs$1@dont-email.me> (permalink)
References (1 earlier) <nl6n0v$qcn$1@dont-email.me> <nl7maa$j17$1@dont-email.me> <nl94eq$64e$1@dont-email.me> <nl94kn$64e$2@dont-email.me> <nl98u5$ls2$1@dont-email.me>

Cross-posted to 2 groups.

Show all headers | View raw


On 7/2/2016 1:41 PM, Christian Gollwitzer wrote:
> Am 02.07.16 um 21:28 schrieb Chris M. Thomasson:
>> On 7/2/2016 12:25 PM, Chris M. Thomasson wrote:
>>> On 7/1/2016 11:17 PM, Christian Gollwitzer wrote:
>>>>
>>>> If I change only a single byte and decrypt
>>>>
>>>> 6D 32 B0 90 0F 50 4F E3 DF -> Plaintexu
>>>>
>>>> First I thought it is a flaw,
>>>
>>> This is normal. You changed a single byte in the ciphertext. It will
>>> change a single byte in the plaintext.
>>
>> When you have the secret key, or private key in the webpage, a single
>> change to a byte in the ciphertext creates a single change in the
>> resulting plaintext. This is normal.
>
> If it's not a bug, then I think it is a flaw. I didn't bother to read
> through your algorithm description, and my knowledge of encryption is
> shallow - but I know that in modern algorithms, each bit of the output
> is dependent on each bit of the input and the key. I think otherwise it
> makes it vulnerable to known plaintext attacks. Or is each byte a block
> in your block cipher (for demonstration purposes?)

Each byte is a block. It transforms each byte in the plaintext to a 
point in the complex plane.


>
> However I do not understand how the website works. If I hit encrypt
> multiple times, I get different answers with different public keys, yet
> the same private key. Is this intended?

Yes! Also, my terminology wrt private/public key is flawed. The private 
key should be secret key, and public key should be the random IV sent 
along with the ciphertext. I used the word pubic because it gets sent 
out for an attacker to see.


> I would have expected that there
> is a "Generate key" button, and a button "encrypt" and another one
> "decrypt" so that I can encrypt different texts with the same key over
> and over again.

You can generate different ciphertexts with the same key. Just keep 
hitting the encrypt button, and see how the ciphertext changes. If you 
change a single byte in the plaintext, all of the ciphertext bytes 
change. This is a fairly decent avalanche effect. However, if you change 
a single byte in the ciphertext, a single change will occur in the 
decrypted plaintext. This is normal.

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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