Public key encryption is now working