Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I read man vim, :h -x and :h encryption none of this actually says what algorithm it's encrypted with.

share|improve this question
add comment

2 Answers 2

up vote 6 down vote accepted

:h 'cryptmethod' says that PkZip and Blowfish (new in Vim 7.3) are possible encryption methods. A look around FEAT_CRYPT in vim/src/misc2.c confirms it.

The weak encryption method is documented in PKWARE's zip file format documentation, and the new strong encryption is documented on Bruce Schneier's Blowfish page.

share|improve this answer
add comment

I know that they added support for blowfish encryption in 7.3. Other than that it's zip.

If you're using 7.3 go:

:set cryptmethod?

to see what method you're using.

share|improve this answer
    
apparently :set cryptmethod isn't an option before 7.3 –  xenoterracide Oct 27 '10 at 9:42
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.