Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
round
Method · 0.80
BOOST_AUTO_TEST_CASE
Function · 0.80
BOOST_AUTO_TEST_CASE
Function · 0.80
BOOST_AUTO_TEST_CASE
Function · 0.80
FUZZ_TARGET
Function · 0.80
InsecureRand32
Function · 0.80
FastRandom_32bit
Function · 0.80
Calls
no outgoing calls
Tested by
5
BOOST_AUTO_TEST_CASE
Function · 0.64
BOOST_AUTO_TEST_CASE
Function · 0.64
BOOST_AUTO_TEST_CASE
Function · 0.64
FUZZ_TARGET
Function · 0.64
InsecureRand32
Function · 0.64