B.11 Generation of Pseudorandom Numbers

Team-Fly

B.11 Generation of Pseudorandom Numbers

 void seedl (const LINT& seed); 

initialization of the 64-bit random number generator based on linear congruences with initial value seed

 LINT randl (const int l); 

return a LINT random number of length l bits

 LINT randl (const LINT& rmin,      const LINT& rmax); 

return a LINT random number r with rmin r rmax

 int seedBBS (const LINT& seed); 

initialization of BBS random number generator with initial value seed

 LINT randBBS (const int l); 

return a LINT random number of length l bits

 LINT randBBS (const LINT& rmin,      const LINT& rmax); 

return a LINT random number r with rmin r rmax


Team-Fly


Cryptography in C and C++
Cryptography in C and C++
ISBN: 189311595X
EAN: 2147483647
Year: 2001
Pages: 127

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net