Link to home
Start Free TrialLog in
Avatar of peterwest
peterwest

asked on

MrMick - Decoding Base64 files!!

Hi there,

MrMick very kindly answered a question of mine a few day ago and provided me with a routine to encode a file into base64.  I've used this routine and it works fine but would now like the ability in my app to decode these files as well.

Has anyone got a VB sub that will do this?

Thanks

Pete
Avatar of clifABB
clifABB

Most encryption routines will decrypt if the encrypted object is run through the encryption again.
Make a backup of the file first!
Avatar of peterwest

ASKER

I don't think Base64 will decrypt the file by running it through again!!!  I've already tried that and it didn't work.
ASKER CERTIFIED SOLUTION
Avatar of sbmc
sbmc

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks,

I've already got the necessary routine to decode Base64 but it is useful to understand how it works - maybe i'll even write my own routine as the one i'm using at the moment is a little convoluted and inefficient (or at least it would appear so).

Pete

Thanks,

I've already got the necessary routine to decode Base64 but it is useful to understand how it works - maybe i'll even write my own routine as the one i'm using at the moment is a little convoluted and inefficient (or at least it would appear so).

Pete