检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
json_k = ['nonce', 'header', 'ciphertext', 'tag'] json_v = [b64encode(x).decode('utf-8') for x in [cipher.nonce, header, ciphertext, tag]] result = json.dumps(dict(zip(json_k, json_v))) print(result) To execute the script, run the following command on an ECS
You can set up the Huawei Cloud EulerOS environment using the following methods: Buy a EulerOS ECS on Huawei Cloud by referring to Purchasing and Logging In to a Linux ECS.