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
1第一个问题: AesEcbDecrypt : AesEcbDecrypt([]byte("12312"), []byte("1234123412341234")) 里面用到了:bs:be 的问题: cipher.Decrypt(decrypted[bs:be], encrypted[bs:be]) 如果说bs 的be 超过了encrypted 的长度, 那么最喜欢的painc 来了! 第二个问题 slice.deleteat(slicedata,slicedata.indexof(slicedata,"123123")) 存在一种可能。 slice的底层数据没有删除干净。
The text was updated successfully, but these errors were encountered:
@supermigo,可以尝试提PR修复,近期工作比较忙,精力有限。
Sorry, something went wrong.
if index >= len(slice) { index = len(slice) - 1 } 不如多判断一个index < 0?
No branches or pull requests
1第一个问题:
AesEcbDecrypt :
AesEcbDecrypt([]byte("12312"), []byte("1234123412341234"))
里面用到了:bs:be 的问题:
cipher.Decrypt(decrypted[bs:be], encrypted[bs:be])
如果说bs 的be 超过了encrypted 的长度, 那么最喜欢的painc 来了!
第二个问题
slice.deleteat(slicedata,slicedata.indexof(slicedata,"123123"))
存在一种可能。 slice的底层数据没有删除干净。
The text was updated successfully, but these errors were encountered: