Updated public key encryption.