Daily iOS
Security

Cryptography basics

In cryptography, when do you use symmetric keys, asymmetric keys, and hashes?

How would an interviewer hear this answer? You'll see whether they'd move on, dig in, or say no, and which sentences would trip you up. Your score doesn't change.
See the short answer

Symmetric keys (AES) are fast and used to encrypt data, asymmetric keys (RSA/ECC) are for key exchange and signatures, and hashes (SHA-256) are for integrity checks.

Share a question