change the decryption api