6 - Number THeory Part 2 Flashcards

1
Q

Discrete Logarithm:

Computing it and is there an efficient algorithm to crack it?

A

Given n, g,h compute log g (h) mod n

No efficient algorithm for this

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

Diffie Hellman Key Exchange basis

A

It is easy to compute the exponent of something but difficult to comput the discrete logarithm.

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

Quantum Computers, can they compute discrete logarithm efficiently (in polynomial time)

A

Yes

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

Fermat’s Little Theorem to find/verify primitive element

A

p is a prime and g is an integer in {1,2,…,p-1} which is a primitive element:
we have g^(p-1) mod p = 1

Direct definition: a^p mod p = a mod p

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

Primitive Root/element

A

g is a primitive root mod p if g^0,g^1,..,g^(p-2) are all different

Also:
- log g h exists for all h except 0
- the seq only repeats after p-1 elements and not earlier

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

Is 2 a primtive modulo 7?

A

No, log2(3) does not exist in Z7

2^0=1
2^1=2
2^2= 4
2^3 = 1
2^4 =2

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

For any prime p, there are _____ elements modulo p

A

primitive

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

Why does normal logarithm work easily but the discrete logarithm is hard?

A

Normal is always increasing so you can easily approxmiate the upper and lower bound and then trial within that

Discrete does not necessarily have any order

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