Cryptographic library based on the code from GnuPG