GLBasic forum

Main forum => GLBasic - en => Topic started by: amarliani on 2009-Feb-15

Title: base64
Post by: amarliani on 2009-Feb-15
To Ian Price:
in a thread in january you mentioned that you have an example of how to use base64 to encrypt/decrypt a file. Could you please post it? I could very well use that for my actual project, and I think several of us too... THX in advance, Achim
Title: Re: base64
Post by: Moru on 2009-Feb-15
I needed base64 encoding/decoding earlier and wrote my own code for it, don't know how compatible it is with other software but try it out and see if it works for you.

http://gamecorner.110mb.com/index.php?page=base64-encode-decode-library (http://gamecorner.110mb.com/index.php?page=base64-encode-decode-library)
Title: Re: base64
Post by: amarliani on 2009-Feb-15
PERFECT! At first glance this seems to be exactly what I need, and it seems to work fine for me. Thanks al lot!!! =D
Title: Re: base64
Post by: amarliani on 2009-Feb-16
Yep, I gave it a try and it worked perfectly for me with very little changes in your code. Thanks again!
Title: Re: base64
Post by: Moru on 2009-Feb-16
Great to hear someone else had use for it :-) Did you have to change anything in my decode/encode routines or what was it?
Title: Re: base64
Post by: Ian Price on 2009-Feb-17
Sorry - I completely missed this post. At least you managed to get a solution :)