- Determine the language being used
- Determine the system being used this can be a time-consuming stage in the process and involves counting character frequency, searching for repeated patterns and performing statistical tests.
- Reconstruct the system s specific keys
- Reconstruction of the plain text this step typically takes place at the same time as the keys are reconstructed.
Cryptanalysis often is used by governments in military and diplomatic surveillance, by enterprises in testing the strength of security procedures, and by malicious hackers in exploiting weaknesses in Web sites.