Document where factorization.py comes from

This commit is contained in:
Lonami 2020-01-09 12:51:41 +01:00 committed by GitHub
parent 76fa7918a5
commit 76cf208619
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,8 @@ class Factorization:
"""
Factorizes the given large integer.
Implementation from https://comeoncodeon.wordpress.com/2010/09/18/pollard-rho-brent-integer-factorization/.
:param pq: the prime pair pq.
:return: a tuple containing the two factors p and q.
"""