Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Re: Re: Re: Encrypting Largish Files

by John M. Dlugosz (Monsignor)
on Sep 24, 2001 at 08:38 UTC ( #114248=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Encrypting Largish Files
in thread Encrypting Largish Files

Yes, PkZIP described encrypted entries. There is a simple flag for it, so there is no way to incorporate other algorithms and maintain file compatibility. You either mark it as encrypted and do something different (like CuteZip does, and that makes all other zip utilitites think you have a corrupted file; or use a non-standard extension to the file format, which has its own problems because the format is not really well designed.

Some issues, and my musings and collected ideas for them, can be found here. In fact, I found a lot of bugs in early releases of Perl 5 with that!

The encryption method has a known-plaintext attack, but the net utils are bascially password crackers and brute force engines.

A brief discussion of where the encryption code came from is in the (very old) zip file format documentation from PK.

—John

  • Comment on Re: Re: Re: Re: Re: Encrypting Largish Files

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://114248]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2022-09-25 17:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (116 votes). Check out past polls.

    Notices?