El Gamal Encryption Flashcards

1
Q

How does El Gamal Encryption generate public keys?

A

By finding the

primitive roots modulo n

of a prime number

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

Given that b!=0 ,

what is the gcd( a, b )

A

gcd( a , b )

==

gcd( b, a mod b )

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

Given that b==0 ,

what is the gcd( a , b )

A

gcd( a , b )

==

a

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

What is

(a + b) mod n

equivalent to?

A

(a + b) mod n

===

(a mod n + b mod n) mod n

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

What is

ab mod n

equivalent to?

A

ab mod n

===

(a mod n) (b mod n) mod n

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

Do multiplicative inverses always exist for modular arithmetic?

A

No

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

Will x always have a multiplicative inverse in mod P,

if P is a prime number?

A

Yes

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