What is the difference between encryption and hashing? MCQ with Answer and Explanation

What is the difference between encryption and hashing?
A. Encryption is reversible, hashing is not
B. They are the same
C. Encryption is used for integrity, hashing for confidentiality
D. Hashing is reversible, encryption is not
Answer: Option A
Solution (By JKSSB Mock Tests)
Encryption is a two-way function that can be reversed with a key, while hashing is a one-way function that produces a fixed-size output from input and cannot be reversed to obtain the original data.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Cyber Security Questions

Question #1
Which of the following is a common security threat to mobile devices?
A. Malicious apps
B. Unsecured Wi-Fi
C. Physical theft
D. All of the above

Correct Answer: Option D


Explanation:
Mobile devices face multiple security threats, including malicious apps, physical theft, and unsecured Wi-Fi networks that can be exploited by attackers.

This question belongs to: Computer Cyber Security
Question #2
Which defensive infrastructure component actively monitors network traffic logs, dynamically blocking malicious source IP addresses to protect network availability?
A. Data Sanitization Tool
B. Proxy Server Gateway
C. File Encryption Engine
D. Intrusion Prevention System (IPS)

Correct Answer: Option D


Explanation:
An IPS actively analyzes data packet streams, automatically updating security controls or dropping malicious traffic to protect target networks.

This question belongs to: Computer Cyber Security
Question #3
What is the purpose of a digital signature?
A. To encrypt a message
B. To verify the authenticity and integrity of a message
C. To compress a message
D. To speed up message delivery

Correct Answer: Option B


Explanation:
A digital signature provides authentication and integrity verification, ensuring that a message or document comes from the claimed sender and has not been altered.

This question belongs to: Computer Cyber Security