Implementing Elliptic Curve Cryptography by Michael Rosing