Question: Decrypt the ciphertext ( java code, give output that is correct and i will upvote ) encrypted by a simple one time cipher ( i
Decrypt the ciphertext java code, give output that is correct and i will upvote encrypted by a simple one time cipher ie a specific stream cipher
using PGM as a random number generator and the random numbers generated act as a keystream.
Let M; seed;
suppose xxxxn is plaintext string with each xiM
keystream kkkkn where kPGMseed kiPGMseediknPGMseedn
ciphertext string yyyyn where yixiki mod M
the plaintext string xxxxn is obtained by encoding an english text Eee as follows:
There are characters given in a table and each character has its index to
NOTE: the beginning character is space and the table should be treated as one dimension.
Group english text into blocks of three characters as eee eee eee
Form xx as follows: xindex of eindex of eindex of e
xindex of eindex of eindex of e
The PGM logarithmic signatures and the ciphertext are seen below.
When you decrypt, please remeber to change negative modular into positive.
The permutations in logarithmic signatures are expressed in standard notation.
Ciphertext:
lnTgyNu;PPJRVbwMKyjvyE
@PudYhAASSvlVssWBsxIn!
aj@XL@nQZFFX#a~rj
RCw#LrbVdfgXDBzOzED
zv;calDaAvMNhBDdMl
ZVQSjiuseOkAeznqtVNiFj
ZF@ze$VGPhW&jZp
nTQxPKUhR@ihEZevQm!wZpwJU&rVW
oH$#Gs o$W@&@QqG
wr;UP:ecuSBSEAPE'tbNYsng~i
WrfUAJFYkPuZUnTbkki
:giVn
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
