See the RSL random() function in the RenderMan documentation.

VOP nodes