encryption with Vim (vim -x)
I just discovered the -x option in vim. It seems like a somewhat useful feature, but I'm not sure how secure or versatile it is.
Opening a crypted file in vim prompts me for the password as I expected, and editing seems to work fine...but there are some things about it that I don't understand:
I attempted to view the file in a browser, and was asked if I wanted to download it. Does encrypting create a binary file? If so, would FTP'ing it as text break it?
Doing "cat file" messed up my terminal (ps1 and all input) with some crypted files, but not with others...does this show evidence of a bug, or is it normal?
Is this a Vim-only feature or does it work with Vi as well?
Just how secure is it?
Thanks for any input.