Usually, this number cannot be viewed; however, certain cheating devices can be used to view it, and there are also calculators to determine it. It also comes into play along with the normal ID number and the personality value in determining if a Pokémon is Shiny. -Bulbapedia
So yes, you kind of do need a Shiny Pokemon. But as they said, it's supposed to be a secret.