If you want a much simpler method and don't need true random numbers just an equal distribution of possibilities you can look into this method. Linear feedback shift register - Wikipedia, the free encyclopedia
As it's just as shift register it can be implemented with VERY low code overhead which means it's very fast.