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
Who is Teresa Fidalgo? Debunking the fake ghost story that's got Instagram spooked
Geeks who rocked the world: Documentary looks back at origins of the computer-games industry
Deliberately urinating before sex can increase risk of urinary tract infections
Cervical cancer: Charity urges women to post messy lipstick selfies to promote smear tests
Broadmoor financial scandal: The £4m of NHS funds wasted at high-security hospital
Nigel Farage: NHS might have to be replaced by private health insurance
'We would evict Queen from Buckingham Palace and allocate her council house,' say Greens
French court convicts three over homophobic tweets, in case hailed as a 'significant victory' by LGBT rights campaigners
British Muslim school children suffering a backlash of abuse following Paris attacks
George Galloway condemns 'racist, Islamophobic, hypocritical rag' Charlie Hebdo at freedom of speech rally
Islamic history is full of free thinkers - but recent attempts to suppress critical thought are verging on the absurd
- 1 The truth about 'girl things': Three cheers for Heather Watson's honesty
- 2 Man who held up 'hire me' sign at Waterloo station returns a year later with 'I'm hiring' sign
- 3 UK weather: Snow to fall in the coming week with sub-zero temperatures to last until early February
- 5 Men behaving badly: Urinating while standing, 'manspreading' and the gendering of selfishness
Excellent Salary : Austen Lloyd: OXFORD - REGIONAL FIRM - An excellent opportu...
Super Package: Austen Lloyd: BRISTOL - SENIOR CLINICAL NEGLIGENCE - An outstan...
£15000 - £50000 per annum: Recruitment Genius: Fantastic opportunities are ava...
Negotiable: Recruitment Genius: A Compute Engineer is required to join a globa...