Matt Cheung <mgcheung at gmail.com> writes: Is there a way to convert an mpz_t to a byte array? Yes! The fine manual describes these functons, as well as all other public GMP functions. -- Torbjörn