Write a function to generate cryptographically secure random numbers.