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

What is the difference between encryption and hashing?
A. Encryption is used for integrity, hashing for confidentiality
B. Hashing is reversible, encryption is not
C. They are the same
D. Encryption is reversible, hashing is not
Answer: Option D
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
What form of software flaw allows a threat actor to trigger an application error by packing more data into a memory allocation sector than it can hold, overwriting processing tracks?
A. SQL Injection
B. Cross-Site Scripting
C. Zero-Day Exploit
D. Buffer Overflow

Correct Answer: Option D


Explanation:
Buffer overflows occur when input variables exceed memory segment boundaries, allowing malicious payloads to alter memory instructions and execute arbitrary commands.

This question belongs to: Computer Cyber Security
Question #2
What is the role of a certificate authority (CA) in cybersecurity?
A. To issue and manage digital certificates
B. To provide backup services
C. To manage network traffic
D. To encrypt data

Correct Answer: Option A


Explanation:
A Certificate Authority (CA) is a trusted entity that issues digital certificates, verifying the identity of entities and enabling secure communications.

This question belongs to: Computer Cyber Security
Question #3
Which of the following is a characteristic of a strong password?
A. Includes a combination of uppercase, lowercase, numbers, and special characters
B. Is a common word like 'password'
C. Contains only lowercase letters
D. Is shorter than 8 characters

Correct Answer: Option A


Explanation:
A strong password includes a mix of uppercase and lowercase letters, numbers, and special characters to increase complexity and resistance to brute-force attacks.

This question belongs to: Computer Cyber Security