support aes encrypt for udp mode