Here's a link that could be usefull for Base 64 Encoding/Decoding :

http://www.antionline.com/tools-and-toys/encrypt-text/index.php