Skip to content
Pixel
العربية

Textbook answers: 2-1 Cryptographic Technologies and Authentication

Suggested answers by the site team, the book has no answer key.

Try 1

1In HTTPS communication, what cryptographic method is used so that the browser and server can safely share a common key?

Show answer

The digital certificate helps the browser verify the server's identity and that the certificate belongs to the domain it is connecting to; public-key mechanisms are used for authentication and for securely agreeing the secrets from which the session keys are derived.

All of this happens inside the TLS handshake before any data is exchanged, so the browser knows who it is talking to and both sides hold session keys without sending them over the network.

Note: Arabic edition: The English version asks about public-key encryption's role in "sharing" the common key; this answer follows the Arabic wording (authentication and agreement on session keys).

2In HTTPS communication, what cryptographic method is used for data communication after the common key has been shared?

Show answer

Symmetric (common-key) encryption.

Once the session keys exist, data is protected with symmetric encryption plus integrity mechanisms, because it is fast and efficient for large amounts of data.

3Briefly explain the reason for combining the cryptographic methods in (1) and (2), based on the characteristics of each method.

Show answer

When the connection starts, the TLS handshake runs: the server sends its digital certificate and the browser checks its validity, chain of trust and match with the site name; then both sides use public-key mechanisms to agree on shared secrets from which each derives the session keys. After that, session data is protected with symmetric encryption using those keys.

Public-key methods solve trust and key agreement, and symmetric encryption protects the data quickly. Note that the session key itself is never sent.

Note: Arabic edition: The English version describes the browser sending a common key encrypted with the server's public key; the Arabic edition describes both sides deriving the session keys, and this answer follows it.

Try 2

(1)For each service (a–d), indicate which combination of authentication factors is used.
a Password + one-time password
b Password + fingerprint authentication
c Password + SMS authentication
d Face recognition + smart card

  • A - Knowledge + possession
  • B - Knowledge + biometric
  • C - Biometric + possession
Show answer

a → A (knowledge + possession), b → B (knowledge + biometrics), c → A (knowledge + possession), d → C (biometrics + possession).

A password is knowledge; a one-time password and an SMS code prove possession of the phone; fingerprint and face are biometrics; an IC card is something you carry, so it is possession.

(2)From the following options (A–D), choose the one that is NOT an appropriate description of combinations of security technologies.

  • A - Encryption is a technology that prevents communication content from being read by third parties.
  • B - Digital signatures are a technology that improves communication speed.
  • C - Digital certificates are a system for verifying that the communication partner is authentic.
  • D - By combining multiple security technologies, various threats can be addressed.
Show answer

B: "Digital signatures are a technology that improves communication speed."

A digital signature supports checking data integrity, signer identity and non-repudiation; it has nothing to do with speed. The other statements are correct.

Exercise 1

1Cover the Point! section with a red plastic sheet and quiz yourself in your notebook in numerical order.

Show answer

Cover the "Point!" (ملحوظة مهمة) section and write from memory: the role of symmetric and public-key encryption, the three HTTPS stages, the definition of 2FA with an example, and the roles of signatures and certificates. Then compare with the book and correct yourself.

Recalling before checking shows you what you have not yet understood. Focus on what you got wrong and try again a day later.

Note: Arabic edition: The English version says to cover the Point! section with a red plastic sheet; the idea is the same.

Exercise 2

1Read the following passage and answer each question.
HTTPS communication, used to access websites safely, combines multiple cryptographic technologies. First, the web server sends a ( a ) and a public key to the browser. The browser verifies whether the server is authentic through ( b ). Next, the browser creates a ( c ) for communication and encrypts it with the server's public key before sending. After this, all data communication is encrypted using this ( c ).
1. Fill in the blanks (a)–(c).

Show answer

(1) The server sends its digital certificate and the browser checks that it is valid and matches the site name. (2) In the same handshake, both sides agree on the protection settings and the session keys are derived. (3) Once the handshake is complete, session data is protected with symmetric encryption and integrity mechanisms.

The order comes from the passage: identity check first, then key agreement, then protecting the data.

Note: Arabic edition: In the English edition this is a different task: filling blanks (a)–(c) in a passage about sending a common key encrypted. This answer is for the Arabic question.

2Briefly explain the reason for using common-key cryptography rather than public-key cryptography for data communication.

Show answer

Because symmetric encryption is fast and efficient, so it suits protecting the large amounts of data exchanged throughout the session; public-key mechanisms are slower, so they are used only in the handshake.

Protecting all data with public-key methods would make the connection slow. After the handshake both sides already hold the same key securely, so symmetric encryption can be used.

Note: Arabic edition: This question does not appear in this form in the English edition.

Exercise 3

(1)For each threat (a–d), indicate which technology is primarily used to address it.
a A password is leaked and unauthorized login occurs.
b Data is altered during communication.
c A user is led to a fake website.
d Communication content is intercepted by a third party.

  • A - Encryption
  • B - Digital signature
  • C - Digital certificate
  • D - Multi-factor authentication
Show answer

a → D (2FA), b → B (digital signature), c → C (digital certificate), d → A (encryption).

A leaked password is countered by an independent second factor, modification is detected by a digital signature, a fake site is exposed with the help of the certificate and domain name, and interception is made unreadable by encryption. TLS also protects integrity in transit, but the question asks for the main technology from the list, as in the worked example.

This question allows more than one reading

(2)From the following options (A–D), choose the one that is NOT an appropriate example of multi-factor authentication.

  • A - Password + smartphone notification
  • B - Password + secret question
  • C - Fingerprint authentication + smart card
  • D - Password + SMS authentication
Show answer

B: password + secret question.

Both are knowledge, so they are not two different factors. Options A and D are knowledge + possession, and C is biometrics + possession.

Exam-style question

Explain why HTTPS uses public-key cryptography to share the key but common-key cryptography to exchange the data. Refer to: security and speed. [6]

Model answer

• At the start, the browser does not know the server and the two sides share no key, so public-key mechanisms are used with the digital certificate for authentication: checking the server's identity, the certificate's validity and chain of trust, and that it matches the domain name. [1]
• Public-key mechanisms are also used to agree securely on shared secrets from which each side derives the session keys, without the key itself being sent over the network, so an eavesdropper cannot obtain it. [1]
• This is the security side: trust in the other party's identity and secret keys known only to the two sides. [1]
• But public-key operations are slower, so using them to protect all the data would make the connection slow. [1]
• So after the handshake, session data is protected with symmetric encryption using the session keys, because it is fast and efficient for large amounts of data, together with integrity mechanisms. [1]
• Result: each method is used for what it does best, giving a connection that is both secure and efficient. [1]

Back to the lessonStart exercises