encyclopegia.org

Key generation

Key generation is the process of generating keys in cryptography.[src] A key is used to encrypt and decrypt whatever data is being encrypted/decrypted.[src] A device or program used to generate keys is called a key generator or keygen.[src]

Key generation is the process of generating keys in cryptography.[src] A key is used to encrypt and decrypt whatever data is being encrypted/decrypted.[src] A device or program used to generate keys is called a key generator or keygen.[src] ==Generation in cryptography== Modern cryptographic systems include symmetric-key algorithms (such as DES and AES) and public-key algorithms (such as RSA).[src] Symmetric-key algorithms use a single shared key; keeping data secret requires keeping this key secret.[src] Public-key algorithms use a public key and a private key.[src] The public key is made available to anyone (often by means of a digital certificate).[src] A sender encrypts data with the receiver's public key; only the holder of the private key can decrypt this data.[src] Since public-key algorithms tend to be much slower than symmetric-key algorithms, modern systems such as TLS and SSH use a combination of the two: one party receives the other's public key, and encrypts a small piece of data (either a symmetric key or some data used to generate it).[src] The remainder of the conversation uses a (typically faster) symmetric-key algorithm for encryption.[src] Computer cryptography uses integers for keys.[src] In some cases, keys are randomly generated using a random number generator (RNG) or pseudorandom number generator (PRNG).[src] A PRNG is a computer algorithm that produces data that appears random under analysis.[src] PRNGs that use system entropy to seed data generally produce better results, since this makes the initial conditions of the PRNG much more difficult for an attacker to guess.[src] Another way to generate randomness is to utilize information outside the system.[src] Veracrypt (a disk encryption software) utilizes user mouse movements to generate unique seeds, in which users are encouraged to move their mouse sporadically.[src] In other situations, the key is derived deterministically using a passphrase and a key derivation function.[src] Many modern protocols are designed to have forward secrecy, which requires generating a fresh new shared key for each session.[src] Classic cryptosystems invariably generate two identical keys at one end of the communication link and somehow transport one of the keys to the other end of the link.[src] However, it simplifies key management to use Diffie–Hellman key exchange instead.[src] The simplest method to read encrypted data without actually decrypting it is a brute-force attack—simply attempting every number, up to the maximum length of the key.[src] Therefore, it is important to use a sufficiently long key length; longer keys take exponentially longer to attack, rendering a brute-force attack impractical.[src] Currently, key lengths of 128 bits (for symmetric key algorithms) and 2048 bits (for public-key algorithms) are common.[src] ==Generation in physical layer== ===Wireless channels=== A wireless channel is characterized by its two end users.[src] By transmitting pilot signals, these two users can estimate the channel between them and use the channel information to generate a key which is secret only to them.[src] The common secret key for a group of users can be generated based on the channel of each pair of users.[src] ===Optical fiber=== A key can also be generated by exploiting the phase fluctuation in a fiber link.[src] ==See also== Distributed key generation: For some protocols, no party should be in the sole possession of the secret key.[src] Rather, during distributed key generation, every party obtains a share of the key.[src] A threshold of the participating parties need to cooperate to achieve a cryptographic task, such as decrypting a message.[src] ==References==[src]

34 sentences · 34 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Key generation." encyclopegia.org, 2025, https://encyclopegia.org/wiki/key-generation. Accessed 25 November 2026.

Chicago

"Key generation." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/key-generation.

APA

encyclopegia.org. (2025). Key generation. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/key-generation

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Retrieval-Augmented Generation

article · references available

Glass Key award

stub · references available

Key Falls

stub · references available

seventh generation of video game consoles

stub · references available

iPad (3rd generation)

stub · references available

random number generation

stub · references available

third-generation jet fighter

stub · references available

control key

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1291110046 · 0.5 · snapshot enwiki-001291110046

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.