8. (20 pts)
a. RSA encryption. Let n = pq = (7)(17) = 119 and e = 5 define a
(very modest) RSA public key encryption. Since 25 < 119 <
2525, we can only encode one letter (two digit representation) at a
time. Use the function ? = ? mod ? to encode the word MATHY into a
series of five numbers that are less than n.
b. To decrypt an RSA encrypted message, we need to find d,...
These questions are about math cryptography
1) Encrypt the plaintext "this is a secret message" using the
affine function
f(x) = 5x + 7 mod 26.
2) Determine the number of divisors of 2n, where n is a positive
integer.
a) In a public-key system using RSA, n=77 and its public key is
e=23. What is the private key d? Show your steps of
calculation.
b) Let M=3. Compute its cipher text under the above RSA. Please
use the divide conquer algorithm to compute the exponential
function for the cipher text.
Write a Java program to encrypt the following message using the
RC4 cipher using key CODES:
Cryptography is a method of protecting information and
communications through the use of codes so that only those for whom
the information is intended can read and process it.
Instead of using stream length 256, we will use length 26. When
encrypting, let A = 0 to Z = 25 (hence CODES = [2 14 3 4 18]).
Ignore spaces and punctuations and put...
Write a Java program that uses the RC4 cipher algorithm to
encrypt the following message using the word CODES as the
key:
Cryptography is a method of protecting information and
communications through the use of codes so that only those for whom
the information is intended can read and process it.
Instead of using stream length 256, we will use length 26. When
encrypting, let A = 0 to Z = 25. Ignore spaces and punctuations and
put the message...
Alice is sending message “HIDE” to Bob. Perform encryption and
decryption using RSA algorithm, with the following information:
parameters p=11,q=5, e=7
Present all the information that you will need to encrypt and
decrypt only the first letter from text
Using randomized encryption, convert an AES and RSA message (m)
with 128 bits into a secured version with an initialization vector
(IV). Show how to encrypt (m) with secured AES.