FlashKeepers

Discrete Math · College · College and University

Discrete Math: Cryptography Basics

Foundational cryptography concepts built on discrete math, such as modular exponentiation and public key basics.

About this set

29 basic cards for College Discrete Math. Set 3 of 11 in Discrete Math. It opens with "What is modular arithmetic?" and "What does the notation a ≡ b (mod n) mean?". Study it alongside the other College sets below.

29 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone

Opens in your browser, no account. Get the iPhone and iPad app · Android app

What is modular arithmetic?
Show answerArithmetic where computations are performed with respect to a modulus, working only with remainders after division by a fixed number.
What does the notation a ≡ b (mod n) mean?
Show answera and b are congruent modulo n, meaning they have the same remainder when divided by n.
Define modular exponentiation.
Show answerComputing the result of a^b mod n efficiently without first calculating a^b.
Why is modular exponentiation important for cryptography?
Show answerIt allows efficient computation of large powers while keeping intermediate results bounded, enabling practical implementation of cryptographic algorithms.
State Fermat's Little Theorem.
Show answerIf p is prime and gcd(a, p) = 1, then a^(p-1) ≡ 1 (mod p).
State Euler's Theorem.
Show answerIf gcd(a, n) = 1, then a^φ(n) ≡ 1 (mod n), where φ(n) is Euler's totient function.
What is Euler's totient function φ(n)?
Show answerThe count of positive integers less than or equal to n that are coprime with n.
What is symmetric key cryptography?
Show answerAn encryption method using a single shared secret key for both encryption and decryption.
What is public key cryptography?
Show answerAn encryption method using a pair of mathematically related keys: a public key for encryption and a private key for decryption.
What two numbers form an RSA public key?
Show answerThe modulus n and the public exponent e.
What two numbers form an RSA private key?
Show answerThe modulus n and the private exponent d.
How is the RSA modulus n constructed?
Show answerBy multiplying two distinct large prime numbers: n = p * q.
What is the relationship between the RSA exponents e and d?
Show answere and d are multiplicative inverses modulo φ(n), meaning e * d ≡ 1 (mod φ(n)).
Define the discrete logarithm problem.
Show answerGiven g, h, and prime p, find the exponent x such that g^x ≡ h (mod p), believed to be computationally hard.
Why is the discrete logarithm problem important to cryptography?
Show answerMany public key cryptosystems derive their security from the computational difficulty of solving the discrete logarithm problem.

14 more cards in the app

Study this set free