Used LCG algorithm and its parameters are documented in various places. Parts that were not obvious - negative argument handling in Rnd(), and Randomize() use of current state were taken from LGPL2 FreeBASIC rtlib.
-- v2: vbscript: Implement PRNG functions.