Re: Is there any way...



On Feb 27, 8:46 pm, Hilltop...@xxxxxxxxxxxxx wrote:
On Feb 27, 6:29 pm, "Studio Janck" <StudioJa...@xxxxxxxxx> wrote:

To get an encryption key from an encrypted file or string IF you have
the exact original? Is there a program that can "compare" them and
find out what the encryption key was?

Depends on the algorithm used. A simple stream cipher using a 32-bit
Linear Congruential Generator can be cracked with as little as 4 bytes
of known plaintext (if the LCG parameters are known). Simple
substitution ciphers can be cracked with enough plaintext using
frequency counts of characters. The German Enigma machine was cracked
using known plaintext during World War II.

Richard Mueller

I'm talking about DES encryption, sorry I didn't mention that earlier.

.



Relevant Pages

  • Re: Is there any way...
    ... find out what the encryption key was? ... Depends on the algorithm used. ... A simple stream cipher using a 32-bit ... of known plaintext. ...
    (sci.crypt)
  • Re: Advantages of stream ciphers over block ciphers in CTR mode?
    ... just about whenever you use a stream cipher, you need a MAC too. ... Since a true stream cipher isn't affected by the plaintext it ... you have to inject the plaintext into the stream cipher. ...
    (sci.crypt)
  • Re: one time pad without xor
    ... >combine the key and plaintext in a stream cipher would be of any ... used with a one time pad. ... the significance is the graphic otp allows recovering ...
    (sci.crypt)
  • Re: Advantages of stream ciphers over block ciphers in CTR mode?
    ... >> There is no evidence at all that this is better. ... >just about whenever you use a stream cipher, you need a MAC too. ... you have to inject the plaintext into the stream cipher. ...
    (sci.crypt)
  • Re: Advantages of stream ciphers over block ciphers in CTR mode?
    ... > wouldn't design a stream cipher that requires single-use keys. ... > inputs, a key and a nonce, where the user must ensure that the nonce ... > reusing a nonce will allow recovery of the key (as opposed to simply ... the plaintext, ...
    (sci.crypt)