I've been trying to reverse engineer Mega's (mega.co.nz) API calls. And stopped on the step where client needs to decrypt session id with provided RSA key. I can get key data, but I have no idea how to convert this data into actual key.
Here is my Base64 encoded private key:
BACLkf9qj1yTiX+Jrc7nlp8GMbTh9XnksdQgImr1kRazEsWy28hgOOqjPrsUTe0HtG7UKJzltzBd
1cDQI40qWmmCfsRmKiwNJazfCpDgI21LMveudU9O5djvqgGz8YNVVaOhg//IFAppnb6NHlY51qnP
tEJef47K/2rWMFXUZ8DjrQQA7TTQIUYutrF83GidNT2Od1d+v5hrcCLKzjBYbUIIX1ntI3gFmJyu
TnWL/x5ftzlPhADqdjnmHP1R0MmUheE2EngZvh7H8GumpPnuxhbS7zWAMFHRsagrw8rN4pWtnH1Q
9sZ3mmFTuVvqz547cc2d++7Od7s/hUGZvZEKBQgD4McH/i2kzsuiWCLsyJ74PcQTcQnkZeHsV53T
6s4pAUV9yyfz0VYu+84W1SKclSnhAkZNOFDz56oG7BQZqkP4uJoX6Uf3woikjDdGEYMh1nAJj5KR
G+8WhrvUftSCOMJdgfoFpZZGAIZfvrBjRaevvceh10YzNb8l+fd3ucF9v9IPj3/XMMoWNltDm7YC
gA1PZj6aU3hum47PZu2oQnsCtSER004lwHC28rHgJP2QVl22W7A7hd7/Tn/MMYXmhC8sKu6cVVew
rx0T3yBVmpILpQ2MRFHHwucXBQLPfvgxiC/c1Pnr1GqZf6FgpZSSbUhLkkfpchRyQyzhNaA5NhsN
V2+PCCEEAJTTXts5/Emt/84BEzXC5gg7o0kdR0Z3NxnkLTILpY0IxhnRA6wxO4pDRbsqc85DzSnO
obTWb2tOkw/AdpEzcH3HCPNaKjMuCMHyItv69426NqMVSruqHniNxafCNeHGTofYsKky05Wiv+G0
DWOBnGYf2A+sLAgoGFGBZ53QaI90LS0tLS0tLS0=
From what I understand, it consists of four parts(big integers): p, q, d, u. I know that to get generate private key we need modulus(p*q) and private exponent (d)
So I'm wondering, is there standard private key format for this key, or they just using some internal encoding?