MCPcopy Create free account
hub / github.com/KmBase/ScienceReading / getRandomInteger

Function getRandomInteger

embedded/site-packages/Crypto/Util/number.py:58–77  ·  view source on GitHub ↗

Return a random number at most N bits long. If :data:`randfunc` is omitted, then :meth:`Random.get_random_bytes` is used. .. deprecated:: 3.0 This function is for internal use only and may be renamed or removed in the future. Use :func:`Crypto.Random.random.getrandbits` ins

(N, randfunc=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

getRandomRangeFunction · 0.70
getRandomNBitIntegerFunction · 0.70

Calls 2

ordFunction · 0.85
bytes_to_longFunction · 0.70

Tested by

no test coverage detected