Skip to content
New issue

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

In the use case, an error occurs when blocksize is greater than or equal to 65 #2

Closed
fsssosei opened this issue Jul 26, 2021 · 1 comment

Comments

@fsssosei
Copy link

fsssosei commented Jul 26, 2021

Traceback (most recent call last):
    ......
    in medium_encrypt
    s1 = m_add(ptxt[1], kx[blocksize+1]) & lmask
IndexError: list index out of range

The ptxt of the incoming function exists only ptxt[0], not ptxt[1]

@fsssosei
Copy link
Author

A patch has been submitted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant