In public key cryptography, to send a confidential message the sender encrypts it with:
- A.the sender's own private key
- B.the sender's own public key
- C.the receiver's public key
- D.the receiver's private key
Correct answer
Explanation
The correct answer is C, the receiver's public key. In a key pair, whatever one key locks only the other can unlock. So a message encrypted with the receiver's public key can be opened only by the receiver's private key, which nobody else holds; that is exactly what confidentiality requires. Option A, the sender's private key, is what is used to create a digital signature, which proves who sent the document but hides nothing, since the matching public key is available to all. Option B, the sender's own public key, would produce a message only the sender could read, which defeats the purpose. Option D is impossible in practice, because a private key never leaves its owner and the sender can never have it. The rule to carry into the exam is simple: encrypt with the receiver's public key for secrecy, sign with your own private key for proof.
Read the full article: Encryption, Digital Signatures and SSL/HTTPS for Exams
Practice Questions
View allSymmetric encryption is also known as:
- A.public-key encryption
- B.asymmetric encryption
- C.conventional encryption
- D.hybrid encryption
Show answer
Symmetric encryption uses one shared secret key for both locking and unlocking data, and because it is the older and simpler of the two families it is variously called conventional, secret key or private key encryption.
Read the full explanation →In symmetric encryption, how many keys are used to encrypt and decrypt data?
- A.Two keys
- B.One key
- C.No key
- D.Three keys
Show answer
The defining feature of symmetric encryption is that a single shared secret key performs both operations: the sender encrypts the plaintext with it and the receiver decrypts the ciphertext with the very same key.
Read the full explanation →What is the full form of SSL, the protocol whose successor secures websites today?
- A.Secure Socket Line
- B.Secure Sockets Layer
- C.System Security Layer
- D.Secure Server Link
Show answer
SSL was developed by Netscape in the mid-1990s to encrypt the traffic between a web browser and a web server, and its successor, Transport Layer Security or TLS, standardised from 1999, is what actually protects websites now; the older name survives in common speech and in the phrase SSL certificate.
Read the full explanation →HTTPS, the secure form of web browsing, uses which default port number?
- A.21
- B.25
- C.80
- D.443
Show answer
HTTPS is HTTP carried inside an SSL or TLS tunnel, and the port reserved for it is 443, which is why a padlock appears in the address bar when a site is reached on that port with a valid certificate.
Read the full explanation →The RSA algorithm, published in 1977, is an example of which kind of cryptography?
- A.Symmetric key cryptography
- B.Public key cryptography
- C.Hashing
- D.Steganography
Show answer
RSA, named after Rivest, Shamir and Adleman, works with a linked pair of keys and takes its security from the difficulty of factorising the product of two large prime numbers; it is used both to exchange keys and to create digital signatures.
Read the full explanation →