Base64 conversion

Mark Smith mark at
Fri Jul 6 15:33:04 EDT 2007

Javier, I'm assuming that what you want to is to convert numbers fom  
base 10 to base 64. If this is right, I don't think there is a way to  
do this easily in Rev. The baseConvert function will only convert to  
a maximum base of 36, so you'll have to do the binary maths yourself!  
(I think Xavier Bury may have done some thing like this, I don't  
remember clearly).

If, on the other hand, to base64encode binary data into an internet  
friendly form for transmission over a network, just use the  
base64Encode function.



On 6 Jul 2007, at 17:16, Javier Miranda V. wrote:

> Something is missing in this stack, it doesn't work, can you take a  
> look? It's supposed to convert a decimal number to Base64.
> I tried 3 ways to do it with no success!
> Saludos,
> Javier
> PS.: Later I would like to ask something about inter-application  
> communications and a couple of things about cryptology, all related  
> to this Base64 thing.
> _______________________________________________
> use-revolution mailing list
> use-revolution at
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:

More information about the Use-livecode mailing list