Text to base64 encode & decode