aes icon indicating copy to clipboard operation
aes copied to clipboard

Modifying provided key

Open sb8244 opened this issue 8 years ago • 1 comments

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?

sb8244 avatar Jun 10 '17 03:06 sb8244

+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.

pedro avatar Oct 13 '17 18:10 pedro