Skip to content

libsodium.RandomUInt32

Andrew Lambert edited this page Jan 7, 2017 · 6 revisions

libsodium.RandomUInt32

##Method Signature

 Protected Function RandomUInt32(Optional UpperBound As UInt32) As UInt32

##Parameters

Name Type Comment
Upperbound UInt32 Optional. The maximum value of the returned number

##Return value An unpredictable unsigned 32-bit integer.

##Remarks Generates a unpredicatable UInt32. If Upperbound is specified then the return value is in the range 0-Upperbound (exclusive) with a "best effort" guarantee of a uniform distribution.

##See also

Clone this wiki locally