SHARE
TWEET

Untitled

a guest Dec 15th, 2018 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. qinv = modinv(q,p)
  2.  
  3. m1 = isqrt(c)%p
  4. m2 = isqrt(c)%q
  5.  
  6. h = (qinv*(m1-m2))%p
  7. m = m2+h*q
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top