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

Modifying provided key #11

Open
sb8244 opened this issue Jun 10, 2017 · 1 comment
Open

Modifying provided key #11

sb8244 opened this issue Jun 10, 2017 · 1 comment

Comments

@sb8244
Copy link

sb8244 commented Jun 10, 2017

Howdy, I was wondering if someone would be able to elaborate on this line: https://github.com/chicks/aes/blob/master/lib/aes/aes.rb#L155. I'm wrapping my head around AES and was confused by the modification of the key here. If a key is 256bit, is it necessary to do this?

@pedro
Copy link

pedro commented Oct 13, 2017

+1, spent a lot of time debugging why I couldn't decrypt a string generated from another language, everything just worked once I removed that key modification.

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