Re: Cracking decrypted file when knowing partial contents
From: Bill Unruh (unruh_at_string.physics.ubc.ca)
Date: 04/20/04
- Next message: Ford Prefect: "Re: Cracking decrypted file when knowing partial contents"
- Previous message: MikeyD: "Re: Cracking decrypted file when knowing partial contents"
- In reply to: Adfa: "Cracking decrypted file when knowing partial contents"
- Next in thread: Douglas A. Gwyn: "Re: Cracking decrypted file when knowing partial contents"
- Reply: Douglas A. Gwyn: "Re: Cracking decrypted file when knowing partial contents"
- Reply: Adfa: "Re: Cracking decrypted file when knowing partial contents"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 20 Apr 2004 17:48:02 +0000 (UTC)
"Adfa" <adfa@noname.com> writes:
]Would it be easier to crack an encrypted file if the cracker knew some of
]the contents of the file?
]For example, an encrypted MS Word file where the cracker knew word-for-word
]a few paragraphs of the document, but not necessarily the exact byte
]postions of those paragraphs in the file.
It depends on the encryption used. Most modern good encryption is
designed to resist known plaintext attacks-- ie even if you know the
plaintext and how it encrypts, you still cannot determine the key except
by exhaustive search of the key space.
Known plaintext attacks are so well known (That was how individual
enigma messages were cracked) that any competent cryptographer spends
most of his time designing the encryption scheme to be resistant,
although even compentent ones can screw up.
Of course even if designed to resist known plaintext attacks, the key
space may be so small that exhaustive search has a chance of
succeeding.
HOwever it is easy to design encryption schemes which do not satisfy the
above criterion of a good encryption scheme. Most home grown schemes -- whether
by some backwoodman encrypting his diary, or Microsoft or some other
software company including "encryption" with their products--
are bad. Only use well known schemes which have had lots of scrutiny by
the community. Designing your own, either because you don't trust the
public schemes, or because you are a genius, is like trusting yourself
to fly in a plane designed by amatuers, and piloted by an untrained
pilot.
- Next message: Ford Prefect: "Re: Cracking decrypted file when knowing partial contents"
- Previous message: MikeyD: "Re: Cracking decrypted file when knowing partial contents"
- In reply to: Adfa: "Cracking decrypted file when knowing partial contents"
- Next in thread: Douglas A. Gwyn: "Re: Cracking decrypted file when knowing partial contents"
- Reply: Douglas A. Gwyn: "Re: Cracking decrypted file when knowing partial contents"
- Reply: Adfa: "Re: Cracking decrypted file when knowing partial contents"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|