RSA is an encryption algorithm where a sender, Bob, sends an encrypted message to a receiver, Alice. The process followed by RSA to create the encryption methods follows a somewhat complex mathematical reasoning that we summarize in the following image:
The first thing Bob does is to generate three values
If a third person intercepts the channel, they still won't know
Create a function that, given two primes
One way to calculate the inverse of pow(e, -1, theta)
.
Remember that two numbers are coprime if the 'gcd' between them is equal to 1.
Random values of
To interact with codercises, please switch to a larger screen size.
Learning Objectives: