faronzz
2017-09-08 07:49python 调用Crypto报错
Traceback (most recent call last):
File "f:\pythonproject\webservice\test\aesClass.py", line 18, in
print('Python encrypt: ' + base64.b64encode(encrypt_token('dmyz.org')))
TypeError: Can't convert 'bytes' object to str implicitly
- 点赞
- 回答
- 收藏
- 复制链接分享
1条回答
为你推荐
- sha1的go与python和openssl的不同
- python
- sha1
- openssl
- encryption
- 2个回答
- 在“ crypto / rand”成功之前生成随机字符串是个好主意吗?
- random
- hex
- 2个回答
- 外部链接crypto / rc4.a失败
- it技术
- 互联网问答
- IT行业问题
- 计算机技术
- 编程语言问答
- 1个回答
- 无法通过Python验证RSASSA-PSS签名-> Go
- python
- pycrypto
- rsa
- 1个回答
- crypto / ssh ParsePublicKey“短读”错误
- ssh
- 1个回答
换一换