10.12.2012 Views

Prime Numbers

Prime Numbers

Prime Numbers

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

462 Chapter 9 FAST ALGORITHMS FOR LARGE-INTEGER ARITHMETIC<br />

powers are available. In the case of elliptic multiplication, let us say we<br />

desire “exponentiation” [k]P ,whereP is a point, k the exponent. We need to<br />

precompute, then, only the multiples<br />

{[d]P : 1 0. We also assume that the (total of (B − 1)(D − 1)) values<br />

{x iBj<br />

have been precomputed.<br />

1. [Initialize]<br />

z =1;<br />

2. [Loop over digits]<br />

for(0 ≤ j

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!