Password protect file

encrypt:

$ gpg -c file

decrypt:

$ gpg file.gpg