Courses/Computer Science and Engineering
Foundations of Cryptography
CS352 · SVNIT Computer Science and Engineering
Modern cryptography from its definitions, in plain words: perfect secrecy, computational security and pseudorandomness, CPA and CCA security, block-cipher modes, hashes and MACs, factoring and discrete logarithms, public-key encryption, and zero knowledge, secret sharing and lattices.
Read it on Tu ChahiyeFree with your SVNIT college email
What's inside
- Full course: 13 chapters
The chapters
- 00How to use this course0.1 What this subject is about · 0.2 The map of the course · 0.3 Where this material comes from · 0.4 How to read a page · 0.5 The notation used everywhere · 0.6 A plan for the exams
- 01Introduction1.1 From secret writing to modern cryptography · 1.2 The private-key setting: syntax, correctness and key · 1.3 Attack models: COA, KPA, CPA and CCA · 1.4 Classical ciphers and why they fail · 1.5 The three principles: formal definitions, precise assumptions, proofs · 1.6 Provable security and real-world security · …
- 02Perfectly Secret Encryption2.1 The intuition: the ciphertext must not move your belief · 2.2 The prior-information definition · 2.3 The indistinguishability game · 2.4 The one-time pad · 2.5 Shannon’s theorem · 2.6 Limitations: key length, key reuse and the cost of perfection · …
- 03Computational Security and Stream Ciphers3.1 Why perfect secrecy is too expensive · 3.2 The security parameter, PPT attackers and negligible functions · 3.3 Defining computationally secure encryption · 3.4 Semantic security and indistinguishability · 3.5 Pseudorandom generators · 3.6 Stream ciphers from PRGs · …
- 04Pseudorandom Functions and CPA Security4.1 Why a PRG is not enough for many messages · 4.2 Pseudorandom functions: definition and game · 4.3 Pseudorandom permutations and block ciphers · 4.4 CPA-secure encryption from a PRF · 4.5 Multi-message CPA and the role of randomness · 4.6 The reduction from PRF security to CPA security · …
- 05Block Ciphers and Modes of Operation5.1 What a block cipher is · 5.2 SPN and the avalanche effect · 5.3 Feistel networks and DES · 5.4 2DES, meet-in-the-middle and 3DES · 5.5 AES · 5.6 Modes: ECB, CBC, OFB, CFB and CTR · …
- 06Chosen-Ciphertext Security6.1 Why CPA is not enough · 6.2 The CCA security game · 6.3 CCA in the private-key setting · 6.4 The CBC padding-oracle attack · 6.5 CCA-secure constructions: Encrypt-then-MAC and AEAD · 6.6 COA, CPA and CCA side by side · …
- 07Hash Functions and Applications7.1 What a hash function must do · 7.2 The Merkle–Damgård construction · 7.3 Birthday attacks · 7.4 The random-oracle model · 7.5 Merkle trees and hash pointers · 7.6 Hash-and-MAC preview · …
- 08Message Authentication Codes8.1 Integrity and authenticity · 8.2 MAC syntax and the strong chosen-message game · 8.3 A fixed-length MAC from a PRF · 8.4 Domain extension and CBC-MAC · 8.5 HMAC · 8.6 Hash-and-MAC · …
- 09Authenticated Encryption and Information-Theoretic MACs9.1 Why encryption alone is not enough · 9.2 Authenticated encryption: definition and failure modes · 9.3 Generic compositions: EtM, E&M and AtE · 9.4 Why Encrypt-then-MAC is the safe composition · 9.5 AEAD in practice: GCM, ChaCha20-Poly1305 and nonces · 9.6 Information-theoretic MACs · …
- 10Factoring and Discrete Logarithms10.1 Why factoring and discrete logs matter · 10.2 Pollard’s p − 1 algorithm · 10.3 Pollard’s rho algorithm · 10.4 The quadratic sieve · 10.5 The Pohlig–Hellman algorithm · 10.6 The Baby-Step/Giant-Step algorithm · …
- 11Public-Key Encryption and Key Exchange11.1 Why public-key encryption · 11.2 Public-key syntax, COA and CPA · 11.3 RSA: key generation, encryption and decryption · 11.4 RSA attacks and implementation pitfalls · 11.5 RSA CCA security and OAEP · 11.6 Diffie–Hellman key exchange · …
- 12Advanced Topics: Zero Knowledge, Secret Sharing, Lattices12.1 Why these three topics belong together · 12.2 Zero-knowledge proofs: completeness, soundness and zero knowledge · 12.3 A worked ZK example: graph isomorphism and Schnorr · 12.4 Secret sharing: Shamir's threshold scheme · 12.5 Reconstruction, limitations and verifiable sharing · 12.6 Lattices: bases, SVP and CVP · …
Tu Chahiye is a student project, not an official SVNIT service. Course codes and names are used only to say which subject a page is about. All courses · Exam preparation