Added AES implementation, can limit number of rounds.