Fixing bug and enhancing PGP Cypher class