The two main categories of cryptography are symmetric and asymmetric encryption. These are alternatively known as secret key and public key encryption.