![]() |
VOOZH | about |
In data communication there are two concept involves in transmission namely encapsulation and decapsulation. Encapsulation adds addition information to a send packet as it travels to its destination,and Decapsulation is the reverse process of encapsulation, So a receiver node can read the original send data/information. This article will make you aware of Encapsulation & Decapsulation, and their differences.
Encapsulation refers to attaching new information in the Application Layer data as it is passed onto the next layers in the TCP/IP model. This additional information basically divided into two parts, Header and Trailer. These are elements attached in order to make the transmission more smoother, on each layer a PDU (Protocol Data Unit) is generated.
👁 EncapsulationDecapsulation refers to the removal of all these additional information and extraction of originally existing data, and this process continues till the last layer i.e. the Application Layer. This process removes, fragments of distinct information in each layer as it approaches that layer. Here is the pictorial representation of the whole process.
👁 DecapsulationEncapsulation | Decapsulation |
|---|---|
| The data moment starts from the upper layer and terminates finally on the lowest layer. | Whereas, here the data moves from the lower layer till the upper layer. |
| The process involves addition of header and trailer section. | This process involves removal of header and trailer sections |
| This process executes first and is followed by decapsulation. | This process executes once encapsulation is finally completed. |
| It occurs inside the source device. | It occurs inside the destination device. |
Encapsulation and decapsulation processes in cryptography, in most contexts, relate to public key encryption schemes, specifically in protocols like Key Encapsulation Mechanism, usually shortened as KEM.
These are very necessary processes in scenarios when asymmetric encryption creates secure channels of communication, but symmetric keys are often used to encrypt data because of efficiency.
Encapsulation and decapsulation are important on the basis of:
Encapsulation and de-capsulation are actually both inseparable ways of helping the piece of data to flow safely and reach its designated destination correctly over the networks. Encapsulation is the fact of wrapping data with protocol-specific headers for data movement across different networks, and de-capsulation is the fact of header removal to reach the original data. So, it is actually important to know the difference between these processes in implementing secure and efficient communication for many networking and cryptographic applications.