Length is the secret for code security

At the heart of modern data encryption systems are sophisticated cryptographic keys. Based on complex mathematical algorithms, the keys enable information to be encoded by senders before transmission. Only a person in possession of the correct key can then decode the message and read its contents.

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.

Voices
voices
Arts and Entertainment
Peter Griffin holds forth in The Simpsons Family Guy crossover episode
arts + ents
News
Ross Burden pictured in 2002
people
News
scienceHad asteroid hit earlier or later in history, the creatures might have survived, say scientists
PROMOTED VIDEO
Have you tried new the Independent Digital Edition apps?
Life and Style
ebookA wonderful selection of salads, starters and mains featuring venison, grouse and other game
Life and Style
Upright, everything’s all right (to a point): remaining on one’s feet has its health benefits – though in moderation
HealthIf sitting is bad for your health, what happens when you stay on your feet for a whole month?
News
President Obama, one of the more enthusiastic users of the fist bump
scienceBumping fists rather than shaking hands could reduce the spread of infectious diseases, it is claimed
Sport
Laura Trott with her gold
Commonwealth GamesJust 48 hours earlier cyclist was under the care of a doctor
Arts and Entertainment
Gal Gadot as Wonder Woman
arts + entsFilmmaker posted a picture of Israeli actress Gal Gadot on Twitter
News
Bryan had a bracelet given to him by his late father stolen during the raid
people
Arts and Entertainment
Chris Pratt stars in Guardians of the Galaxy
arts + ents
Arts and Entertainment
Pedro Pascal gives a weird look at the camera in the blooper reel
arts + entsPrince Oberyn nearly sets himself on fire with a flaming torch
News
Danny Nickerson, 6, has received 15,000 cards and presents from well-wishers around the world
newsDanny loves to see his name on paper, so his mother put out a request for cards - it went viral
Sport
France striker Loic Remy
sportThe QPR striker flew to Boston earlier in the week to complete deal
News
Orville and Keith Harris. He covered up his condition by getting people to read out scripts to him
People
Arts and Entertainment
Zoe Saldana stars in this summer's big hope Guardians of the Galaxy
filmHollywood's summer blockbusters are no longer money-spinners
Arts and Entertainment
O'Shaughnessy pictured at the Unicorn Theatre in London
tvFiona O'Shaughnessy explains where she ends and her strange and wonderful character begins
Life and Style
Workers in Seattle are paid 100 times as much as workers in Bangladesh
fashionSeattle company lets customers create their own clothes, then click 'buy' and wait for delivery
Independent
Travel Shop
the manor
Up to 70% off luxury travel
on city breaks Find out more
santorini
Up to 70% off luxury travel
on chic beach resorts Find out more
sardina foodie
Up to 70% off luxury travel
on country retreats Find out more
Latest stories from i100
Have you tried new the Independent Digital Edition apps?
Independent Dating
and  

By clicking 'Search' you
are agreeing to our
Terms of Use.

ES Rentals

    iJobs Job Widget
    iJobs General

    PHP / MySQL Developer (PHP, MySQL, AJAX, JQuery, MVC, HTML, XML

    £30000 - £50000 per annum: Harrington Starr: PHP / MySQL Developer (PHP, MySQL...

    C# Back-End Developer (C#, .NET, ASP.NET, SQL, MVC-4, TDD, BDD)

    £30000 - £45000 per annum: Harrington Starr: C# Back-End Developer (C#, .NET, ...

    Web Developer (C#, HTML5, CSS3, JavaScript, JQuery, XML) London

    £30000 - £40000 per annum: Harrington Starr: Web Developer (C#, HTML5, CSS3, J...

    C# Software Developer (C#, front-end, Java, JavaScript, VB)

    £30000 - £50000 per annum: Harrington Starr: C# Software Developer (C#, front-...

    Day In a Page

    A new Russian revolution: Cracks start to appear in Putin’s Kremlin power bloc

    A new Russian revolution

    Cracks start to appear in Putin’s Kremlin power bloc
    Eugene de Kock: Apartheid’s sadistic killer that his country cannot forgive

    Apartheid’s sadistic killer that his country cannot forgive

    The debate rages in South Africa over whether Eugene de Kock should ever be released from jail
    Standing my ground: If sitting is bad for your health, what happens when you stay on your feet for a whole month?

    Standing my ground

    If sitting is bad for your health, what happens when you stay on your feet for a whole month?
    Commonwealth Games 2014: Dai Greene prays for chance to rebuild after injury agony

    Greene prays for chance to rebuild after injury agony

    Welsh hurdler was World, European and Commonwealth champion, but then the injuries crept in
    Israel-Gaza conflict: Secret report helps Israelis to hide facts

    Patrick Cockburn: Secret report helps Israel to hide facts

    The slickness of Israel's spokesmen is rooted in directions set down by pollster Frank Luntz
    The man who dared to go on holiday

    The man who dared to go on holiday

    New York's mayor has taken a vacation - in a nation that has still to enforce paid leave, it caused quite a stir, reports Rupert Cornwell
    Best comedians: How the professionals go about their funny business, from Sarah Millican to Marcus Brigstocke

    Best comedians: How the professionals go about their funny business

    For all those wanting to know how stand-ups keep standing, here are some of the best moments
    The Guest List 2014: Forget the Man Booker longlist, Literary Editor Katy Guest offers her alternative picks

    The Guest List 2014

    Forget the Man Booker longlist, Literary Editor Katy Guest offers her alternative picks
    Jokes on Hollywood: 'With comedy film audiences shrinking, it’s time to move on'

    Jokes on Hollywood

    With comedy film audiences shrinking, it’s time to move on
    It's the best of British art... but not all is on display

    It's the best of British art... but not all is on display

    Voted for by the British public, the artworks on Art Everywhere posters may be the only place where they can be seen
    Critic claims 'I was the inspiration for Blanche DuBois'

    Critic claims 'I was the inspiration for Blanche DuBois'

    Blanche Marvin reveals how Tennessee Williams used her name and an off-the-cuff remark to create an iconic character
    Sometimes it's hard to be a literary novelist

    Sometimes it's hard to be a literary novelist

    Websites offering your ebooks for nothing is only the latest disrespect the modern writer is subjected to, says DJ Taylor
    Edinburgh Fringe 2014: The comedy highlights, from Bridget Christie to Jack Dee

    Edinburgh Fringe 2014

    The comedy highlights, from Bridget Christie to Jack Dee
    Dame Jenny Abramsky: 'We have to rethink. If not, museums and parks will close'

    Dame Jenny Abramsky: 'We have to rethink. If not, museums and parks will close'

    The woman stepping down as chair of the Heritage Lottery Fund is worried