MCPcopy Create free account
hub / github.com/rthalley/dnspython / random_32

Method random_32

dns/entropy.py:91–92  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

89 return self.random_8() * 256 + self.random_8()
90
91 def random_32(self) -> int:
92 return self.random_16() * 65536 + self.random_16()
93
94 def random_between(self, first: int, last: int) -> int:
95 size = last - first + 1

Callers 2

test_poolMethod · 0.95
test_pool_randomMethod · 0.95

Calls 1

random_16Method · 0.95

Tested by 2

test_poolMethod · 0.76
test_pool_randomMethod · 0.76