The command for the encryption in vim is;
vim -x abc.txt
But after the encryption if you try to open the file in gedit it will still open and you can delete the whole txt file in the gedit by selecting and backspacing all, which is kinda bad :( & the password is only valid if you use vim abc.txt to open up the file.
No comments:
Post a Comment