Arbitrary Precision Integer Calculator


a:  This calculator makes precise calculations with large integers, like 10300 or 21000, computing entirely inside your web browser.

(ab mod m) beyond a 1024-bit exponent, or generating primes bigger than 512 bits, can take a very long time.

b: 
m: 
op: 
The result of an operation is stored into “c” and also pushed onto the stack.
c: 
time:  0 seconds

stack:  The top value on the stack is copied to “c”.

Use the text box to give a stack item a name.

values:   

Don’t use results from this calculator, nor the source code as-is, for any serious cryptography. Copyright © 2009 Andrew Birrell.