Encrypt a file using gpg
To encrypt a file using gpg command, run Now it will ask for a password. Once you enter password 2
Encrypt
Encrypting a file using OpenSSL Encrypt a file using gpg
Encrypting a file using OpenSSL
To encrypt a file, run To decrypt, use You can use -k option to provide password in commend line itself