Browse Source

use secrets, Python hasn't turned off this foot gun yet..

main
John-Mark Gurney 1 year ago
parent
commit
b74f9184d2
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      shamirss.py

+ 3
- 1
shamirss.py View File

@@ -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.



Loading…
Cancel
Save