jediseed's recent timeline updates
jediseed

jediseed

V2EX member #472707, joined on 2020-02-27 13:06:24 +08:00
jediseed's recent replies
@dnd 大佬你好,我运行上面脚本后提示如下错误,该如何处理,谢谢。
D:\>python qifei.py Traceback (most recent call last):
File "qifei.py", line 26, in <module> req = b64encode(cipher.encrypt(data))
File "C:\Users\kd-mkt\AppData\Local\Programs\Python\Python38\lib\site-packages\Crypto\Cipher\_mode_ecb.py", line 135, in en c_uint8_ptr(plaintext), File "C:\Users\kd-mkt\AppData\Local\Programs\Python\Python38\lib\site-packages\Crypto\Util\_raw_api.py", line 238, in c_uint8_ptr
raise TypeError("Object type %s cannot be passed to C code" % type(data))
TypeError: Object type <class 'str'> cannot be passed to C code
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   937 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 20:01 · PVG 04:01 · LAX 13:01 · JFK 16:01
♥ Do have faith in what you're doing.