A Randomized Approach for Tight Privacy Accounting