AES wrapper for multiple modes using several libraries.