Generate a cryptographically secure uint