Implementation of Chosen-Ciphertext Attacks against PGP and GnuPG