MCPcopy Create free account
hub / github.com/ElementsProject/elements / rand32

Method rand32

src/random.h:217–217  ·  view source on GitHub ↗

Generate a random 32-bit integer. */

Source from the content-addressed store, hash-verified

215
216 /** Generate a random 32-bit integer. */
217 uint32_t rand32() noexcept { return randbits(32); }
218
219 /** generate a random uint256. */
220 uint256 rand256() noexcept;

Callers 7

roundMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
FUZZ_TARGETFunction · 0.80
InsecureRand32Function · 0.80
FastRandom_32bitFunction · 0.80

Calls

no outgoing calls

Tested by 5

BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
FUZZ_TARGETFunction · 0.64
InsecureRand32Function · 0.64