Random Number Generators and Functions Related to Randomness