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: 3.133.157.133
To prevent spam please submit by clicking the kitten: