Data Encryption

 ・ 2 min

photo by Pawel Czerwinski on Unsplash

Data Encryption#

Data encryption is an essential technology used to safely protect sensitive information.
Data transmitted over the internet can be exposed to various risks including eavesdropping, tampering, and loss. Encryption technology can prevent unauthorized third parties from decoding data or understanding its contents.

There are two main types of encryption: symmetric encryption and asymmetric encryption.

  • Symmetric encryption: The sender and receiver use the same encryption key to encrypt and decrypt data. Common symmetric encryption algorithms include AES (Advanced Encryption Standard) and DES (Data Encryption Standard).
  • Asymmetric encryption: The sender encrypts data using a publicly shared public key, and the receiver decrypts it using a privately held private key. Common asymmetric encryption algorithms include RSA (Rivest-Shamir-Adleman) and ECC (Elliptic Curve Cryptography).

Additionally, data can exist in various states (at rest, in transit, in use).

Data Encryption Transmission Process#

Public key encryption

Data encryption transmission generally follows these steps:

  1. The sender encrypts the data. The sender uses a chosen encryption algorithm and encryption key to encrypt the data.
  2. The encrypted data is transmitted. The encrypted data is sent to the receiver through the internet or other communication channels.
  3. The receiver decrypts the data. The receiver uses the private key or public key to decrypt the encrypted data and obtain the original data.

Data Encryption Use Cases#

Websites and web applications: Used alongside the HTTPS protocol to securely handle user logins, online payments, and personal information input.
VPN (Virtual Private Network): Encrypts data for transmission to enable secure remote access over the internet.
Email: Uses the S/MIME (Secure/Multipurpose Internet Mail Extensions) protocol to encrypt and protect important email content.
Cloud storage: Cloud storage services like Google Drive and Dropbox encrypt user data for protection.
Messaging apps: Messaging apps like WhatsApp and Telegram encrypt private conversations for protection.


Give me a lever long enough and a fulcrum on which to place it, and I shall move the world.

— Archimedes


Other posts
What Is Input Validation in Frontend? 커버 이미지
 ・ 2 min

What Is Input Validation in Frontend?

Let's Learn About CORS! 커버 이미지
 ・ 2 min

Let's Learn About CORS!

Essential Skills for Frontend Developers 커버 이미지
 ・ 14 min

Essential Skills for Frontend Developers