Cryptographic key

A cryptographic key is a relatively small amount of information that is used by a cryptographic algorithm to 'customize' the transformation of plaintext into cyphertext (during encryption) or vica versa (during decryption). The same algorithm and plaintext, but with a different key will produce a quite different cyphertext, and so for decryption as well. If the decryption key is lost, encrypted data will not in practice be convertible back to its original form -- at least for high quality encryption algorithms and large enough key sizes. Thus, the security of a cryptographic key in most cases relies on its being kept secret: hence the alternative name secret key.

Most cryptographic algorithms use a single key for both encryption and decryption: they are known as symmetric key algorithms. An attacker who obtains the key (by theft, extortion, dumpster diving, or inspection of a Post-It note stuck to the side of a terminal) can recover the original message from the encrypted data, since as a matter of principle the details of the cryptographic algorithm used is assumed to be already available to the attacker. This design assumption is usually known to cryptanalysts as Kerckhoffs' law -- '...only secrecy of the key provides security...', or in more colloquial form, Shannon's Maxim -- '...the enemy knows the system...'. In either form, it is fully justified by long and painful practical experience over some thousands of years and no recent development has changed this reality; indeed there is widely thought to be no prospect of change. That secrecy of a crypto system (the algorithms or the protocols) is important (or even vital) is widely, and wrongly, believed. As a general principle one would not want one's crypto system to be fully known to the opposition, but it should remain secure even if the opposition learns all about it. The chances are excellent that they will anyway.

A new class of cryptographic encryption algorithms was discovered in the 1970s which use a pair of keys, one to encrypt and one to decrypt. Some of these asymmetric key algorithms have the property that it is not possible to determine one key from the other (so far as is currently known). Such an algorithm allows one key to be made public while retaining the private key in only one location.

Table of contents
1 Key Sizes
2 Key Choice

Key Sizes

Typical key sizes for estimated 'equivalent security' against a particular kind of attack (ie, brute force key space search) are 128 bits for symmetric ciphers and 2048 bits or more for public key cryptography. Elliptic curve cryptography may allow much smaller size keys for equivalent security, but these algorithms have only been known for a relatively short time and current estimates of the difficulty of brute force searching for their keys may not survive. Recently, a message encrypted using a 109-bit key elliptic curve algorithm was broken by brute force. As a result it would appear that elliptic curve algorithm keys must be somewhat the same length as symmetric key algorithm keys for equivalent security. As always, for all but the one-time pad, a theoretical breakthrough may make everything you've encrypted an open book regardless of the algorithm or algorithm type you've chosen, and a too-short key will certainly do so.

If the key is too small, the algorithm will be vulnerable to a brute force attack in which all possible values of the key are tried one by one. 'Birthday' attacks are also possible; the probability of a 'collision' between a large group of values goes up roughly as the square of the number of possible values and this applies in cryptography as well. In addition, many algorithms permit reduced effort attacks as compared to brute force key search. If the effort is sufficiently reduced, the algorithm will be 'insecure' against that attack and should not be used. It may be expected that algorithms for which no improved attack is now known, and for which a brute force attack is impractical, will be found to be insecure when some new cryptoanalytic technique is developed. When one is.

The problem of choosing a cryptographic algorithm reduces itself, in actual practice, to an estimate of how likely such an advance will be over the relevant time. Personal secrets need to be kept confidential for different durations than tactical deployment information in a battle, and still differently than some commercially valuable information (eg, the formula for Coke). There are no good answers known to this problem. Intelligent, cryptographically informed, choosers limit their choice to publicly known and publicly unbroken, but well studied, algorithms. Only algorithms from this group can be credibly thought secure. All others are either not sufficiently well tested, or are from secret organizations with adequate testing resources, but also with ulterior motives.

Key Choice

At the least sensible, choosing a key by increasing the value of the last used key by one is clearly foolish. Any attacker noticing the key choice pattern will be ecstatic. In fact, experience has shown that pattern in key choice are a very very significant source of breaks into otherwise well designed crypto systems. The Japanese Purple cypher machine of WWII is an example, for after the initial breakthrough by US cryptanalysts, the poor choice of keys made continuing breaks into the Purple traffic very much easier.

