Ravindra BagaleCourses & study guides

33. Cryptography Basics

Chala mitrano, HTTPS (Chapter 11), password hashes (Chapter 22), SSH keys, KMS (Chapter 30) – ya sagalyamage ek ch shastra aahe: cryptography. Ghabru naka, ithe gani ta nahi, fakt concept ani commands. Hashing, encryption, symmetric ani asymmetric, digital signature, certificates – he samajla ki interview madhle kiti tari prashna sope hotat. Pratyek goshta aapan openssl ne swatah karun baghu. Samjla ka? Chala!

What you will learn in this chapter

  • The goals of cryptography: confidentiality, integrity, authentication, non-repudiation
  • Encoding vs hashing vs encryption – the most confused trio
  • Hashing (SHA-256), salts and safe password storage
  • Symmetric encryption (AES) and asymmetric encryption (RSA, ECC)
  • Digital signatures, certificates, PKI and how TLS uses all of them
  • Common crypto mistakes and how attackers exploit them

Concepts in this chapter

  1. 33.1Goals and the Big Three: Encoding, Hashing, Encryption
  2. 33.2Hashing, Salts and Password Storage
  3. 33.3Symmetric Encryption
  4. 33.4Asymmetric Encryption
  5. 33.5Digital Signatures, Certificates, PKI and TLS
  6. 33.6Common Crypto Mistakes and Attacks
  7. 33.7Red vs Blue, Project and Real Incidents

The chapter recap is at the end of the last concept page.