Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inginious exercises on RSA #12

Open
obonaventure opened this issue Oct 10, 2019 · 0 comments
Open

Inginious exercises on RSA #12

obonaventure opened this issue Oct 10, 2019 · 0 comments
Labels
enhancement New feature or request inginious-open idea for an open exercise on the inginious platform

Comments

@obonaventure
Copy link
Contributor

It would be nice to have an inginious exercise that enables students to understand how RSA works. A simple approach would be to randomly generate a public/private key with small primes and ask the student to encrypt or better decrypt an encrypted messages that is encoded as a number.

A second exercise could be to ask a student to compute a signature of a integer.

A third exercise could be to ask a student to recover the private key from a public one.

For all these exercises, we should use the inginious random inputs to select the keys/prime numbers that are used to generate the keys so that a student can be exposed to different numbers.

See https://www.codymorterud.com/development/2018/09/05/RSA-with-Python.html for an example for the python code that would verify the student answer

@obonaventure obonaventure added the enhancement New feature or request label Oct 10, 2019
@obonaventure obonaventure added this to the Network security milestone Oct 10, 2019
@obonaventure obonaventure added the inginious-open idea for an open exercise on the inginious platform label Oct 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request inginious-open idea for an open exercise on the inginious platform
Projects
None yet
Development

No branches or pull requests

1 participant