Handbook of elliptic and hyperelliptic curve cryptography. (2006)