MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / random

Method random

src/common/BigInteger.cpp:96–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 }
95
96 void BigInteger::random(int numBytes)
97 {
98 Firebird::UCharBuffer b;
99 Firebird::GenerateRandomBytes(b.getBuffer(numBytes), numBytes);
100 assign(numBytes, b.begin());
101 }
102
103 void BigInteger::assign(unsigned int count, const unsigned char* bytes)
104 {

Callers 3

RemotePasswordMethod · 0.80
executeMethod · 0.80
runTestFunction · 0.80

Calls 4

GenerateRandomBytesFunction · 0.50
assignFunction · 0.50
getBufferMethod · 0.45
beginMethod · 0.45

Tested by 1

runTestFunction · 0.64