Encryption Flashcards
(18 cards)
What does RSA stand for in cryptography?
Rivest-Shamir-Adleman
True or False: RSA relies on the difficulty of factoring large prime numbers.
True
Fill in the blank: The security of RSA is based on the difficulty of __________.
factoring the product of two large prime numbers
What is one common method used to attack RSA encryption?
Factoring the modulus (n) into its prime components
Which algorithm is often used for factoring integers in RSA attacks?
The General Number Field Sieve (GNFS)
Multiple Choice: Which of the following is NOT a viable attack method against RSA? A) Brute force attack B) Timing attack C) Quantum attack D) Factoring attack
A) Brute force attack
What is a timing attack?
An attack that exploits variations in the time taken to perform cryptographic operations
True or False: Using small public exponents can make RSA more vulnerable to certain attacks.
True
What type of attack involves using a quantum computer to break RSA encryption?
Shor’s algorithm
What is a common countermeasure to protect against RSA attacks?
Using larger key sizes (e.g., 2048 bits or more)
RSA in-the-middle attack
An RSA man in the middle attack works by intercepting the public key sent from one party to another, replacing it with their own public key.
The attacker swaps public keys, decrypts the message, then re-encrypts it to spy or tamper with it.
What are one of the operations that AES performs to encrypt data?
MixColummns
MixColumns
AES treats each column of the 4x4 byte state matrix as a polynomial and mixes its by multiplying it with a fixed matrix over a finite field.
What is the primary purpose of a code?
To replace words or phrases with other words, symbols, or phrases.
True or False: A cipher transforms individual letters or bits of data to obscure the original message.
True.
Fill in the blank: A code typically operates at the ______ level, while a cipher operates at the ______ level.
semantic; syntactic.
Which of the following is an example of a cipher? A) Morse code B) Caesar cipher C) Pig Latin
B) Caesar cipher.
What is a key difference between codes and ciphers?
Codes substitute entire words or phrases, while ciphers transform individual letters or bits.