RE: Calculating very large exponents in python

2010-03-07 Thread Fahad Ahmad
5:40:59 -0500 > Subject: Re: Calculating very large exponents in python > From: [email protected] > To: [email protected] > CC: [email protected] > > On Sun, Mar 7, 2010 at 1:55 PM, Fahad Ahmad wrote: > > Dear All, > > > > i am writing my cry

Calculating very large exponents in python

2010-03-07 Thread Fahad Ahmad
Dear All, i am writing my crytographic scheme in python, i am just a new user to it. I have written the complete code, the only point i am stuck it is that i am using 256 exponentiation which is normal in crytography but python just hangs on it. g**x [where both g and x are 256 bit numbers ,