Symmetric and asymmetric cryptography
One secret versus a key pair
Symmetric encryption uses a shared secret key for encryption and decryption. Asymmetric cryptography uses related public and private keys with different roles. Imagine two bookstore branches protecting a backup: with symmetric encryption, each authorized branch needs access to the secret; with public-key encryption, a sender can use the recipient’s authentic public key without receiving the private key.
Which key is shared?
A symmetric key must be protected during storage and distribution. The public part of an asymmetric pair may be distributed, but its association with the intended recipient must be verified. The private key remains protected. Merely labeling a key with a name does not prove it belongs to that person.
Why systems combine both
Established secure protocols often use asymmetric mechanisms to authenticate peers and establish shared key material, then symmetric authenticated encryption for bulk data. Key agreement lets participants derive shared secrets; the agreement must be authenticated as required by the protocol. Modern TLS is an example of a protocol that combines different cryptographic functions. This is a conceptual model, not an instruction to assemble a new protocol.
Select a family by purpose
For large private backups, use an approved authenticated symmetric encryption system. For sending data to a recipient without a pre-shared secret, use an established recipient-encryption system with verified public keys. For proving the origin of a public release, use a signature rather than encryption. Not all public-key algorithms support both encryption and signatures. AES is a symmetric primitive; the mode and key handling matter.
Practice: protect the right key
Draw two boxes for sender and recipient. Mark which key can be distributed and which must stay private in a recipient-encryption system. Then explain why encrypting to an unverified public key is risky. The next lesson separates shared-key authentication from public signature verification.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Symmetric and asymmetric cryptography — knowledge check
Apply the cryptographic concept to fictional scenarios.
Which key is used for both directions in symmetric encryption?
In a public-key encryption system, which key can the sender receive publicly?
Why verify the recipient’s public key before encryption?
Why do established secure protocols often combine asymmetric and symmetric mechanisms?
Which is the appropriate family for a publicly verifiable release announcement?