added mode option to aes
Merge pull request #10 from rrevi/master

AES mode option