GPG is a general-purpose digital signature and encryption program. It may be used alone to sign and encrypt files. One of its most common applications, however, is integration with e-mail packages, where its capabilities may be used to verify identity and protect privacy.