How to encrypt a file
We can use Zip with password but sometimes we just want to encrypt it or decrypt it directly.
There is OpenPGP standard we can use. In Mac we can use https://www.gnupg.org/.
Encryption with a password:
gpg -c --armor --cipher-algo AES256 --no-symkey-cache --output merchantReseller.asc merchantReseller.zip
Decryption:
gpg --decrypt --no-symkey-cache --output merchantReseller.zip merchantReseller.asc
We can also use public/private key to encrypt. Details are
https://www.gnupg.org/gph/en/manual/c14.html