VBScript (and a few PowerShell) programs to generate pseudo random numbers. We also briefly discuss precision in VBScript programs and when various VBScript functions will raise overflow errors. Several random number generators are compared using the Diehard battery of randomness tests.

VBScript program that duplicates the VBScript Rnd function. Generates pseudo random numbers using a 24-bit Linear Congruential Generator.

VBScript and PowerShell programs that generate pseudo random integers from a 32-bit Multiply With Carry Generator.

VBScript and PowerShell programs that generate pseudo random integers from a combination of 12 32-bit Multiply With Carry generators.

Discussion of precision in VBScript and ranges of values that can be handled by various functions without overflow.

Results of randomness tests on various pseudo random number generators. The Diehard battery of tests were used.

VBScript programs to Base64 encode hexadecimal strings, text strings, or files. Also VBScript programs to decode Base64 strings.