Length is the secret for code security
Tuesday 27 May 1997
The strength of a key is determined by its length, expressed in bits. The longer a key, the more secure messages encrypted with it will be. For example, an 8-bit key has 256 possible combinations, or ways in which to encrypt a message. Without the correct key, a recipient would have to check all 256 combinations to determine which one had been used. While this is possible with short keys, the number of combinations rises exponentially with the number of bits in the key, thus making the job extremely difficult.
Many software products on the market use 40- or 56-bit keys, while 128- bit and longer permutations are becoming common. These keys are virtually impossible to crack using brute computational force, because of the huge number of potential combinations.
There are two basic types of key cryptography: secret and public. The secret key method, the oldest and simplest, relies on both the sender and receiver possessing the same key. A sender simply encrypts and sends the message. Anyone else reading the transmission will see nothing but garbled text. The recipient decodes the message using the same key. This system works well, but becomes complex if one person wishes to communicate securely with a large number of people, as a different key has to be used for each person.
Public key cryptography is more complex, but offers a greater degree of flexibility. It works by using pairs of keys. One key is kept secret by the recipient, while the second can be distributed publicly.
A sender uses a recipient's public key to encrypt a message for transmission. Because of the unique mathematical nature of the key pair, the message can be decrypted only by using the recipient's private key. This ensures security while enabling many people to communicate with the recipient.
Some systems being developed for electronic commerce use a combination of both systems. Initial contact is established between two parties - such as a customer and a bank - using a public key system. Once the link is made, secret codes are generated and are then used to encrypt further transmissions. This ensures that valuable information remains secure.
Cryptographic experts around the world are hard at work creating ever more secure keys. Their work forms an integral part of future electronic communication and commerce.
Life & Style blogs
International Kissing Day: Why it feels good
World learns of app that shows you who unfriended you on Facebook, app promptly crashes
People all over the world are getting semicolon tattoos to draw attention to mental health
What do the emojis on Snapchat mean?
Kristen Stewart opens star-studded Chanel show with Julianne Moore, Rita Ora and Lily Collins on the runway
More Britons believe that multiculturalism makes the country worse - not better, says poll
Osborne to cap family benefits at £23,000 – announced ahead of his post-election Budget
Nathan Collier: Montana man inspired by same-sex marriage ruling requests right to wed two wives
Sickness and disability benefits could be reduced by £30 a week as part of £12bn welfare cuts
Greece debt crisis: Angela Merkel and Francois Hollande issue Athens with 24-hour ultimatum to avoid crashing out of the euro
Greece crisis: Referendum exposes a gaping hole at the heart of the European Union – its lack of genuine legitimacy
- 1 Florida man sentenced to two-and-a-half years for having sex on the beach in front of a child
- 2 Autistic teenager beaten up by bullies makes them watch 20-minute video about autism
- 3 Nick Kyrgios calls former Olympian Dawn Fraser a 'blatant racist' after she tells Wimbledon star to 'go back where their parents came from'
- 4 World learns of app that shows you who unfriended you on Facebook, app promptly crashes
- 5 Chris Moyles reportedly set to make radio comeback with new breakfast show on XFM
£23000 - £27000 per annum: Recruitment Genius: A Business Analyst is required ...
£16000 - £23000 per annum: Recruitment Genius: To succeed, you will need to ha...
£8 per hour: Recruitment Genius: This is an opportunity to join an award winni...
£7 - £9 per hour: Recruitment Genius: Are you outgoing? Do you want to work in...