Here is my solution.
First, we need to decrypt using RSA and the private key.
Before we can do that, we have to convert the cipher to an integer
and then we apply RSA and the results needs to be converted back
to bits and padded if necessary.
Next, we break the message into two parts, G and H.
We hash the first part and XOR it with the second part to calculate the nonce.
We then hash the nonce and XOR it with the first part
to get back to the original bits
and, finally, convert the bits back to a string.
I’ll leave it up to you to print out the plaintext.
