deprecated base64Encoding