Reworked AES implementation - use ctypes instead of m2crypto