13 lines
743 B
Markdown
13 lines
743 B
Markdown
# 6. Presentation Layer
|
|
The presentation layer is responsible for preparing the data so that it can be used by the Application Layer.
|
|
|
|
**Presentation layer is responsible for:**
|
|
- Translation of data
|
|
- Encryption of data
|
|
- Compression of data
|
|
|
|
For example, two devices can use different types of encoding on their data, the presentation layer will translate the data in a way that the Application Layer can understand.
|
|
|
|
When sending sensitive data, we would like to encrypt the data so that its secure. The Presentation layer is responsible for encrypting and decrypting ingoing or outgoing data.
|
|
|
|
Also when sending of receiving data we sometimes want to compress the data so that sending and receiving data is more efficient. (smaller size) |