Computing the Characteristic Polynomials of a Class of Hyperelliptic Curves for Cryptographic Applications. (3rd May 2011)