Home > Security Tips > Risk Management Strategies > Public Key Cryptography: Q&As from your peers
Security Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

RISK MANAGEMENT STRATEGIES

Public Key Cryptography: Q&As from your peers


Frederick Avolio
07.16.2001
Rating: -4.09- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Public Key Cryptography: Q&As from your peers
By Fred Avolio

This column is a bit different. On May 31, 2001, I gave a searchSecurity audio chat entitled Introduction to Public Key Cryptography. There were more questions than there was time to answer them. I've selected a few to address this month.

Q: How long would it take someone to crack 128-bit encryption?

When the press talks about "cracking" or "breaking" an encryption algorithm, they always seem to mean this: The "attacker" decrypted a message by guessing the secret key that was used for the encryption. This is not breaking or cracking a particular algorithm. But it does demonstrate the importance of key size. The key size -- the number of bits used to store the key, which is an integer number -- determines the size of the key space, the number of possible keys that can be used. If you knew that to decrypt a message you needed to guess a number between 1 and 10, would you feel challenged? How about between 1 and 1,000? How about 1 and 1^38 (1 followed by 38 zeros). That is (roughly) the key space using a 128-bit key. For comparison purposes, let's use a (so far) non-existent computer that can guess 1 trillion (1 followed by 12 zeroes) keys a second. On average, it would take around 2 million-million-million (2 followed by 18 zeroes) years to guess the key.

Q: Didn't a research lab just break 128-bit encryption in the past month in a little more than three hours?

Not that I can find. But this brings us to the other way someone can "break" crypto. They can break it if the algorithm is faulty (which is why making the algorithm public, available and subject to examination is so important), or the implementation of the algorithm is flawed. This has, for example, happened with the SSL implementation in Netscape Communicator in the past.

Q: I've recently read an article that claimed an encryption algorithm has been developed that is 'unbreakable' because of randomization, but the article also downplayed the importance of that fact. Why would the fact that it's 'unbreakable' be unimportant?

It would be an incredible breakthrough. It would be too good to be true. And it probably is. It sounds like "marketing speak" to me. I can find no such report.

Q: Is public key cryptography under threat, seeing the success of distributed computing in cracking cryptography?

Not just public key crypto, but secret key as well. Such systems will always be targets for attack. But the formula is much more complicated. You have to first look at the key size and algorithm so that you know how vulnerable it is to an attack. 128-bit AES looks pretty good so far. Then you have to combine that with how likely it is someone will target you or your company. Are you securing military secrets or e-mails to your aunt in Minneapolis? It makes a difference. And two million-million-million years, or half of that, or a tenth of that, or even a millionth of that, is still a long time.

Q: What are the limitations on a key size?

Algorithms are written to support a certain key size. Also, the larger the key the longer the encryption or decryption will take. You don't want to use crypto that takes an hour to encrypt your e-mail before you send it. That's one example of what crypto-mathematicians have to deal with and get right.

Q: With the public/private key system, would our messages be safe from the government's Carnivore monitoring system?

If you mean the content of your e-mails, it certainly should be, assuming a strong enough key-size. The address fields are not encrypted and therefore not confidential.

Q: Is it best to have your own Certificate or Key server or to depend on an independent third party?

Whichever you can afford, where cost is measured in the price of the solution and the people and training required to get it to work. There really is no difference in the security provided.

Q: My PGP Key has expired. What I can do with it? It is also located on the certificate server.

This is an example of the sorts of trouble we can get into with these systems. A good PKI automates this sort of thing so that as keys are changed, certificates get updated. In this particular case, there is not much you can do except get a new certificate.

Q: When I send encrypted e-mail, does the receiver have to use the same software that I have, and do they need to have my public encryption key to be able to open my e-mail?

Yes, the receiver has to use the same underlying protocols. One can secure e-mail with the popular S/MIME and PGP protocols, the less popular but older MOSS and PEM, or proprietary implementations, such as ZixMail or A-Lock. You do need to have the same type of encryption supported on both or all platforms. So, for example, e-mail encrypted with PGP will work where there is PGP. It doesn't matter what the Mail User Agent is (Outlook, Eudora, etc.), nor does it matter the platform (Linux, Unix, Windows, Mac, Palm). And there are products that will work across these platforms. Certainly, PGP is the most famous and, perhaps, popular.

About the author:
Fred Avolio is the president and founder of Avolio Consulting, Inc., a Maryland-based corporation specializing in computer and network security and dedicated to improving the state of corporate and Internet security through education and testing.


Rate this Tip
To rate tips, you must be a member of SearchSecurity.com.
Register now to start rating these tips. Log in if you are already a member.




BROWSE BY TAG
Application and Platform Security,   Email Protection,   Email Security Guidelines, Encryption and Appliances,   Risk Management Strategies,   VIEW ALL TAGS

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Email Security Guidelines, Encryption and Appliances
How to confirm the receipt of an email with security protocols
Best Email Security Products
Can an IP spoofing tool be used to spam SPF servers?
WatchGuard acquires email and Web security vendor BorderWare
McAfee to acquire email SaaS vendor MX Logic
What does 'invoked by uid 78' mean?
How to configure firewall ports for webmail system implementation
Fierce competition prompted new Cisco email security options
Cisco brings email security appliances closer to SaaS
Cisco offers more email security choices, but lacks vision

Risk Management Strategies
How to justify information security spending on cloud computing
How to protect distributed information flows
Black box and white box testing: Which is best?
Breach prevention: How to keep track of data and applications
Information security management hype: Debunking best practices
Monitoring program data and internal controls for risk management
Cloud computing security: Choosing a VPN type to connect to the cloud
Cloud computing security: Routing and DNS security threats
Cloud computing security model overview: Network infrastructure issues
How to align an information security framework to your business model

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
asymmetric cryptography  (SearchSecurity.com)
challenge-response system  (SearchSecurity.com)
cryptographic checksum  (SearchSecurity.com)
data encryption/decryption IC  (SearchSecurity.com)
elliptical curve cryptography  (SearchSecurity.com)
Escrowed Encryption Standard  (SearchSecurity.com)
MPPE  (SearchSecurity.com)
Quiz: Cryptography  (SearchSecurity.com)
session key  (SearchSecurity.com)
Twofish  (SearchSecurity.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Research Solutions for Network Security, Access Control and Security Threats
TechTarget Security Media
Information Security View this month\\'s issue and subscribe today.
Information Security Decisions Apply online for free conference admission.
SearchSecurity.com
HomeNewsMagazineMultimediaWhite PapersLearningAdviceTopicsEventsAbout Us

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts