add aes for rpc