From 7ed95b283b707dac124c4fdc96d9f259e5297621 Mon Sep 17 00:00:00 2001 From: "Andreas M. Antonopoulos" Date: Wed, 14 Mar 2018 10:23:46 -0600 Subject: [PATCH] Errata 166266 --- code/ec-math.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ec-math.py b/code/ec-math.py index 668fa455..7dcaa9ea 100644 --- a/code/ec-math.py +++ b/code/ec-math.py @@ -23,7 +23,7 @@ def random_secret(): convert_to_int = lambda array: int("".join(array).encode("hex"), 16) # Collect 256 bits of random data from the OS's cryptographically secure - # random generator + # random number generator byte_array = os.urandom(32) return convert_to_int(byte_array)