When the intelligence UAV is in a complex and harsh environment with no good communication environment, the data cannot be transmitted back to the terminal processing platform in real time, but the collected data can be stored in the hard disk first. In order to avoid data leakage after UAV failure and being shot down, the collected data is encrypted. Because the task characteristics of the UAV do not require very high encryption speed, and the hardware resources are very tight, so in this project, compared with the previous implementation method of multistage full pipelining structure, a little optimization is made on this basis, and the rotating pipelining structure is used to reduce the use of hardware resources.