How It Works: Encryption
Encryption hides your data from prying eyes. Learn how it works and what you need to use it.
Andrew Brandt and Alexandra Krasne, PCWorld.com
Encryption: The process of encoding data to prevent
unauthorized parties from viewing or modifying it.
- Prevents unwanted access to documents and e-mail messages.
- Strongest levels of encryption are very difficult to break.
-
Recent changes in cryptography export laws should expand access to software.
If you're not paranoid, maybe you should be. If you use a PC, unscrupulous types can intercept e-mail you send, and coworkers could be reading your documents. Encryption--the process of encoding data so that it requires a special key to be read--can protect your data from prying eyes. Once the domain of spies, encryption is fast becoming an advisable precaution for businesses and home users: It's your best tool for protecting your trade secrets and privacy.
Whether your encryption program is stand-alone or built into your e-mail app, the encryption process is the same: Data passes through a mathematical formula called an algorithm, which converts it into encrypted data called ciphertext. These formulas require one variable from you--called a key--which makes it difficult, if not impossible, for anyone else to crack the encryption.
There are two types of encryption: symmetric and asymmetric (also called public key). With symmetric encryption, you run a file through the program and create a key that scrambles the file. Then you e-mail the encrypted file to the recipient and separately transmit the decoding key (which could be a password or another data file). Running the same encryption application, the recipient uses the decoding key to unscramble the message. Symmetric encryption is fast but not as safe as asymmetric encryption because someone could intercept the key and decode the messages. But because of its speed, it's commonly used for e-commerce transactions.
Asymmetric encryption is more complex--and more secure. Two related keys are required: a public key and a private key. You make your public key available to anyone who might send you encrypted information. That key can only encode data; it cannot decode it. Your private key stays safe with you. When people wish to send you encrypted information, they encrypt it using your public key. When you receive the ciphertext, you decrypt it with your private key. Asymmetric encryption's added safety comes at a price: More computation is required, so the process takes longer.
Symmetric and asymmetric encryption use different algorithms to produce ciphertext. In symmetric encryption, the algorithm divvies up data into small chunks called blocks. It then switches letters around, changes the information in each block into numbers, compresses and expands the data, and runs those numbers through mathematical formulas that include the key. Then the algorithm repeats the process, sometimes dozens of times over. An asymmetric encryption's algorithm, on the other hand, treats the text as though it were a very large number, raises it to the power of another very large number, and then calculates the remainder after dividing it with a third very large number. Finally, the remainder number is converted back into text. Encryption programs can use the same algorithms differently, which is why the recipient needs to use the same application to decode the message that you used to encode it.
Keys are the final piece in the encryption puzzle. Keys vary in length and, consequently, in strength. The reason: The longer the key, the greater the number of possible combinations. For example, if your encryption program uses 128-bit keys, your particular key could be any of more than 3.4 trillion billion billion billion--or 2 to the power of 128--possible combinations of zeros and ones. A hacker is more likely to win the lottery than to crack that level of encryption using the brute-force method (systematically trying key combinations until they find the right one). By comparison, encryption experts can crack the average 40-bit symmetric key in about six hours on a typical home PC using brute force. However, even 128-bit encryption is vulnerable to some extent; pros have some sophisticated techniques that can help them crack even the toughest codes.
Andrew Brandt is an associate editor and Alexandra Krasne is an editor/reporter for PC World.- Page 1 of 2
- Next ยป
With HP wireless printers, you could have printed this from any room in the house. Live wirelessly. Print wirelessly.
Windows Vista FAQ
Laptop Showcase
Related Antivirus and Security Articles
- Don't Buy Antivirus Software, Vendor Says Threats today go far beyond viruses, so a standalone solution won't make it, Trend Micro manager says.
- MercuryMover 2.0 A couple years ago--it's difficult to believe it's been that long--I covered MondoMouse, a great utility that lets you move or...
- Five Password Utilities for Portable Freedom Here are five free and paid tools that can help you manage your trove of passwords without leaving you tied to one PC.
- Enterprises Overpay for Antivirus Software, Says Analyst Enterprises continue to pay too much for security software, a Gartner analyst said Monday.
- F10 Launch Studio 2.0 Adds Smart Search Chronos LC on Thursday announced the release of F10 Launch Studio 2.0, a new version of its application launch utility for Mac...
Best Prices on Security Software
Norton Internet Security 2008Price: $14.00
Internet Security 2008 - 3-User (Full Product, PC)Price: $12.99
Kaspersky Internet Security 2009Price: $29.95
Norton 360 2.0 ( PC)Price: $35.95
Internet Security Suite 2008 - 3-UserPrice: $16.95
Norton Internet Security 2009Price: $66.99
- Web Demo: Discover the Benefits of VoIP Is your company looking for a world class VoIP communications solution that will meet all of your business requirements? If so, join us for our Live Online Demo where you will receive a "guided tour" to the AltiGen Solution.
- PC World Webcast: Going Green Wondering how to make your business greener? These tips will help your business save money, and save the environment.
- A Windows Vista FAQ Corporate customers are deploying Windows Vista now, and Dell Services wants to help you understand the features of the new OS and how to plan your Windows Vista deployment.





