Pseudo Random Number Generation and Random Event Validation