diff --git a/shamirss.py b/shamirss.py index f75492c..f090159 100644 --- a/shamirss.py +++ b/shamirss.py @@ -24,9 +24,11 @@ import functools import operator -import random +import secrets import unittest.mock +random = secrets.SystemRandom() + def _makered(x, y): '''Make reduction table entry.