Vim encryption

Vim has simple built in encryption. If you have a text file you want to encrypt you can run the commands:

:set cryptmethod=blowfish2
:X

Vim will prompt you for a password, and then the next time you save the file it will be encrypted automatically. When you open the file it will prompt you for the password. If you enter the wrong password you'll see a bunch of gibberish.



Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 35.170.82.159
To prevent spam please submit by clicking the kitten: