Adaptive chosen ciphertext attack