Quite regularly, there is a question on the mailing lists about random numbers, mainly for a unique identifier for a document.
Such random numbers are indeed not a big problem to implement, because JavaScript has the Math Object (because it is part of the Core, it is not described in the Acrobat JavaScript documentation), which contains the Math.random() method.
