Random number generator (3)
I believe the answer is:
die
'random number generator' is the definition.
(I've seen this in another clue)
This is the entire clue.
(Other definitions for die that I've seen before include "A device used for casting metal" , "Cube with spots on the six faces" , "one proverbially straight" , "a block?" , "Give out" .)