General Security Concepts

Alice must send Bob a contract so that only Bob can read it and Bob can confirm Alice sent it. Which use of keys meets both requirements?

Show the answer

Correct answerB. Sign with Alice's private key; encrypt with Bob's public key

AWhy not this: A public key cannot create a signature, and Bob's private key must never be used by Alice.

BWhy this is right: Bob's public key gives confidentiality, and Alice's private-key signature proves she sent it.

CWhy not this: Alice's private-key encryption is readable by anyone with her public key, so it gives no confidentiality.

DWhy not this: Alice cannot use Bob's private key, and a signature from Bob would not prove Alice sent it.

Encrypting with Bob's public key means only Bob's private key can decrypt, giving confidentiality. Signing with Alice's private key lets Bob verify the origin with Alice's public key. Using a private key to encrypt does not protect confidentiality, since anyone has the matching public key.