ITPEC FE Subject B April 2025 Question 18
From the answer group below, select the most appropriate combination of answers to be inserted into A and B in the description.
Company Z wants to provide secure file transfer service especially for very large files for their customers. Mr. K, the system architect of the company, designed the sequence of uploading, storing, and downloading customer files on the web service. In this system, customers register their email addresses and their public keys during sign up. The associated private keys reside on the customers’ computers and the email address is used as the user id. The requirements for the file transfer service are as follows:
Figure 1 shows the sequence of uploading file by customer P for customer Q.
Figure 1 Sequence on file uploading
In this system, Mr.K uses KDF (Key Derivation Function) to improve the strength of the supplied password and uses A and B algorithms to accomplish above requirements. Note that the format of encryption algorithms used here is algorithm(data, key).
Answer group
Explanation
A: symmetric key encryption, B: asymmetric key encryption — the file is locked with a key derived from the shared password, and that password travels protected by Q's public key.
- •Blank A, StoreFile(A(file, KDF(password))): the same password-derived key must encrypt the file and later decrypt it for the sender or the recipient. One shared key for both directions is symmetric encryption, which is also fast enough for the very large files the service is built for.
- •Blank B, Message(file id, B(password, Q's public key)): the key is Q's public key, and only Q's private key, kept on Q's computer, can reverse it. A public and private key pair is asymmetric encryption.
- •The database holds only the encrypted file, never the password, so a leaked database is hard to decrypt, the last requirement.
Together this is hybrid encryption, the same pattern TLS uses.
Answer (e)
Why not others:
- •(a) and (b) — A as asymmetric: the file key is derived from a password both parties know, not from a key pair, and public-key encryption is far too slow for very large files
- •(c) and (d) — A as a hash: a hash is one-way, so the stored file could never be decrypted for download
- •(b) and (d) — B as symmetric: the password is encrypted with Q's public key, which only works in an asymmetric scheme
- •(f) — B as a hash: Q must recover the actual password to download the file, and a hash cannot be reversed
Key rule: Bulk data goes under a symmetric key, that secret travels under the recipient's public key, and a hash fits only where nothing has to be recovered.
Security Scenarios · AI-written, may contain errors
This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official FE past-paper collection or Report an issue.