get public key decryption working