diff options
Diffstat (limited to 'src/common/crypto.py')
-rw-r--r-- | src/common/crypto.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto.py b/src/common/crypto.py index b9d90151e..17a010976 100644 --- a/src/common/crypto.py +++ b/src/common/crypto.py @@ -90,7 +90,7 @@ def srand(bottom, top): return (decode_mpi(random_bytes(bytes)) % (top - bottom)) + bottom # a faster version of (base ** exp) % mod -# taken from <http://lists.danga.com/pipermail/yadis/2005-September/001445.html> +# taken from <http://lists.danga.com/pipermail/yadis/2005-September/001445.html> def powmod(base, exp, mod): square = base % mod result = 1 |