...
I'm hoping pbies can tell me where the private key comes from.
...
I am gathering many things related to Bitcoin (WIFs, addresses, pvks, pubkeys, seeds hex, mnemos) and surroundings and as I can recall I was converting addresses<=>WIFs when I stepped into that 5JgC6gcHCkyBqmgbyarpFHBHzpfNkZYKNJA3piM42ZYbvCUc1fW WIF.
As I remember it was some stupid conversion like making WIFs from addresses or the oppostie using Base58Check both ways and so on.
That's all the story.