Re: Got Plaintext and Ciphertext ... Want Algorithm



Steve wrote:
Hey,

If I have a list of plaintext and its associated ciphertext, what is the
best way to go about discovering the algorithm that is used to convert
from one to the other?

This is sci.crypt, not rec.puzzles. It could be
reduce(key1+sha1(input||key2))) for some key1 and key2 that are
infeasable to find. It could be some other complicated thing. It could
be a very weak reduced RC2, but from such few input we couldn't tell.

Also, I'm not quite up to this stage yet, but if I have a tcp stream
segment, and I know for a fact much of its content, whats the best
method to decrypt it?

None. The best what you can do is to tell what encryption was used by
decoding the packet, reading the relevant header values and maybe
reassembling the entire stream, putting it into a context.
.



Relevant Pages

  • Re: How good an encryption algorithm is this?
    ... >> know both a plaintext and a ciphertext for some message ... This is pretty much what happens with any encryption algorithm that uses ... XOR alone. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How good an encryption algorithm is this?
    ... >> know both a plaintext and a ciphertext for some message ... This is pretty much what happens with any encryption algorithm that uses ... XOR alone. ...
    (microsoft.public.vc.language)
  • Got Plaintext and Ciphertext ... Want Algorithm
    ... If I have a list of plaintext and its associated ciphertext, what is the best way to go about discovering the algorithm that is used to convert from one to the other? ...
    (sci.crypt)
  • Re: Please test this encryption
    ... if your plaintext is random gibberish. ... If you can crack the following ciphertext, all by yourself, without any ... The algorithm, and a complete reference implementation in C, can be found at ...
    (sci.crypt)
  • Re: OK What do you need? was:Re: Please test this encryption
    ... > strong encryption can be broken with brute force methods. ... than key material and some idea of what the plaintext will look like) can be ... a short/single sample is sufficient to figure out an algorithm. ... show logically that a single ciphertext string is insufficient to determine ...
    (sci.crypt)