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

QuadraticSieve/ #5

Open
utterances-bot opened this issue Dec 20, 2022 · 10 comments
Open

QuadraticSieve/ #5

utterances-bot opened this issue Dec 20, 2022 · 10 comments

Comments

@utterances-bot
Copy link

The Quadratic Sieve algorithm for Integer Factorization – Risen Crypto – Cryptography

https://risencrypto.github.io/QuadraticSieve/

Copy link

maelhos commented Dec 20, 2022

Thank you very much for this awesome explanation. It really helped me make my own implementation, also, I would be really interested in understanding the optimisations such as log approximation and MPQS. Thank you very much for this article

@RisenCrypto
Copy link
Owner

Thank you very much for this awesome explanation. It really helped me make my own implementation, also, I would be really interested in understanding the optimisations such as log approximation and MPQS. Thank you very much for this article

Thank you for the kind words. About the optimizations, I don't think I understand it well enough as of now to write a post or answer questions about it :-(

Copy link

x13420x commented Dec 28, 2022

just ask https://chat.openai.com/chat it will explain any optimizations you want to understand. If you dont understand something it can give examples to help you understand.

Copy link

x13420x commented Jan 24, 2023

This video series explains a lot of the major optimizations with code https://www.youtube.com/playlist?list=PL0OUqr2O9PxLd35SgBiWIxuLgm7mYksfp

Copy link

Your matrix in SageMath isn’t the same as the matrix in your explanation?

Copy link
Owner

Your matrix in SageMath isn’t the same as the matrix in your explanation?

It's the transpose of the same matrix.

@Daa52000
Copy link

Daa52000 commented May 31, 2023

Your matrix in SageMath isn’t the same as the matrix in your explanation?

It's the transpose of the same matrix.

It’s not, in the example matrix the 7th row doesn’t match the SageMath 7th column and the the same for the 9th row/column.

By the way great explanation and examples though, you have definitely helped me understand the topic.

Copy link
Owner

By the way great explanation and examples though, you have definitely helped me understand the topic.

Thank you for the kind words.

Also, I think I have fixed the Matrix mismatch now. Thank you for pointing out.

Copy link

Please fix the following lines

N^2+b^2=a^2
So N^2=a^2−b^2
N=(a+b)(a−b)

as follows:

N+b^2=a^2
So N=a^2−b^2
N=(a+b)(a−b)

in the starting of the lines

@RisenCrypto
Copy link
Owner

Please fix the following lines

in the starting of the lines

Done. Thank you for pointing it out.

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

No branches or pull requests

6 participants