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.
Geoffrey Macnab reviews American Hustle, also starring Christian Bale and Bradley Cooper
It takes a platoon of chefs, litres of brandy and rum, and almost 100kg of dried fruit
Life & Style blogs
Exclusive: Young people ‘want UK to stay in Europe’: Four in 10 adults aged 18 to 24 are ‘firmly in favour’ of membership, poll shows
Tom Daley ‘is gay because his father died’ says UK evangelist
You can STILL be jailed for being a republican, government confirms, and it remains illegal to even 'imagine' overthrowing the Queen
Kiss and yell: Italian protester charged with sexual assault after kissing riot police officer
Iain Duncan Smith leaves Commons food banks debate early
Fighting back: the woman giving a voice (and 49,999 others) to the victims of sexism - by giving an airing to their horror stories
- 1 America's 'virgin births'? One in 200 mothers 'became pregnant without having sex'
- 2 Sun will 'flip upside down' within weeks, says Nasa
- 3 Christmas comes early: Justin Bieber is 'retiring from music'
- 4 Iain Duncan Smith leaves Commons food banks debate early
- 5 Children evacuated from swimming pool after prosthetic leg mistaken for paedophile
£500 - £650 per day: Harrington Starr: Excellent opportunity for Murex Subject...
£6.31 per day: Inspiring Interns: One of the biggest names in sport is offerin...
£500 - £650 per day: Harrington Starr: Harrington Starr is working with a Glob...
£27000 per annum: Harrington Starr: Junior Consultant (Excel, Financial Spread...