pastebin

Paste Search Dynamic
Recent pastes
long to bytes
  1. from Crypto.Util.number import inverse, long_to_bytes
  2.  
  3. c= 421345306292040663864066688931456845278496274597031632020995583473619804626233684
  4. n= 631371953793368771804570727896887140714495090919073481680274581226742748040342637
  5. e= 65537
  6. p=1461849912200000206276283741896701133693
  7. q=431899300006243611356963607089521499045809
  8.  
  9. phi = (p-1)*(q-1)
  10.  
  11. d = inverse(e, phi)
  12.  
  13. m = pow(c,d,n)
  14.  
  15. print(long_to_bytes(m))
Parsed in 0.005 seconds