#20unit 1technology solutions

Public key encryption

Asymmetric encryption with key pairs.

5-mark Exam Answer

5-mark answer

Public key encryption, also known as asymmetric cryptography, was invented in 1976 by Whitfield Diffie and Martin Hellman. It solves the key-exchange problem of symmetric encryption by using two mathematically related keys: a public key and a private key.

  • 1.Invented by Diffie and Hellman in 1976
  • 2.Two mathematically related keys: public and private
  • 3.Either key encrypts; the other decrypts
  • 4.Based on one-way irreversible functions
  • 5.Solves the key-exchange problem

In 1976, a new way of encrypting messages called public key cryptography was invented by Whitfield Diffie and Martin Hellman. Public key cryptography (also referred to as asymmetric cryptography) solves the problem of exchanging keys. In this method, two mathematically related digital keys are used: a public key and a private key. The private key is kept secret by the owner, and the public key is widely disseminated.

Both keys can be used to encrypt and decrypt a message. However, once the keys are used to encrypt a message, that same key cannot be used to unencrypt the message. The mathematical algorithms used to produce the keys are one-way functions.

A one-way irreversible mathematical function is one in which, once the algorithm is applied, the input cannot be subsequently derived from the output. Most food recipes are like this: it is easy to make scrambled eggs, but impossible to retrieve whole eggs from the scrambled eggs. Public key cryptography is based on the idea of irreversible mathematical functions.

In the simplest use of public key cryptography, the sender encrypts a message using the recipient's public key, then sends it over the Internet. The only person who can decrypt this message is the recipient, using his or her private key. The keys are sufficiently long (128, 256, and 512 bits) that it would take enormous computing power to derive one key from the other.

Alice encrypts a message using Bob's widely available public key. Only Bob, with his matching private key, can decrypt the message — even if the cipher text is intercepted, no one else can read it.

Public key encryption solves the key-exchange problem of symmetric encryption by using a pair of mathematically related keys, enabling secure communication without prior key sharing.

public keyprivate keyasymmetric cryptographyDiffie and Hellmanone-way functionkey exchange

The exam interface follows the university paper pattern: Section A & B carry 5-mark questions; Section C carries objective questions.