Keep your data safe with encryption
BY HAYDEN WALLES
Related Links
Relevant offers
Cryptography, for most people, conjures up images of codes, secrets, spies and clandestine activity. But today cryptography is an important part of protecting all of us in cyberspace, even ballerinas.
Everyone knows a little about cryptography. Perhaps you have played with simple cyphers, like replacing As with Bs, Bs with Cs and so on, to transform something like TOP SECRET into the suitably incomprehensible UPQ TFDSFU.
As recently as the American Civil War these simple kinds of codes were useful. But with two world wars and especially the rise of computers, cryptography underwent a revolution. Today's cyphers rest on incredibly difficult mathematical problems. Arcane maths that once would have languished on a dusty shelf somewhere is now used to protect your bank account.
There are a variety of modern encryption techniques, or algorithms. Most are well known (by techies at least) because their security rests not on the secrecy of the algorithms but on the secrecy of keys, special numerical sequences that control the algorithms.
Plug one key into the algorithm and you get one encrypted result, plug a different key in and a completely different encryption appears.
In the conventional kind of encryption the key must be kept secret. This is secret key encryption. In the 1970s a rather cleverer scheme called public-key encryption was invented. In these systems there are actually two different keys: a private key and a public key.
It doesn't matter who gets hold of the public key. If you're sending a secret message to a friend you use their public key to encrypt it. Once encrypted, only the private key can be used for decryption.
The big downside to secret key systems is that you have to agree beforehand on a key, and that key has to be kept safe in more than one place. With public key systems this isn't a problem; two parties can exchange encrypted messages via an insecure medium without ever meeting, and only one copy of the private key need exist.
Both kinds of encryption are useful. Secret key systems are very quick but require agreement on keys. Public key systems are much slower but don't require agreement. Combining the two gives a neat solution for secure communications: use public-key encryption to initiate communications and agree on a secret key, then switch to a secret-key system for the bulk of the work.
Public-key encryption also allows some other nifty tricks. The private key can be used to "sign" messages so that those with the public key can see that they are authentic. Trusted authorities, or trusted friends can also sign other public keys (then called certificates) so that chains of trust can be established for people and organisations you don't trust directly.
Encryption is all around us. Whenever sensitive information is stored or transmitted, there are people out there waiting to get their hands on it, and encrypting the information is a crucial step in keeping them at bay.
Without encryption, anyone tapping into electronic signals can read whatever is going past, from complaints about the boss to credit card numbers and passwords. Much of cryptography goes on behind the scenes without us even knowing it.
Whenever you pay with eftpos, make a mobile phone call or use a wireless network you are using encryption. Encryption isn't always invisible, however, and it is worthwhile understanding its other uses.
One obvious place is sensitive files stored on your computer. Passwords alone don't keep your data safe. If your computer is stolen, or hacked, your files are there for all to see - unless they are securely encrypted.
Encryption is particularly handy for thumb drives and external hard drives which might hold sensitive information, but are also easy to lose.
The biggest use of encryption for most people, however, is in communications. On the internet there are standards for encryption that employ a combination (to stop imposters), public-key encryption (for key agreement) and secret-key encryption (for the actual work).
A lot of communication software comes with encryption built in. This is especially important for web browsers - otherwise whenever you visited your bank's website anyone could intercept your details as they drifted past on some distant cable.
Encryption is a crucial component of overall computer security, but it is not a magic bullet. Online security is only as good as the weakest link, and there are many other links the dishonest can exploit.
Encryption is useful, but it is no substitute for vigilance.
* Hayden Walles is computer science PhD student at Otago University.
- © Fairfax NZ News
Sponsored links
The Artist dog wins 'spokesdog' role
Website attacks motivated by politics
Kiwi game industry worth more than $179.6m
Microsoft acknowledges Xbox Live hijacks
New Facebook photo viewer mimics Google+
Popular app's CEO apologises over privacy bungle
Managing a massive music library
Review: Final Fantasy XIII-2 for PS3
Facebook will release more user data
Review: Sony Ericsson Xperia arc S
3D printing: saviour or piracy tool?
CTV building collapse: Flaw went unchecked
Expert scathing over coalmine's safety
Megaupload co-accused speaks out
Radio station's divorce promo 'cowardly'
ACC beneficiary admits he cheated
Brownlee turns up heat on council over rebuild
Sir Murray honoured with his own Halberg
SBW's fight degrading to boxing says Jones
Waka capsizes in Wellington Harbour
Milk price inquiry to continue
Website attacks motivated by politics
Another ocean giant meets a tragic end
Kiwi game industry worth more than $179.6m
All Blacks stars of the show at Halberg Awards
Child killed at Motueka school
Small 3.9 earthquake wobbles Wellington
Waka capsizes in Wellington Harbour
Radio station's divorce promo 'cowardly'
Another ocean giant meets a tragic end
Son smashes dad's loaned classic car into sea
Tillman to hang up gloves, focus on acting
All Blacks stars of the show at Halberg Awards
Beer fest to donate to charity
Wino's is all a matter of good taste
Supermarket, meat, salmon & children
Sir Bob Jones: SBW-Tillman fight a joke


