Fieldguide

Security+ · FAQ · General Security Concepts

How do symmetric encryption, asymmetric encryption, hashing, and a digital signature differ?

Symmetric ciphers such as AES use one shared key for encryption and decryption and are the usual choice for bulk data. Asymmetric algorithms such as RSA and elliptic-curve cryptography use a key pair and are slower, so they wrap keys and support signatures rather than encrypting large files alone. A hash such as SHA-256 is one-way and detects change; it does not hide the file. A digital signature is a hash encrypted with the sender’s private key. Checking it with the public key shows integrity, authentication, and non-repudiation. Confidentiality still requires encrypting the body. A salt makes identical passwords hash differently. OCSP or a certificate revocation list answers whether a certificate is still trustworthy.

NIST Computer Security Resource Center — cryptography publications

Catalog

Same domain