Thursday, July 15, 2010

Encrypt your files with vim

vim can help you to encrypt your file so that no one can open it without knowing encryption key. all you need to do is

vim -x filename-you-want-to-create

the above command will prompt you for an encryption key. provide the key and remember it ,as you will need it to open the file from now on

K peterson

Open the encrypted file in vim using your old pass phrase. Now type :X and enter an empty pass phrase. Type :w and the file will be saved unencrypted.

No comments:

Post a Comment