Multiple choice › Securing the web
Securing the web
1. Securing the web
What is the main purpose of an SSL/TLS certificate?
- To store the user's cookies
- To prove the identity of the website and enable an encrypted connection
- To validate the HTML
- To make the website load faster
Answer
B
Certificates issued by a trusted certificate authority bind a public key to a domain, so browsers can authenticate the server and set up encryption.
2. Securing the web
A digital signature on a document provides:
- Anonymity for the sender
- Compression of the document
- Faster delivery
- Authenticity of the sender and integrity of the document
Answer
D
The sender signs a hash of the document with their private key; others verify with the public key. If the document changed, verification fails.
3. Securing the web
Which property of a hash function is demonstrated if changing one letter in a document produces a completely different hash value?
- The hash can be reversed to recover the document
- Hashes can only be created for text
- The hash value grows with the document size
- Any change to the input changes the output, so tampering can be detected
Answer
D
Hashes have a fixed-length output and small input changes give very different outputs, which is why they check integrity.
4. Securing the web
Which row correctly matches the term with its meaning?
- Encryption key: the data that is being protected
- Cipher text: data before encryption
- Cipher text: encrypted, unreadable data
- Plain text: data that has been encrypted
Answer
C
Plain text is readable data; cipher text is the result of encryption; a key is the secret value used by the algorithm.