liveBook · Manning

Hybrid encryption

Hybrid encryption combines asymmetric cryptography or key exchange for protecting a symmetric key with symmetric authenticated encryption for protecting data.

How 2 Manning books explain it

Real-World Cryptography

Hybrid encryption is an encryption technique that combines asymmetric encryption or key exchange with symmetric authenticated encryption to protect messages of arbitrary practical size.

How it is used
Deploys public-key encryption or key exchange to deliver symmetric protection for messages too large for direct asymmetric encryption.
How deep it goes
Explains construction and decryption steps, then descends into ECIES with ECDH, ephemeral keys, and authenticated encryption.
Examples
Uses RSA-based key protection, ECIES with ECDH, AES-GCM, message-flow figures, and a Java Google Tink listing.
What you can do after
Apply it via ECIES or a documented interoperable implementation to encrypt larger messages with authenticated symmetric protection.

Read how Real-World Cryptography explains hybrid encryption →

Software Security for Developers

Hybrid encryption is a scheme that uses public-key cryptography to protect a symmetric encryption key and symmetric cryptography to protect the data.

How it is used
Uses AES for efficient content encryption and RSA for securely transporting the AES key.
How deep it goes
Explains the sender and recipient steps, algorithm choices, key wrapping, and recommended RSA padding and key sizes.
Examples
Uses AES-GCM with a 256-bit key, RSA-OAEP, an AES CEK, and encrypted content-plus-key transmission.
What you can do after
Apply hybrid encryption by generating an AES CEK, encrypting content, wrapping the CEK with RSA-OAEP, and reversing those steps.

Read how Software Security for Developers explains hybrid encryption →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.