Secure random numbers of any size in any base