The two main types of RNGs are TRNG (True Random Number Generator) and PRNG (Pseudo Random Number Generator). TRNG uses hardware to generate randomness through a mechanical process and PRNG is a software algorithm that will generate random numbers through a condition that is generally known as the ‘seed’.