Re: Encryption key longer than text to encrypt
- From: rossum <rossum48@xxxxxxxxxxxx>
- Date: Wed, 03 Jan 2007 16:44:30 +0000
On 3 Jan 2007 06:41:46 -0800, "Jean-François Michaud"
<cometaj@xxxxxxxxxxx> wrote:
Since it is easier in practice to use pseudo random data than toNo. The reason that an OTP is provably secure is that the keystream
generate random data which is then distributed as appropriate if we
have OTP in mind, would
encrypting messages à la OTP with 'pseudo random data' using a key
greater than the message make any sense to increase security,
is truly random. As soon as you substitute a pseudo-random keystream
the security proof fails. You no longer have an OTP, you have a
stream cypher instead.
We're basically talking about a synchronous stream cipher algorithm inPrecisely. If you have a strong PRNG then you have a strong stream
which the keystreams used is larger than the text to encrypt when
plaintext is scrambled across the width of the key and is padded with
bogus data (another keystream of identical length).
I'm thinking pseudo generated key and bogus data:
------------- Keystreams:
Key: BIOLA03IIN56DSH8VC15
Bogus Data: POQ9YDK3REEVJHHHZ8LE
------------- Plaintext:
Text: HELLO
------------- Scramble:
H position 1 in bogus data
E position 15 in bogus data
L position 14 in bogus data
L position 9 in bogus data
O position 4 in bogus data
_________________________________________
Bogus Data + Text: HOQOYDK3LEEVJLEHZ8LE
Key: BIOLA03IIN56DSH8VC15
_________________________________________
Encryption by XORing Key to Bogus Data + Text
How cryptographically strong is such a scheme (it would of course
depend on the pseudo random data generation)?
cypher. If you have a weak PRNG then you have a weak stream cypher.
Using Enigma as a PRNG is an interesting idea. I am not so sure about
scrambling the plaintext or about padding with bogus data.
1 Using Bogus Data will increase message sizes. There are situations
where increased message sizes are to be avoided. I suggest that you
allow users to agree not to use Bogus Data if they do not want
increased message sizes.
2 Scrambling the Message requires that the whole plaintext message be
recieved before the first character of the cyphertext can be
transmitted. This requires much more storage than a conventional
stream cypher, which only needs to store one byte of the plaintext at
a time. This will make it more difficult to put your cypher onto the
more memory restricted processors such as smart cards.
3 Since the cypher needs to be able to resist a chosen plaintext
attack, I do not see what you gain from scrambling the plaintext.
*****We're assuming a complex rotor machine, as complex as we want,Too complex a program will not fit into the memory available on a
similar to enigma is used to yield the keystreams*****
smartcard or similar device.
I think not. Alice can use the keystream to recover Bogus Data +
BOB has a virtual machine with a certain rotor settings and generates a
pseudo random streamkey and pseudo random bogus data. Encrypts plain
text as proposed above and send it to ALICE.
ALICE also has a virtual machine with the same rotor settings which
means she can generate the same two pseudo random streamkey and bogus
data.
So she has all the information she needs to decrypt the message and
unscramble it.
Text. She can use the Bogus Data to recover *differences* between the
Bogus Data and Bogus Data + Text. This does not give her the text:
1) The text does not appear in order, it is scrambled. In your
example, Alice does not recover "HELLO", she recovers "HOLLE" which is
the order in which the message characters appear. How does Alice know
what the scrambling order is? There is nothing in your description
about transmitting the scrambling order to Alice.
2) By chance, Alice will fail to recover 1 in 256 characters when the
character in the Message matches the corresponding character in the
Bogus Data: if the Bogus Data was "LLLLLLLLLLL..." she would recover
"HOE". How will Alice know when a character is actually a Message
character rather than a Bogus Data character?
rossum
.
- Follow-Ups:
- Re: Encryption key longer than text to encrypt
- From: laura fairhead
- Re: Encryption key longer than text to encrypt
- From: Jean-François Michaud
- Re: Encryption key longer than text to encrypt
- References:
- Encryption key longer than text to encrypt
- From: Jean-François Michaud
- Encryption key longer than text to encrypt
- Prev by Date: Re: Encryption key longer than text to encrypt
- Next by Date: Re: Encryption key longer than text to encrypt
- Previous by thread: Re: Encryption key longer than text to encrypt
- Next by thread: Re: Encryption key longer than text to encrypt
- Index(es):
Relevant Pages
|