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
Correct answer
Explanation
The correct answer is B, one key. 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. That is also its practical problem, because the key must be delivered to the other party over some safe channel before any message can be exchanged. Option A, two keys, describes asymmetric or public key encryption, where a public key and a private key form a linked pair. Option C, no key, describes a hash function such as MD5 or SHA-256, which produces a fixed-length digest without any key and cannot be reversed; hashing is therefore not encryption at all. Option D, three keys, is a distractor built on the name Triple DES, which in fact applies the DES algorithm three times and is still symmetric.
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 →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 →Which of the following is a hash function and not an encryption algorithm?
- A.AES
- B.DES
- C.MD5
- D.Blowfish
Show answer
The Message Digest 5 algorithm takes an input of any length and returns a 128-bit digest.
Read the full explanation →