

RSA textbook encryption.
COMPLETED.
Task for the Student is to generate RSA system parameters and send generated Public Key to the Mentor. Student must write current day ant time in the format DDhhmm encrypt it and send ciphertext to the Mentor.
After Student receives Mentor’s Public Key and ciphertext of unknown message, he must decrypt it and find plaintext of this ciphertext. He must encrypt this plaintext and send it for decryption to the Mentor.
Parameter values sent by Alice are included in brackets [ ] and must be entered in the corresponding input fields
The following functions are used in the protocol:
>> genprime(14)
>> gcd(a,b)
>> mod(a,n)
>> eeuklid(e,ϕ)
>>mod_exp(a,x,n)
>> genprime(14)
Send numbers [p, q] for verification to the Mentor.
Send [ϕ] for verification to the Mentor.
>> eeuklid(e,ϕ)
Send [d] for verification to the Mentor.