Lock a file with GPG

GPG (stands for GNU Privacy Guard) is a tool to encrypt a file or a message with a public key into unreadable format and can be read once decrypted back to its original form using a private key.…