Exam 4: A: Number Theory and Cryptography

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

Given that gcd(662, 414) = 2, write 2 as a linear combination of 662 and 414.

Free
(Short Answer)
4.7/5
(28)
Correct Answer:
Verified

662 · (−5) + 414 · 8

find the sum and product of each of these pairs of numbers. Express your answer as a binary expansion. - (11010111100)2 , (11101110111)2

Free
(Short Answer)
4.9/5
(44)
Correct Answer:
Verified

(111000110011)2 , (1100100100010101100100)2

Find the discrete logarithms of 5 and 8 to the base 7 modulo 13.

Free
(Short Answer)
4.8/5
(29)
Correct Answer:
Verified

3, 9

Convert (101011)2 to base 8 .

(Short Answer)
4.9/5
(33)

Encrypt the message CANCEL THE ORDER using blocks of seven letters and the transposition cipher based on the permutation of {1,2,3,4,5,6,7} with σ(1)=5,σ(2)=3,σ(3)=6,σ(4)=1,σ(5)=7,σ(6)=2\sigma ( 1 ) = 5 , \sigma ( 2 ) = 3 , \sigma ( 3 ) = 6 , \sigma ( 4 ) = 1 , \sigma ( 5 ) = 7 , \sigma ( 6 ) = 2 and σ(7)=4\sigma ( 7 ) = 4

(Short Answer)
4.8/5
(38)

Encrypt the message NEED HELP by translating the letters into numbers (A=0, B=1, . . ., Z=25), applying the encryption function f(p) = (p + 3) mod 26, and then translating the numbers back into letters.

(Short Answer)
4.9/5
(40)

Find 50! mod 50.

(Short Answer)
4.9/5
(39)

Find three integers m such that 13 ≡ 7 (mod m).

(Short Answer)
4.9/5
(41)

Find the prime factorization of 1,025.

(Short Answer)
4.7/5
(32)

refer to an 8-digit student id at a large university. The eighth digit is a check digit equal to the sum of the first seven digits modulo 7. -Suppose the first digit of the student id X123 4566 is illegible (indicated by X). Can you tell what the first digit has to be?

(Short Answer)
4.7/5
(33)

Decrypt the message "AHFXVHFBGZ" that was encrypted using the shift cipher f(x) = (x + 19) mod 26.

(Short Answer)
4.8/5
(25)

Find four integers b (two negative and two positive) such that 7 ≡ b (mod 4).

(Short Answer)
4.9/5
(34)

What is the decryption function for an affine cipher if the encryption function is f(x) = (3x + 7) mod 26?

(Short Answer)
4.8/5
(32)

Solve the linear congruence 5x ≡ 3 (mod 11).

(Short Answer)
4.8/5
(30)

Find a div m and a mod m when a=511,m=113a = 511 , m = 113

(Short Answer)
4.7/5
(38)

Convert (11010111100)2 to base 8 .

(Short Answer)
4.9/5
(35)

Find the two's complement of 12.

(Short Answer)
5.0/5
(32)

Use the Euclidean algorithm to find gcd(203, 101).

(Short Answer)
4.8/5
(29)

Find (20!,12!)( 20 ! , 12 ! ) by directly finding the largest divisor of both numbers.

(Short Answer)
4.7/5
(30)

Find a div m and a mod m when a=76,m=52a = 76 , m = 52

(Short Answer)
4.8/5
(29)
Showing 1 - 20 of 149
close modal

Filters

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