I'm no expert, but the way you get a private key is with math. You know who has a really good explanation on this Andreas Antonopoulos