encode,decode base64 wrapper