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

fix encrypt bug~ #7

wants to merge 1 commit into
base: master
Changes from all commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.


Just for now

fix encrypt bug~

  • Loading branch information...
angelwhu committed Nov 27, 2018
commit e5e690c7c7c7c5abaa6e09c6fb05599c4f4dea67
@@ -94,7 +94,7 @@ def encrypt(self, plaintext, block_size=8, iv=None, **kwargs):

block = xor(intermediate_bytes,
plaintext[n - block_size * 2:n + block_size])
plaintext[n - block_size * 2:n - block_size])

encrypted = block + encrypted

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.