A large backup file is encrypted with the same secret information shared in advance by the sender and receiver.
Which statement correctly describes this method?
Symmetric encryption uses the same key for encryption and decryption, so securely sharing the key is important.
Detailed explanation
Incorrect. A secret key must not be made public; anyone with it could decrypt the data.
Incorrect. A secret key must not be made public; anyone with it could decrypt the data.
Correct. The same key is used for encryption and decryption, making secure key exchange a challenge.
Correct. The same key is used for encryption and decryption, making secure key exchange a challenge.
Incorrect. A public/private key pair belongs to asymmetric encryption.
Incorrect. A public/private key pair belongs to asymmetric encryption.
Incorrect. The statement describes neither the key use nor the security model of symmetric encryption.
Incorrect. The statement describes neither the key use nor the security model of symmetric encryption.
Try it yourself
An example you can run in a temporary verification environment.
printf '%s\n' 'same secret key encrypts and decrypts'Expected result
same secret key encrypts and decryptsKey points
- Same key
- Key sharing
- Large data
Notes
- Environment: 暗号方式の概念確認
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.