Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. A
chosen-ciphertext attack (CCA) is an attack model for cryptanalysis in
which the cryptanalyst gathers information, at least in part, by
choosing a ciphertext and obtaining its decryption under an unknown key.
In the attack, an adversary has a chance to enter one or more known
ciphertexts into the system and obtain the resulting plaintexts. From
these pieces of information the adversary can attempt to recover the
hidden secret key used for decryption.