decode base64 encoded data.