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

Tiny rsa #68

Merged
merged 28 commits into from
May 31, 2024
Merged

Tiny rsa #68

merged 28 commits into from
May 31, 2024

Conversation

0xJepsen
Copy link
Contributor

@0xJepsen 0xJepsen commented May 16, 2024

This isn't necessarily in the scope but peaked my interest.

Will close #73

One thing to be done on this would be to implement an algorithm for generating large primes and upgrade from tiny_rsa -> big rsa

@0xJepsen 0xJepsen marked this pull request as ready for review May 20, 2024 21:51
@Autoparallel
Copy link
Contributor

Why not just use the PrimeField struct here instead of creating a whole new struct?

src/tiny_rsa/mod.rs Show resolved Hide resolved
src/tiny_rsa/mod.rs Outdated Show resolved Hide resolved
@0xJepsen
Copy link
Contributor Author

Why not just use the PrimeField struct here instead of creating a whole new struct?

because the field is not prime!

@0xJepsen 0xJepsen requested a review from Autoparallel May 30, 2024 18:22
@Autoparallel
Copy link
Contributor

Why not just use the PrimeField struct here instead of creating a whole new struct?

because the field is not prime!

Then it is a ring not a field! Has to be of prime power order to be a field.

Copy link
Contributor

@Autoparallel Autoparallel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's everything i've ever dreamed of and more

@Autoparallel Autoparallel merged commit 9f85c94 into main May 31, 2024
4 checks passed
@Autoparallel Autoparallel deleted the tiny_rsa branch May 31, 2024 17:27
@github-actions github-actions bot mentioned this pull request Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: Tiny RSA
2 participants