From 76cf2086195ed93b558e976a37340c5e94787a3d Mon Sep 17 00:00:00 2001 From: Lonami Date: Thu, 9 Jan 2020 12:51:41 +0100 Subject: [PATCH] Document where factorization.py comes from --- telethon/crypto/factorization.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/telethon/crypto/factorization.py b/telethon/crypto/factorization.py index d06d270f..064756ce 100644 --- a/telethon/crypto/factorization.py +++ b/telethon/crypto/factorization.py @@ -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. """