This paper summarizes and classifies the teaching contents of technology of applied cryptogram course according to the knowledge points. At the same time, the ideological and political elements of the course are designed from the following perspectives; (1) Abiding laws and regulations, and using cryptographic technology for the protection of network security; (2) Enabling students to firmly establish the belief that “core technology should be independent, and China’s science and technology should be self-improvement.” Further, the ideology and political elements are integrated into different teaching contents according to the knowledge points around these two themes. This course balances the relationship among ideology and morality, knowledge ability and quality. It not only focuses on improving students’ learning interest and ability, but also cultivates students to establish the correct outlook on life and values. The practical application shows that the overall effect is good.