Skip to content
  • Fundamentals · Cryptography

Fundamentals

LearnViaNotes @learnvianotes· 2 min read

Deep dive into cryptographic vocabulary, mathematical models of encryptions, and basic shift operations.

1. Core Vocabulary & Concepts

2. Mathematical Models & Kerckhoffs's Principle

Modern systems assume the algorithm is public. The security of the system rests entirely on keeping the key secret.

Symmetric Cipher Equation: C = E_K(P) <=> P = D_K(C)

If the key is chosen from a key space of size 2N (where N is the key length in bits), an attacker performing a brute-force search must search through 2N combinations. A key size of 128 bits yields a key space of 3.4 x 1038 combinations, making brute force physically impossible with current computing boundaries.

3. Detailed Step-by-Step Example: Caesar Cipher

The simplest substitution cipher: shifting letters along the modulo circle.

Free for students and teachers

Write notes like this one

Cards for every idea, quizzes and flashcards, read aloud — on the web and your phone.

Something wrong with this note? Open it to report