Modular Arithmetic Flashcards
mod stuff (19 cards)
If x=
7 mod 4, then x can be?
a. 2
b. 1
c. 3
3
If 12 mod 5 = x , then x can be
a. 2
b. 3
c. 5
2
What is 100 mod 11?
a. 1
b. 0
c. 2
1
Which of the following solves 2 x = 5 mod 3?
a. 5
b. 10
c. 6
10
If x + 3 = -1 mod 5, then x can be
a. 1
b. - 3
c. 2
1
congruent or not
30 = 11 ( mod 3)
not
congruent or not
-6 = 5 ( mod 2)
not
congruent or not
18 = -7 (mod 5)
congruent
congruent or not
12 = 24 ( mod 6)
congruent
congruent or not
13 = 13 ( mod 7)
congruent
congruent or not
-10 = -32 (mod 4)
not
In cryptography, encryption is the process of transforming the original representation of an information, known as ______ into an alternative (or secret) form known as _______
plaintext, cyphertext
caesar cypher decoding formula
y = 3x + 2(mod 26)
decode the letter T = 20 using the caesar cypher
= 3(20) + 2 (mod 26)
= 62 (mod 26)
= 10 (mod 26)
formul for caesar cypher inverse
y≡9(x−2) (mod26)
solve for addition modulo m
8⊕7 ≡ 15 (mod9)
= 6 (mod 9)
solve for multiplication modulo m
8⊗7 ≡ 56 (mod9)
≡ 2 (mod 9).
when the modulus m = 4, we have
Z4 = {0,1,2,3}.