Math220 Flashcards

1
Q

Find the elements in Zn

A

All primes up to n
eg:
Elements in Z8:
1, 3, 5, 7

If n is prime, all integers 1 -> n-1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Find the order of each element in Zn

A
1^1 = 1
3^1 = 3, 3^2 = 1
5^1 = 5, 5^2 = 1
7^1 = 7, 7^2 = 1

All elements have order 2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When does Zn have generators?

A

Zn has generators if an element(s) powers cover all of Zns elements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do you get the number of invertible elements?

A

o(n) = (p-1)(q-1)

Z has o invertible elements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Euler’s o-function?

A

o(n) = (p-1)(q-1)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Why is 4x+2 not a good function to use in an affine cipher?

A

Encryption of two different plaintexts can result in the same ciphertext.

eg: f(1) = 6 and f(14) = 6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

When does Zn always have a generator?

A

If n is prime.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Briefly, how do you decipher c in a Rabin Cipher?

A

DECIPHERING C: find integers u and v such that pu + qv = 1
THEN FIND: four possible values for m as +-pum_q +-qvm_p.
In particular, c is not uniquely determined by m

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the possible orders of elements in Z23?

A

The order of an element in Z23 is a divisor of 23-1=22.

So 1,2,11,22 are the possible orders of Z23

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does it mean for a cryptosystem to be perfectly secure?

A

Perfectly secure means that the ciphertext contains no information of the message no matter how much computing or analysis you do.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Is the RSA cryptosystem secure? Why?

A

No.
Because it requires factoring a public key to decipher the message, so, given enough computing and analysis, you can completely recover the message.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

The one-time pad is perfectly secure. Why is it not more widely used?

A

The key is as large as the message. So the key exchange problem is just as difficult as the initial problem of exchanging the secure message.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

When is x its own inverse in Zp?

A

If x^2 is congruent to 1 modulo p.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How do you calculate n in an RSA cipher?

A

n = pq

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

The equation for showing the encrypted plaintext of Rabin cipher

A

c => m^2 mod n

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is Euler’s formula?

A

F + V = E + 2,
where F is the number of faces, V the number of vertices, and E the number of edges. A cube, for example, has 6 faces, 8 vertices, and 12 edges and satisfies this formula.