diff --git a/lib/Crypto/Random/_UserFriendlyRNG.py b/lib/Crypto/Random/_UserFriendlyRNG.py index 957e006..34e2a31 100644 --- a/lib/Crypto/Random/_UserFriendlyRNG.py +++ b/lib/Crypto/Random/_UserFriendlyRNG.py @@ -74,7 +74,7 @@ class _EntropyCollector(object): self._time_es.feed(struct.pack("@I", int(2**30 * (t - floor(t))))) # Add the fractional part of time.clock() - t = time.clock() + t = time.perf_counter() self._clock_es.feed(struct.pack("@I", int(2**30 * (t - floor(t)))))