The main goals of cryptography are to ensure the confidentiality, integrity, and authenticity of information. Confidentiality prevents unauthorized access to sensitive data, integrity ensures that data has not been tampered with during transmission, and authenticity verifies the identity of the parties involved in the communication.