基于模型驱动的密码算法可视化开发平台研究OA北大核心CSTPCD
Visual Model Driven Development Platform Research in Field of Cryptographic Algorithms
针对密码算法开发平台普适性差、无法跨平台的问题,本文采用模型驱动实现密码算法开发的方法,设计了一种基于模型驱动的密码算法可视化开发平台,提出了一种基于模型驱动的密码算法开发的领域语言—MCL密码元语言;实现了基于模型的代码生成器和代码映射器.实验证明,该开发平台仅需要开发者拖拽图形块的操作就可以实现密码算法模型的建立,然后平台可以根据建立的密码算法模型生成不同编程环境下的代码.平台实现了 C和python的代码映射器模块,密码算法模型可快速映射为C、python代码.平台有较好的实用性,开发者的密码算法实现过程简洁、高效,不同编程环境下的代码均可以通过平台自动生成,提高了密码算法实现的跨平台性.
In view of the poor universality of the cryptographic algorithm development platform and the inability to cross platforms,this paper adopts the model driven approach to realize the development of cryptographic algorithms,designs a visual development platform for cryptographic algorithms based on model driven,and proposes a domain language for the development of cryptographic algorithms based on model driven:MCL(MetaCrypto language);A model-based code generator and code mapper are implemented.Experiments show that the designed platform can establish cryptographic algorithm model by dragging the graphics block by the developer,and then the platform can generate code under different programming environments according to the established cryptographic algorithm model.The platform implements the code mapper module of C and python,and the cryptographic algorithm model can quickly map to C and python code.The platform has good practicability.The developer's password algorithm implementation process is simple and efficient.Codes under different programming environments can be generated automatically through the platform,which improves the cross platform performance of cryptographic algorithm implementation.
肖超恩;刘昌俊;董秀则;王建新;张磊
北京电子科技学院,北京 100070
计算机与自动化
密码算法实现模型驱动领域专用语言(DSL)代码生成技术
cryptography algorithmmodel drivendomain specific languagecode generation technology
《密码学报》 2024 (002)
357-370 / 14
中央高校基本科研业务费(328202205);北京电子科技学院基本科研业务费优硕培养类课题(328202271)The Fundamental Research Funds for the Central Universities of China(328202205);Research Fund for Excellent Graduate Cultivation of Beijing Electronic Science and Technology Institute(328202271)
评论