GMP and MIME-Base64

João Paulo Just jp at justsoft.com.br
Thu Jul 27 19:16:52 CEST 2006


Hello all.

I'm currently using base 36 numbers to calculate with GMP:

x = mpz_get_str(NULL, 36, n);

But, according to the manual, base can be from 2 up to 62. I'd like to now if there is a way to get Base64 numbers from mpz_get_str() and also with mpz_set_str().

Thanks in advance.

--
João Paulo Just Peixoto
Justsoft Informática e Publicidades Ltda.
http://www.justsoft.com.br/
--
Ilhéus, BA, Brasil
+55 75 8104 8473



More information about the gmp-discuss mailing list