Welcome starless,
If you do your 'while' loop reading 16 bytes at a time it may work, but if the end of the buffer is not exactly 16 bytes, you have to pad with "\0" to get exactly 16 bytes.
Regards...Ed
"Well done is better than well said." - Benjamin Franklin
In reply to Re: Trying to decode aes-128-ctr
by flexvault
in thread Trying to decode aes-128-ctr
by starless
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |