Most generators use complex algorithms to produce numbers that are as random as possible within the limitations of computer systems.