import base64

str_A = "待加密的字符串AABBCC"
eStr_A = base64.b64encode(str_A.encode())
print(eStr_A) # b'5b6F5Yqg5a+G55qE5a2X56ym5LiyQUFCQkND'
dStr_A = base64.b64decode(eStr_A).decode()
print(dStr_A) # 待加密的字符串AABBCC

 

相关文章:

  • 2021-07-22
  • 2021-12-07
  • 2021-11-13
  • 2021-10-29
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-14
  • 2021-06-15
  • 2021-11-09
相关资源
相似解决方案