in reply to How to decrypt a file encrypted with vi -x or shell crypt

So, How can I get the contents of this file? Is there a module that will do the trick amongst the hundred Crypt:: modules?
Can you identify the algorithm (do you even know where that would be documented)?

http://vimdoc.sourceforge.net/htmldoc/editing.html#encryption:

- Pkzip uses the same encryption, and US Govt has no objection to its export. Pkzip's public file APPNOTE.TXT describes this algorithm in detail.
You can get a copy of Appnote at http://search.cpan.org/src/NEDKONZ/Archive-Zip-1.08/docs/Appnote.txt

I would give Crypt::CreditCard a try (it says AES 256).

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

  • Comment on Re: How to decrypt a file encrypted with vi -x or shell crypt

Replies are listed 'Best First'.
Re^2: How to decrypt a file encrypted with vi -x or shell crypt
by Anonymous Monk on Aug 27, 2004 at 17:31 UTC
    From that vim doc page:
    The encryption in Vim has not been tested for robustness.
    In fact it has, and it was found wanting. There is an efficient known-plaintext attack against PKZIP encryption.