General Concepts

Encryption vs. hashing

Definition

Encryption transforms data so that only someone with the key can read it, and it is reversible. It can be symmetric (one shared key) or asymmetric (a public and private key pair). Hashing produces a fixed-length value and is one-way: the original text cannot be recovered.

Exam context

In SC-900 you are asked what each one is for: salted hashing is used to store passwords and verify integrity; encryption protects data at rest, in transit (TLS), or in use. Whatever is encrypted with the recipient's public key can only be decrypted with their private key.

Studying for one of these certifications?

Encryption vs. hashing is a concept that can show up on the exam. Check the full guide to see it in context.