How Encryption Works

  • Buffer
  • Pin It
  • Sharebar
  • Buffer
  • Pin It

Everyday there are possibly millions of transactions made that involve the exchange of personal information. Obviously, those that provide that information would like to know that the information they send is safe and secure. On the Internet making information secure is handled by encrypting the data before it is sent, and decrypting it once it reaches its destination.

This post will describe the encryption process and how it is used to keep information safe.


Definition of Encryption

Encryption is the process of encoding data to ensure that unauthorized parties cannot view it. When data is encrypted, the data is first passed through an algorithm and is converted into cyphertext, which is the encrypted data. To accomplish the encryption, a key or code provided by you is used to encrypt the data, which will make the encryption difficult to crack.

There are two systems used for encryption: Symmetric-key encryption and Public-key encryption (asymmetric). The next section will discuss the two systems.

Encryption Systems

A symmetric-key encryption system uses a secret key or code to encode the data. When the information is passed to another computer, the code is passed along separately. The second computer then uses the secret code to decode the data. A symmetric-key system is fast but is not as secure as the public-key system. If someone were to intercept the data and the code, then they could easily decode the data.

Symmetric+Encryption How Encryption Works

In a public-key system there are two keys: a public key and a private key. A public key is given out by a secured computer to any computer that wants to establish a secure communication. When the data is to passed from the client’s computer, it is first encoded with the public key and then sent to the secured computer. The secured computer then uses the private key along with the public key to decode the data.

Public Key+Encryption How Encryption Works

Number of Public Keys

So how many keys are possible for encryption? It all depends on the bit strength of the encryption. The bit strength of the encryption can vary such as 40-bit or 128-bit. To get the number of keys, simply raise 2 to the power of the bit strength. For example, for 128-bit encryption the number of possible keys is 2128 or 340,282,366,920,938,000,000,000,000,000,000,000,000 keys.

Although it may look like determining the correct key is impossible, just remember that computers are getting more powerful, so it is taking less time to determine the key through brute force. This is not to say that your data is not secure, as it still takes a long time to crack 128-bit encryption, at least to the point where it may not be worth while.

 How Encryption Works

About Paul Salmon

Paul Salmon is the founder of Technically Easy. He is a an experienced PC user, and enjoys solving computer-related problems that he encounters on a regular basis.

Facebook | Twitter | Google+

You may also like:

No thumbnail image

Wireless Security: WEP and WPA

Network Security

How Network Security Policy Works for Everyone

No thumbnail image

Windows Key Shortcuts

No thumbnail image

Understanding the Windows Registry

One person had something to say about “How Encryption Works”:

Comments


  1. If ‘RAMYA’ is the original name and arbitrary number chosen for the key is 12, then what is the cipher text for ‘RAMYA’ and also explain How encryption works.

Do you have something to say? Let everyone know!

Commenting policy: All comments are moderated for spam. You must use your real name and not your website name or keywords. If a comment is deemed to be spam, then it will be deleted or edited. Links to your website within the comment body is not permitted, but you are free to use CommentLuv to add a link to your latest post. If you wish to add a link to your website, you can always contact me about submitting a guest post.






CommentLuv badge
This blog uses premium CommentLuv which allows you to put your keywords with your name if you have had 5 approved comments. Use your real name and then @ your keywords (maximum of 3)

Previous Post:

Next Post: