Given the RSA public key (3,70747) and private key (46811,70747). a. Encrypt the letter ‘z’ using its ASCII value and implement in python. b. Decrypt the result from the subtask above and generate the original text and implement in python. c. Encrypt the word ‘Cyber’ two characters at a time padding with a space and implement in python. d. Decrypt the following three blocks 14520 66071 27623. The blocks are the encryption of a five-letter word, encrypted two characters at a time and padded with a space. Recover the word and implement in python. d. The blocks are the encryption of a five letter word, encrypted two characters at a time and padded with a space. Recover the word and implement in python. e. Determine the maximum block size, in bits, that this modulus can encrypt and decrypt.
Given the RSA public key (3,70747) and private key (46811,70747).
a. Encrypt the letter ‘z’ using its ASCII value and implement in python.
b. Decrypt the result from the subtask above and generate the original text and implement in python.
c. Encrypt the word ‘Cyber’ two characters at a time padding with a space and implement in python.
d. Decrypt the following three blocks 14520 66071 27623. The blocks are the encryption of a five-letter word, encrypted two characters at a time and padded with a space. Recover the word and implement in python.
d. The blocks are the encryption of a five letter word, encrypted two characters at a time and padded with a space. Recover the word and implement in python.
e. Determine the maximum block size, in bits, that this modulus can encrypt and decrypt.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps