dhuertas / AES

AES algorithm implementation in C
MIT License
615 stars 323 forks source link

openssl cmdline tool compatible #1

Closed denisdemais closed 8 years ago

denisdemais commented 8 years ago

Hi.

is possible decrypt the generate files using openssl cmdline tool ?

dhuertas commented 8 years ago

Short answer is no.

There is no mode of operation implemented here. With this code you're "stuck" ciphering/deciphering blocks of 128 bits, one at a time... unless the code of a mode of operation is provided.

You can find more info about modes of operation here: https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation

UPDATE: number of bits per block, grammar.

denisdemais commented 8 years ago

thanks!

dhuertas commented 8 years ago

No further action needed ... closing issue ;)