Error b64encode a bytes-like object is required, not 'str' python3

前端 未结 0 1925
执笔经年
执笔经年 2020-12-17 02:29

I am getting an error when converting base 64 into python, i can\'t find the solution

uniq_token_hash = hashlib.sha256(uniq_token_string.encode(\'UTF-8\')).he         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题