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

Why not include CBC mode? #5

Open
pinpoy opened this issue Mar 1, 2021 · 1 comment
Open

Why not include CBC mode? #5

pinpoy opened this issue Mar 1, 2021 · 1 comment

Comments

@pinpoy
Copy link

pinpoy commented Mar 1, 2021

I have a question.

@balena
Copy link
Owner

balena commented Mar 4, 2021

Hey @pinpoy,

Nothing wrong with CBC mode, just that it involves a completely different set of tables. Check here: https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation.

Long story short, CFB, OFB and CTR involve just the "block cipher encryption" while other modes (like CBC) require the "block cipher decryption". Each of these blocks involve different kinds of tables, being the decryption block more complex to implement.

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

2 participants