upgrade aes to use autoPadding and for legacy methods to skip the stream