This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 27th, 2013  |  syntax: None  |  size: 8.76 KB  |  views: 25  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. You'll find the python code here : http://pastebin.com/H6Hg98kc
  2.  
  3. # private key attributes generated by mega:
  4. ----------------PRIVKEY----------------
  5. rsa_p = [145710863,100674909,123331974,225602004,165944346,150483715,156372665,222351574,231232717,28187094,226422830,55853215,200575183,212535027,26219611,161042207,98692176,218258707,121591439,222518013,58550119,141313442,226532798,106894867,133951214,95814467,139814238,89851648,244745663,169559875,35013025,171235105,116588855,64493993,96454920,88274657,52964]
  6. rsa_q = [28613831,55097110,121043484,26897244,107429460,29172080,71041993,23929199,52588216,204219788,137790489,252418398,79744680,159908996,218864155,235980045,252030435,74116685,169845477,162515874,237145431,139563561,29089365,208830694,257293543,193987814,102506907,29306379,237571337,243319690,46633317,117990313,176210135,170332774,174306025,51477143,52570]
  7. rsa_d = [169962413,78125858,155721946,204011471,91395235,99413985,240955153,176645724,197436998,217242963,19146987,81487530,65015951,232313018,246982057,254158494,13001703,26659644,161809049,84695463,1563226,26978861,197982823,213893490,23962564,114528073,139348515,176295358,118178714,123529091,164325656,173049251,134386641,56791558,90958983,194686876,49956095,217647439,262986467,224067584,187415404,209395988,115629806,8343114,92642967,130299122,187553844,43433845,183776328,134042258,103648988,221393627,158934409,72842437,242462364,184979727,62090439,78093078,253574488,124025457,206172799,126435711,144020835,84853029,40456994,128163345,2657001,120283242,52838460,163863197,124692027,177040977,222919530,1]
  8. rsa_u = [144002529,107856631,126977661,178753085,157981647,193750222,79450969,101124216,14108878,103022799,260773910,175702529,204364983,97589431,126714780,66625336,117906771,86938320,224350650,182121357,192884153,118083750,123700951,215541787,225392477,208968704,197280043,97211702,46094398,41835920,153505979,157332431,145099363,2143681,238485992,265862954,2434]
  9. ----------------PUBKEY----------------
  10. rsa_pq = [63703209,240571277,53057996,245343945,254409230,206130800,71692943,263009876,60453312,121273064,204277461,233163372,22394190,167750210,212992996,137162502,66484993,85532768,224091523,149146965,215075348,254800245,214304518,96132910,258597169,222966813,47699394,223380206,167733044,39135927,118040210,17139049,70059955,198731658,159845786,169235609,193711591,159593664,58600885,17017520,167235774,202313930,118364659,47277648,256541357,112012295,168020265,246125125,236092824,133223401,139951841,180822064,184800439,54859871,210733088,153433604,262367339,84613501,94744820,165940016,184049191,641150,100290185,33441407,229256301,189388043,15056341,144734126,30982486,33773264,80238759,108447352,99990364,10]
  11. rsa_e = [17]
  12.  
  13.  
  14. # Then mega encode these attributes with mpi
  15. Hex(mpi(p))=40cee4542f6e15bfc983d819a96f3137a34d72121641a1a1b4743e9685bf55b070855655e5b603437fbeeee65f1613d809dbe86c45a237d6767d435afd73f568fd025d135e1ec509994f1f190145bcab06f3bf488cf35449fd7ef02e1ae19d6dc854cdd4dd6952eb98f833039e41c1ad7269d4759e586602d5d8af5ff
  16. Hex(mpi(q))=40cd5a3117a97a63b2e9a271266a80c0d770863a92c79165e8c38ae29d91bf2e0b61c219bb904e6f55fce7c728e61bbde558519229e228d579afcba2a1fa2e546aee4df5ade3e1c50ddb9a1b98804844c0cea8f0b995e8368419c2c258c3226eb816d216f43c3c91bd2176673e5419a6b5c736fa1c348b7161b49cc7
  17. Hex(mpi(d))=7fd1d497b6aa8d6e5176ea63b9c45a9d326403c72b66a0288ae97a39e11269532250ec1258959563789417fc49f27f7647a71f1d3d584a79b163b36cc7b06910fe73ae9c4577cc59792589d3232db62d8edc7fd5292af43448296bf75b2dd8347c434f25859e977f4e4a6e45eeec7b2114b2bbb6cd5b00facdae3cf9094f2fa44ffb9aaf9c56bec8736292068293d1a585a39cb691875ce7837b439aa820dbe84e4a236d38f4916da3c4cbfc172bccfa6719baa2d017da5a50c59a79a5299196cb3c0c663e7f26269eeb8a5a9dd8dba3e0108f4db66aa12428ebcf2dd53bc4a646a87665ce5caf115ecefe157294a3c28f7cf94820da4a81b22a216bad
  18. Hex(mpi(u))=3fc982fd8bf2ae371e82b5c18a6a6396b3cf92650bb27e5d92bf583e5cb5536bc2412bc749c0d6f375dcd8e81b75f86d7709da6b7f2db9adaf38dd5f51ba52e92d771d533f89f3878d839c5d118b7c2e5cb7a790201f8b18166240cf0d748ce60708784bc5359b8c64ce96a9bcfaa78e3d791867d66dc2f78954de1
  19. ----------------------------
  20. Hex(mpi(pq))=80a5f5bb5c676c6784c858a720356d1d8c1568a77ae0e5bdd5b49d50bdaa2c6d1fe467f5fa4e8909c87eaf85e279e40b35a5b0f450b197dfa3686b9253604c8f8820345185fb3d4b7ac7238577ee17fd3e9e127d98eab9245a3c9296ad2c07f4a82ad2d16657e19f3c0f1ca9f7d0be103aab37e2db598334cb8bcde7a165499987d9abd8678a42d7b310585697926922552ab79ff6734d582ee2d7d5c2d4a341df69e1315badf2ecc676f2ff175cd1ca148e3cd55d5b5d83519263f67b182cef06cb23e49ffaa42155b54ede5ca6cc2d6d573a7ae839a71c0fad3654445f28fc494e7f29faee9fa6c932999cce56d38d3cc8a9
  21. Hex(mpi(e))=0511
  22.  
  23.  
  24. #Example of what i get using python :
  25.  
  26. rsa_p = 152637667464617984397755366235863339798380268923345991075809612368918167898365057747561353522226929397481132857304391251657178335981376673892848075759287657654257554134439636710876135965747066890039661673207837465124003285862949268708330265284406266214722751958399795908143814902518910412153420131866422790411
  27. rsa_q = 168010927590434988957783739148017416917199985811753364272512555409219505416114673989788617174129156202949221912463659486854537030890886177877638120851009710256929932283202169713654636008222028023284577205030542189184409555887239481522015495343567798394317376927909161256857788621048145510088253986499882459329
  28. rsa_d = 10559621921870340432050824238502818632075393913271357622921440425859321313859776345412651502319682861624942702151564134657987924901372637508901176561940240145548871431031413544276513880483105573430641007258972971294273052061296370081802910890659728734657894552606436380349992346871949992076866179845536775172007186146566654104292800480974795696341720124933470675178743086469985644057295625057947605210589916540791618189494051816476704809240353529762961300296205474203765377948004525787922279252573717488124149781730601464454788727616942412394370952551103907874738405196738477524733913839852601244186466506579626712433
  29. rsa_u = 79553257826409161225315854743699271388565463761931072194839976522762361393793138533278053974962511367627256602945260981157388034565364966388910017636845346764215063644868412582772858667986613333555050493729716625019088407059192058097120062622995526521804005403889762018369087124040555908599798456879612674226
  30.  
  31. ----------------PRIVKEY----------------
  32.  
  33. rsa_pq = 25644796095970826763552001722078273820754528075087582798523498177086923190802313981716439362776372663946289419510941469883684960474762119664474285936140583210618687761076290036100105138316113535474413874771791501714663126434576898770092783591602198355597743913472774066564267128117592837900960722482017882560909529236716927226638054559179813162116900558144956709353841092062388523167911964020937011922074454342352856087110748007097998475027407138337677925901082090977474832862795654766627735873076694527340031205298411782270042608819906037473818073966369269447690541506959545439355394277494801800980235634345398694219
  34. rsa_e = 17
  35. Hex(mpi(p))=40d95cfe2f9011398b5026823678c83cf77bd046731a23bde98820e4d04222fd2a8ddb75bd150f6020f87a36b02517c1a0ac72e5b3d53c6c36925e4050b08783d7bc8fb8b541bbd666309206e46032e0ccf00156b07376082ade3bcabdf70873ddc5c90535c4b05de6f84289d4aa1942df2b47e62c4b366730f2243c8f7337c90b
  36. Hex(mpi(q))=40ef41689f845829a6edc7c77ddf649602dea1a1799e8bd15238e491877e6c6bd19f3b4f301b2e156857c3ce25b338f57d12dc1b0dd738aced30d3cefc4674c3dd9812e913f0c69f600d467fbbde37df025c98474d7ab57de9c196d8184802c92b7fae745136773a6157f96687fbe5d49c25517f1f8ab355e9ce704fec3d5d20c1
  37. Hex(mpi(d))=8053a5f8310238cd594791f743d93f8fd929ccb506c492b93eb712bdf55eccf9168469f82383e4b9c9d8ba397f97c42f2ffe56dda58d863eb7467a886aede8c8e792880332fe4718619d2e9b5a1005952a9d4388cf343dce95ed1f73b71f433a8cddd14068439482b641d6612b5c7e51ddd0c0dec7e5e6d6b6ae025cd75c23d9ea8a361824b2e468bbc6f01a8454c2bc8ce9df34db488d56ef1dd9a83951cfb0de5a925b704ae202e072ae153610852779208e5083a99033578f69f4da76ccd009955efc65e20554281fc679a5855c6ad745cde1696a41728209de05f3384441555ebbc2815fe0bdddd91eb4a325e6e02214765eec40dfaf086d3d9d27dc305d71
  38. Hex(mpi(u))=407149a02053d8fd69a391049e5b147eeb18ab5118e04a7bd328a7e1d0b1026257f4f46ece17057b140e7ba1bac0af3a284f4fdca771a8de5995ef45fe73550cb19a80acbaf153b68a7a4ac1101a511709862638220ad844227a8d46a635c3f48e68389320ab8e436d5283b48f447f58b6f554d555a3144e1b8a41aa18cb43c0b2
  39. ----------------PUBKEY----------------
  40.  
  41. Hex(mpi(pq))=80cb255ac029f7a98fadd033edeb081433f7cc93106fad78bce12d842f53f1caa46625ece889749ea10e568ba39525972b69ae636d7c4606063d72b903af7e7a3263dc9a0e2063845ac6dee6ff4b7b45b0a27f70d2a37187fe6470f4739510fbe863d79c6aed4418df322d352029c50ff61f8b419c52e777295d7373c1dfc4c816cf21c603a24af3d5b359f7d12605c17524b48cdcb206d012c05f33753e1a1685e47a35470aab7c85d47713c6dbdd3b8d0e5f7b25ff1c71418d3361f1ce5b658376402b52e9b3f9031d4cd29ff0020c6c63d6c16ba7139c2bdc5b8cb73567dbb406f651e5bf6df7ac3af4395694545c605db8de1be12d8ac180bc77dc7e2ef14b
  42. Hex(mpi(e)) = 0511
  43.  
  44.  
  45. I just need a link between the long int (Python) and int Array in JS
clone this paste RAW Paste Data