Handbook of Elliptic and Hyperelliptic Curve Cryptography (Discrete Mathematics and Its Applications)