RNG is short for "Random Number Generator" it's one of the Legit/Legal methods , of obtaining Shiny a/o Flawless Pokes
I have a link on the front page of my thread on a guide of "How to RNG"
Although it is very very difficult at first , it's very rewarding in the end