The random library provides a few convenience utilities to generate random content
General Methods
word
Returns a random word from the Unix standard dictionary
str = random:word()
quote (fortune)
Returns a random quote from www.iheartquotes.com. See the api for possible parameters
qstr = random:quote({"source":"math"})
photo
Returns a random photo from google picasa's public api. See the api for possible parameters
str = random:photo({"q" : "kitten"})
uuid
Generates a UUID
str = random:uuid()
Note that there is no method for generating a random number. That is available from math:random()