mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-02-24 15:30:48 +03:00
Document where factorization.py comes from
This commit is contained in:
parent
76fa7918a5
commit
76cf208619
|
@ -13,6 +13,8 @@ class Factorization:
|
||||||
"""
|
"""
|
||||||
Factorizes the given large integer.
|
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.
|
:param pq: the prime pair pq.
|
||||||
:return: a tuple containing the two factors p and q.
|
:return: a tuple containing the two factors p and q.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user