A Closer Look at Data Encryption and Online Privacy

Data encryption and online privacy are closely linked. Data encryption protects and secures data by converting it into code that cannot be read or understood. Data encryption can prevent data leaks and guard against cyber threats and attacks.

What Is Encryption?

Encryption is the process of converting human-readable text into text that humans cannot read and only a system can understand. This is done by scrambling the readable text, and the result is called ciphertext.

Encryption is common and widely used to secure and protect data in the form of text or messages. Its purpose is simply to protect the content of the messages users send. So when a hacker tries to break into your messages to see what they say, they will only find scrambled text that cannot be understood.

This is why data encryption and online privacy are so closely linked. However, the person receiving the message can still understand it, thanks to the decryption process. Decryption is the process of converting scrambled text back into readable text. And this process can only happen if the recipient has access to view the encrypted data.

Types of Encryption

There are two types of encryption: symmetric encryption and asymmetric encryption. Here is a closer look at both.

  • Symmetric Encryption

Symmetric encryption is also called secret key encryption. This is because this type of encryption uses only one key, the same key for both locking and unlocking the data. So the sender and the recipient of the message have identical keys.

Because its algorithm uses only a single shared key, symmetric encryption is not overly complicated. This type of encryption is a good choice for securing the transmission of large amounts of data. Some examples of algorithms used in symmetric encryption are Advanced Encryption Standard (AES), Blowfish and Caesar.

  • Asymmetric Encryption

Unlike symmetric encryption, which uses only one key, asymmetric encryption uses two different but related keys. These two keys are called the public key and the private key. That is why asymmetric encryption is also called public-key encryption or public-key cryptography.

Each of the two keys has a different function. The public key is used for encryption, and the private key is used for decryption. The public key encrypts a text and can be accessed by everyone. The private key, on the other hand, decrypts the message and can only be accessed by the key's owner.

The public key and private key are created as a pair. Also known as end-to-end encryption, asymmetric encryption is considered more secure because its algorithm is more complex, namely the Rivest Shamir Adleman (RSA) algorithm.

How Encryption Works

  • Preparing the Data to Be Encrypted

Data that has not yet been encrypted is plaintext, or ordinary data such as files, text messages or other information to be secured.

  • Choosing the Algorithm and Key

The user chooses a suitable encryption algorithm. This algorithm is what converts readable data into unreadable data. The user can choose between symmetric and asymmetric encryption.

  • Starting the Encryption Process

Using the chosen key, the encryption algorithm starts processing the readable data, or plaintext. This process produces unreadable data, called ciphertext. This ciphertext can only be understood by the system.

  • Storing the Ciphertext

The ciphertext produced by the encryption process is sent over the network or stored securely, without any risk of being read by parties who do not have access or permission.

  • Starting the Decryption Process

This stage is optional, because decryption is only carried out when the recipient needs to read or access the data again. Decryption converts the ciphertext back into plaintext using the secret key for symmetric encryption, and the private key and public key for asymmetric encryption. Those are some of the key points about the definition and workings of encryption, and the relationship between data encryption and online privacy.


Gelora Perkasa Editorialauthor

Every article here is written and checked by the Gelora Perkasa team: the engineers and technicians who survey sites and install and maintain CCTV, fire alarm, PABX and network systems across Bali, Java and Lombok. We write about what we run into on real projects, so the advice comes from the field, not from a product brochure.