Move random number generation details to the quickrand application.