Ejemplo n.º 1
0
 def getRandomBytes(howMany):
     s = win32prng.getRandomBytes(howMany)
     if len(s) != howMany:
         raise AssertionError()
     return stringToBytes(s)
Ejemplo n.º 2
0
 def getRandomBytes(howMany):
     s = win32prng.getRandomBytes(howMany)
     if len(s) != howMany:
         raise AssertionError()
     return stringToBytes(s)