Let’s say you have the ciphertext for the given
plaintext.
Plaintext:
it was disclosed yesterday that several informal but
direct contacts have been
made with political representatives of the viet cong in
Moscow
Ciphertext:
UZQSOVUOHXMOPVGPOZPEVSGZWSZOPFPESXUDBMETSXAIZVUEPHZHMDZSHZOWSFPAPPDTSVPQUZWYMXUZUHSXEPYEPOPDZSZUFPOMBZWPFUPZHMDJUDTMOHMQ
Can you determine the cipher used? If yes, name the
cipher. Explain why.
Can you determine all/part of the key. If yes, give the
key or part of the key.
Explain how you deduced it.
Given the prime factors p and q, the encryption exponent e,
and the ciphertext C, apply the RSA algorithm to find (a) the
decryption exponent d and (b) the plaintext message M.
p
q
e
C
17
5
19
65
I have to get d and M
Question
The given plaintext is “Feistel cipher structure uses the
same algorithm for both encryption and decryption”. Write
Java or Python code to implement either
Monoalphabetic cipher or Hill
cipher or Transposition Cipher
(Encryption and Decryption) and test your code on given plaintext.
User may enter value of key at the command prompt, if required.
The given plaintext is “Feistel cipher structure uses the same
algorithm for both encryption and decryption”. Write Java code to
implement Shift cipher (Encryption and Decryption) and test your
code on given plaintext. Your code must meet following
conditions.
1. User must enter the value of key from command prompt and
print it at command prompt.
2. Print the cipher text and the plaintext at the command
prompt after encryption and decryption.
3. Test your algorithm for 5 different key...
What is the network address if given this IP address and the
following subnet mask? Please note that the network may
be different if the subnet mask is different.
IP address 178.47.188.176
How many network bits if the following subnet masks?
255.254.0.0
255.255.252.0
255.255.255.248
4. 255.128.0.0
Methods – Compute Grade
Please write a complete Java program, given the following
information about (a few lines of code in) main: projectAverage =
getAverage(”Project”); // returns average of 2 grades testAverage =
getAverage(”Test”); // returns average of 2 grades
displayGrade(projectAverage, testAverage); // test are 70% &
projects 30%
Write a Java program for RSA encryption that has the following
inputs and outputs: Given a message and an integer n = pq where p
and q are odd primes and an integer e > 1 relatively prime to (p
− 1)(q − 1), encrypt the message using the RSA cryptosystem with
key (n, e).