Skip to main content

Discrete Mathematical Structures

Exercises 5.5.5 Exercises

2.

Encrypt the message UNCG SPARTANS by translating the letters into numbers, applying the given encryption function, then translating the numbers back into letters.
  1. \(\displaystyle f(p) = p + 3 \bmod{26}\)
  2. \(\displaystyle f(p) = p + 22 \bmod{26}\)
  3. \(\displaystyle f(p) = -3p \bmod{26}\)
  4. \(\displaystyle f(p) = 5p + 7 \bmod{26}\)

3.

Encrypt the message MIDNIGHT by translating the letters into numbers, applying the given encryption function, then translating the numbers back into letters.
  1. \(\displaystyle f(p) = p + 17 \bmod{26}\)
  2. \(\displaystyle f(p) = p - 4 \bmod{26}\)
  3. \(\displaystyle f(p) = -7p \bmod{26}\)
  4. \(\displaystyle f(p) = 3p + 12 \bmod{26}\)

7.

Suppose the cipher text HVS ZONM RCU XIADG CJSF HVS EIWQY PFCKB TCL was produced by encrypting a plain text message using a shift cipher. What is the original plain text message?

8.

My RSA public key is \((N,e) = (85,3)\text{.}\) Encrypt the number \(M = 23\text{.}\)

9.

Encrypt the message \(M = 253\) using the RSA encryption scheme with public key \((N,e) = (391,17)\text{.}\)

10.

Encrypt the current year using the RSA encryption scheme with public key \((N,e) = (343751,23)\text{.}\)

11.

Show that the RSA public key \((N,e) = (527,13)\) is too small by computing the decryption exponent.

12.

Alice encodes her birthday as an \(8\)-digit number yyyymmdd. Suppose she encrypts it using the RSA encryption scheme with public key
\begin{equation*} (N,e) = (25736197, 29), \end{equation*}
resulting in the cipher text \(C = 8141408\text{.}\) What is her birthday?