Now uses cryptographically secure random numbers