We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我使用下面的代码生成随机 iv,使用了很长时间后,遇到偶发的Decryption Failed报错。
Decryption Failed
iv = bytearray(Cryptodome.Random.get_random_bytes(16)) for i in range(len(iv)): iv[i] &= 0x7F # ensure ASCII req_json['iv'] = iv.decode()
测试后发现,如果 iv 参数中存在 \r\n 会引起 Decryption Failed 错误。单独的 \r 或者 \n 都没有问题。
\r\n
\r
\n
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我使用下面的代码生成随机 iv,使用了很长时间后,遇到偶发的
Decryption Failed
报错。测试后发现,如果 iv 参数中存在
\r\n
会引起Decryption Failed
错误。单独的\r
或者\n
都没有问题。The text was updated successfully, but these errors were encountered: