Exam 4: Number Theory and Cryptography

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

What is the shared key if Alice and Bob use the Diffie-Hellman key exchange protocol with the prime p=431p = 431 , the primitive root a=79a = 79 of p=431p = 431 , with Alice choosing the secret integer k1=236k _ { 1 } = 236 and Bob choosing the secret integer k2=334k _ { 2 } = 334 ?

(Short Answer)
4.8/5
(42)

Convert (271)8 to base 2 .

(Short Answer)
4.9/5
(38)

Find the two's complement of 12.

(Short Answer)
4.8/5
(38)

Prove or disprove: For all integers a,b,c, if ab and bc then aca , b , c \text {, if } a \mid b \text { and } b \mid c \text { then } a \mid c \text {. }

(True/False)
4.8/5
(37)

Use the Euclidean Algorithm to find gcd(400, 0).

(Short Answer)
4.8/5
(27)

Find four integers b (two negative and two positive) such that 7b(mod4)b \text { (two negative and two positive) such that } 7 \equiv b ( \bmod 4 ) \text {. }

(Short Answer)
4.8/5
(31)

Find an inverse of 17 modulo 19.

(Short Answer)
4.8/5
(26)

find the sum and product of each of these pairs of numbers. Express your answer as a base 3 expansion. - (21202)3,(12212)3( 21202 ) _ { 3 } , ( 12212 ) _ { 3 }

(Short Answer)
4.8/5
(33)

find the sum and product of each of these pairs of numbers. Express your answer as a binary expansion. - (11010111100)2,(11101110111)2( 110\quad1011\quad1100 ) _ { 2 } , ( 111\quad0111\quad0111 ) _ { 2 }

(Short Answer)
4.8/5
(33)

Solve the linear congruence 5x3(mod11)5 x \equiv 3 ( \bmod 11 )

(Short Answer)
4.7/5
(38)

Here is a sample proof that contains an error. Explain why the proof is not correct. Theorem: If aba \mid b and bcb \mid c , then aca \mid c . Proof: Since ab,b=aka \mid b , b = a k . Since bc,c=bkb \mid c , c = b k . Therefore c=bk=(ak)k=ak2c = b k = ( a k ) k = a k ^ { 2 } . Therefore aca \mid c .

(Short Answer)
4.9/5
(28)

Prove or disprove:  If f(n)=n2n+17, then f(n) is prime for all positive integers n\text { If } f ( n ) = n ^ { 2 } - n + 17 \text {, then } f ( n ) \text { is prime for all positive integers } n \text {. }

(Short Answer)
4.8/5
(31)

Prove or disprove: For all integers a,b,c, if a(b+c), then ab and aca , b , c \text {, if } a \mid ( b + c ) \text {, then } a \mid b \text { and } a \mid c \text {. }

(True/False)
5.0/5
(38)

Convert (11010111100)2 to base 8 .

(Short Answer)
4.8/5
(37)

Alice has the public key (n,e)=(2623,13)( n , e ) = ( 2623,13 ) with corresponding private key d=1357d = 1357 , and she wants to send the message LAST CALL to her friends so that they know she sent it. What should she send to her friends, assuming she signs the message using the RSA cryptosystem?

(Short Answer)
4.8/5
(34)

Prove or disprove: if p and q are prime numbers, then pq + 1 is prime.

(True/False)
4.8/5
(35)

Solve the linear congruence 31x57(mod61)31 x \equiv 57 ( \bmod 61 )

(Short Answer)
4.9/5
(43)

Convert (8091)10 to base 2.

(Short Answer)
4.8/5
(26)

Explain why f(x)=(2x+3)mod26f ( x ) = ( 2 x + 3 ) \bmod 26 would not be a good coding function.

(Short Answer)
4.9/5
(37)

The cipher text LTDTLLWW was produced by encrypting a plaintext message using the Vigen`ere cipher with the key TEST. What is the plaintext message?

(Short Answer)
4.8/5
(38)
Showing 41 - 60 of 154
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)