(a2b_hex)binascii.Error: Non-hexadecimal digit found

技术分享图片

 

 

 

HEX_CHAR = [‘0‘, ‘1‘, ‘2‘, ‘3‘, ‘4‘, ‘5‘, ‘6‘, ‘7‘, ‘8‘, ‘9‘, ‘a‘, ‘b‘, ‘c‘, ‘d‘, ‘e‘, ‘f‘]

错误:16进制字符串转化错误

原因: key不是16进制的字符串 含有HEX_CHAR 之外的数据

文章来自:https://www.cnblogs.com/shmily3929/p/11637437.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3