In general, keys _must_ be chosen randomly (or alternatively, they must be random values) while meeting other requirements of the algorithm in use. This is a fundamentally difficult, quite subtle, problem and has been 'solved' in one or another crypto system in various ways. There is an Internet RFC on generating randomness (RFC 1750, Randomness Recommendations for Security), but it is long on prescription and short on explanation. In general randomness is always a problem in cryptography, and key choice is merely another example. Failure to handle this properly is an easy way to render any cryptosystem insecure. 

Applications

Pretty Good Privacy (PGP) is a popular program that intelligently uses both symmetric and asymmetric algorithms as part of an excellent crypto system design. PGP uses the timing between keystrokes to generate 'randomness'; thus far this has not been found unsatisfactory. A public Standard has been recently adopted for a PGP compatible crypto system. OpenPGP is the standard and GPG is an implementation of it available from the Free Software Foundation. There is a Web site for the FSF which has pointers to the official Web pages for both PGP and OpenPGP.

External links



In the News

Researchers Find New Learning Strategy
Central to being human is the ability to adapt: we learn from our mistakes. Previous theories of learning have assumed that the size of learning naturally scales with the size of the mistake. But now biomedical engineers at Washington University in St. Louis have shown that people can use alternative strategies: Learning does not necessarily scale proportionally with error.

Here's Johnny: The Official Tonight Show Website
Official information about Johnny Carson's 1962-1992 tenure as the host of the late night television program the Tonight Show. The site features a brief history of the show; biographies of Carson, Ed McMahon, and other show personnel; information about guest hosts; a searchable database of guests and show topics; video clips; and more.

Movie Spies On Malaria Parasite's Sneaky Behavior
Malaria has been outsmarting the human immune system for centuries. Now, using real-time imaging to track malaria infections in live mice, researchers have discovered one of the parasite's sneakiest tricks: using dead liver cells to cloak and transport itself into the bloodstream after leaving the liver.

Google Gives Picasa an iPhone Makeover
A week after streamlining its core menu for iPhone users, Google announces it has also revamped its popular photo-sharing service, Picasa, to make it more usable on iPhones.

Researchers Disprove 'Fat Redistribution Syndrome' Among Men Taking HI
There is no syndrome that causes increased belly fat and decreased facial and limb fat among HIV-positive men who take antiretroviral drugs, according to a study by researchers at the San Francisco VA Medical Center and the University of California, San Francisco.

'Origami Lens' Could Slim Cameras
A new folding telephoto lens uses multiple mirrors to enhance image quality. Could be just what your phone's camera ordered. In Gadget Lab.

Maine Memory Network
This site "is a statewide database of electronic versions of Maine's Historical Documents, contributed by cultural institutions from around the state, from their own locations. It is an evolving project."The site features online exhibits on selected topics such as Maine women authors (Harriet Beecher Stowe, Edna St. Vincent Millay, and others), the Maine woods, and Memorial Day. All images are searchable, or browsable by subject or contributing institution. From the Maine Historical Society.

Early Trial Indicates Prostate Cancer Vaccine Increases Immunity And R
A prostate cancer vaccine that trains a patient's own dendritic cells to attack a protein antigen expressed by tumors can robustly boost a patient's immune system and clinically reduce the level of tumor cells in the body, according to the results of an exploratory phase I/II clinical trial conducted at Duke University Medical Center.

Study Questions The 'Biodiversity Hotspot' Approach To Wildlife Conser
In recent years, major international conservation groups have focused their limited resources on protecting a small number of 'biodiversity hotspots'-threatened habitats that are home to many of the world's rarest plants and animals.But a handful of protected areas will not be sufficient to save the countless species of plants and animals facing extinction worldwide, according to a new study by scientists from Stanford University and the National Autonomous University of Mexico.

Potential For Malaria Transmission Higher Than Previously Thought
A new mathematical approach applied to 121 human populations infected with malaria revises the basic reproductive number -- an indication of the transmission intensity -- up by an order of magnitude, with serious implications for effective malaria control.


MP3 Music Downloads

Preview songs, Download Free Music,Burn CDs at ITunes.com
iTunes_RGB_9mm

 


Google




InformationQuickFind.com - Find Information Fast

Links