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

What is the difference between encryption and hashing?
A. They are the same
B. Hashing is reversible, encryption is not
C. Encryption is used for integrity, hashing for confidentiality
D. Encryption is reversible, hashing is not
Answer: Option D
Solution (By JKExamLibrary)
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.

This question belongs to: Computer Cyber Security

Discuss this Question (0)

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

Practice More Cyber Security Questions

Question #1 Report Error
Which technical mechanism isolates corporate servers from the public internet, routing all external requests through an intermediate gateway that filters malicious payloads?
A. Stateful Packet Matrix
B. Proxy Server / Reverse Proxy
C. Intrusion Detection Loop
D. Virtual Private Network

Correct Answer: Option B


Explanation:
Proxy servers intercept and forward requests between networks, masking internal infrastructure topologies and filtering incoming web traffic.

This question belongs to: Computer Cyber Security
Question #2 Report Error
Which of the following is a common method to protect against phishing?
A. Replying to all emails with personal information
B. Ignoring all security warnings
C. Opening all email attachments
D. Verifying the legitimacy of emails before clicking links

Correct Answer: Option D


Explanation:
Verifying the legitimacy of emails, checking sender addresses, and avoiding suspicious links are key methods to protect against phishing.

This question belongs to: Computer Cyber Security
Question #3 Report Error
Which social engineering attack vector uses spoofed emails, misleading hyperlinks, and look-alike landing pages to trick corporate employees into surrendering their login credentials?
A. SQL Injection
B. Phishing
C. Man-in-the-Middle
D. DDoS Attack

Correct Answer: Option B


Explanation:
Phishing involves masquerading as a trustworthy entity via digital communications to manipulate victims into revealing passwords, financial records, or sensitive personal tokens.

This question belongs to: Computer Cyber Security