Key generation

   

Key Generation is the process of generating keys for cryptography. A key is used to encrypt and decrypt whatever data is being encrypted/decrypted. Generally with modern advanced cryptographic systems there are two keys. An encryption key and a decryption key. The encryption key can also be a public key and the decryption key can be the private key. This means that you can give someone else the public key and they can give you encrypted data that only you can decrypt with your private key. Most of the time these transactions go on behind the scenes when you log on to secure servers: loging on to your bank or using SSH for example. So one might imagine if these keys are simple or predictable then the process is pointless so key generation needs to be difficult to predict. The better keys are usually randomly generated using a Random Number Generator (RNG) or Pseudo Random Number Generator (PRNG), the latter being a computer algorithm that produces data which appears random under analysis. Of the PRNGs those which use system entropy to seed data generally produce better results. The other factor is Key length, the more data in the key the harder it is to analyse the data and discover the key. It is generally accepted that 128-bit key length is sufficiently difficult to crack that it is safe for normal internet use. However with greater key lengths such as 256-bit it is at least for the present considered near impossible to crack unless you are incredibly lucky and guess it.

Retrieved from "http://www.mywiseowl.com/articles/Key_generation"

This page has been accessed 70 times. This page was last modified 16:37, 12 Oct 2004. All text is available under the terms of the GNU Free Documentation License (see Copyrights for details).