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

plaintext block must be a multiple of segment_size #17

Open
cjhust opened this issue Oct 13, 2017 · 2 comments
Open

plaintext block must be a multiple of segment_size #17

cjhust opened this issue Oct 13, 2017 · 2 comments

Comments

@cjhust
Copy link

cjhust commented Oct 13, 2017

why CFB mode need text is a multiple of segment_size?

golang and C don't need this limit

@ricmoo
Copy link
Owner

ricmoo commented Oct 13, 2017

Do those libraries automatically pad the content?

There is currently a discrepancy between what This library uses for segment size, which is this library only works on multiples of 8 bits, but the segment size should be specifyable in bits instead of bytes. This is something I will address soon.

@Varbin
Copy link

Varbin commented Mar 2, 2018

@ricmoo PyCrypto(dome) does also not require this. Oh wait it does (it just has a default value of 8...)

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

3 participants