notes/School/Analyse/Layers/Presentation Layer.md

740 B

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)