Re: Is A File Encrypted?

2001-12-06 Thread Elaine -HFB- Ashton
Curtis Poe [[EMAIL PROTECTED]] quoth: *> *>If a compression tool leaves large patterns in the data, it's a poor *>compression tool. You can read more about this here: *>http://perl.plover.com/Huffman/huffman.html. Compression reduces entropy which, if used before encryption, can make the decryp

Re: Is A File Encrypted?

2001-12-06 Thread Curtis Poe
--- Elaine -HFB- Ashton <[EMAIL PROTECTED]> wrote: > Curtis Poe [[EMAIL PROTECTED]] quoth: > *> > *>This probably is not the most helpful comment, but one way to tell > *>if something is encrypted is to compress the data using Archive::Zip > *>or something similar. I don't know, offhand, what th

Re: Is A File Encrypted?

2001-12-06 Thread Elaine -HFB- Ashton
Ray Murphy [[EMAIL PROTECTED]] quoth: *>Hello, *> *>Want to make sure I'm not missing anything here. My *>task is to see if a file looks like it's encrypted. *>I'm splitting the path/filename/extension via *>File::Basename and checking to see if the extension is *>..pgp or .gpg. I'm also checki

Re: Is A File Encrypted?

2001-12-06 Thread Elaine -HFB- Ashton
Curtis Poe [[EMAIL PROTECTED]] quoth: *> *>This probably is not the most helpful comment, but one way to tell *>if something is encrypted is to compress the data using Archive::Zip *>or something similar. I don't know, offhand, what the threshhold is, *>but if a file significantly compresses the

Re: Is A File Encrypted?

2001-12-06 Thread Karthik Krishnamurthy
The -T won't work of the data can be uuencoded. /kk On Thu, Dec 06, 2001 at 09:06:19AM -0800, Ray Murphy wrote: > Hello, > > Want to make sure I'm not missing anything here. My > task is to see if a file looks like it's encrypted. > I'm splitting the path/filename/extension via > File::Basenam

Re: Is A File Encrypted?

2001-12-06 Thread Curtis Poe
--- Ray Murphy <[EMAIL PROTECTED]> wrote: > Hello, > > Want to make sure I'm not missing anything here. My > task is to see if a file looks like it's encrypted. > I'm splitting the path/filename/extension via > File::Basename and checking to see if the extension is > ..pgp or .gpg. I'm also ch

Re: Is A File Encrypted?

2001-12-06 Thread GoodleafJ
Moustafa To: Ray Murphy <[EMAIL PROTECTED]> Subject: Re: Is A File Encrypted?

Re: Is A File Encrypted?

2001-12-06 Thread Ahmed Moustafa
If you expect a certian pattern of text in the file, I think, you can grep the file from the expected text pattern. If you find any, then the file is not encrypted; otherwise, the probability of the file being encrypted would be higher. --Ahmed [EMAIL PROTECTED] | http://arbornet.org/~ahmed On T

Is A File Encrypted?

2001-12-06 Thread Ray Murphy
Hello, Want to make sure I'm not missing anything here. My task is to see if a file looks like it's encrypted. I'm splitting the path/filename/extension via File::Basename and checking to see if the extension is ..pgp or .gpg. I'm also checking to see if the file is a text file via 'if (-T $fi