What is cryptanalysis?
Cryptanalysis is the decryption and analysis of codes, ciphers or encrypted text. Cryptanalysis uses mathematical formulas to look for security holes in the algorithm and to break into cryptography or information security systems.
Cryptanalysis attack types include:
Known Plain Text Analysis (KPA): Attackers decrypt encrypted texts with known partial plain text.
Chosen Plain Text Analysis (CPA): The attacker uses ciphertext that compares randomly selected plain text using the same algorithm technology.
Ciphertext-Only Analysis (COA): Attackers use known collections of ciphertexts.
Man-in-the-Middle (MITM) attack: Attack occurs when two parties use message or key sharing to communicate over a channel that appears secure but is actually compromised. The attacker uses this attack to intercept messages that traverse the communication channel. Hash functions prevent MITM attacks.
Adaptive Chosen Plaintext Attack (ACPA): Similar to a CPA, this attack uses chosen plaintext and ciphertext based on data learned from previous ciphers.