Research and Implementation of the Translator for Special Description Language of the Symmetric Cryptographic Algorithm

Author
BiXiMei
Advisor
LiFengHua
School
Xi'an University of Electronic Science and Technology
Major
Computer System Architecture
Classification
TN918.1 Theory
Degree
Master's thesis
Year
2010
Downloads
11
Citations
0

Request the full text

Abstract

With the rapid development of information technology, the requirement for information system security is growing stronger and stronger day by day. The cryptographic algorithm is the key technology to protect information security. In the research and design of cryptographic algorithm, cryptography experts are more concerned with the design ideas and principles of cryptographic algorithms, hoping to have a simple and intuitive programming language, which can describe the structure of cryptographic algorithms, verify the design easily and avoid deviation of test results and other issues caused by programming errors.To facilitate cryptography experts describe cryptographic algorithms, an approximately mathematical description of special description language for the symmetric cryptographic algorithm (SDLSCA) is proposed in this paper. Based on the particularity of cryptographic algorithm and reference for advanced programming language, SDLSCA grammar system is designed and SDLSCA interpreter is realized with the help of ANTLR tools. This paper analyzes and abstracts based modules of the existing public symmetric cryptographic algorithm, enlarges operation symbols and achieves a unlimited long bit string data types and matrix types. Meanwhile, this paper designs control structure, carries the nested statement into effect, facilitates the design and implementation of cryptographic algorithms, making SDLSCA close to mathematical formulation of cryptographic algorithm as possible as it can and with good scalability. Also, verification software for SDLSCA interpreter is designed. Results are generated by running the interpreter and compared separately with public testing vectors and implementation results of algorithm programme in the cryptographic library.

Table of contents

Summary 3-4 Abstract 4-5 directory 5-7 first chapter 7-11 <br / > 1.1 subject background and significance 7 1.2 research status 7-8 1.3 thesis work 8-9 1.4 paper structure 9-11 chapter relevant technical knowledge 11-21 2.1 programming language 11-12 2.2 domain Specific Languages ?? 12 -13 2.3 interpreter principle 13-15 2.4 interpreter development tools 15-21 2.4.1 ANTLR introduced 15-17 2.4.2 ANTLR meta-language specification 17-18 2.4.3 ANTLRWorks introduced 18-21 the third chapter dedicated symmetric cryptographic algorithm description language grammar system design 21-39 3.1 Requirements Analysis 21 3.2 design goals 21-22 3.3 symmetric ciphers dedicated description language design 22-30 3.3.1 keyword 22-23 3.3.2 data Types 23-24 3.3.3 control Structure 24 - 25 3.3.4 operator 25-28 3.3.5 cryptographic algorithm module 28-30 3.4 symmetric cryptographic algorithm description 30-39 3.4.1 algorithm Description specification 30-31 3.4.2 block cipher algorithm 31-34 3.4.3 stream cipher algorithm 34 - 39 Chapter IV symmetric ciphers dedicated description language interpreter achieve 39-65 4.1 lexical analyzer 39-45 4.1.1 lexical analyzer design 39-40 4.1.2 lexical rules designed 40-43 4.1.3 lexical analyzer to achieve 43-45 4.2 data type of implementation 45-47 4.2.1 North special string variable 45-46 4.2.2 matrix variable 46-47 4.3 syntax analyzer 47-60 4.3.1 parsing 47-48 4.3.2 Cryptographic Module grammar rules 48-53 4.3.3 The basic arithmetic operations grammatical rules 53-54 4.3.4 file input and output grammar rules 54-55 4.3.5 statement rules 55-57 <br / > 4.3.6 control structure rules 57-60 4.3.7 parser implementations ; 4.4 semantic analysis nbsp 60 60-61 4.5 SDLSCA interpreter 61-65 4.5.1 parse files and static libraries 61-62 4.5.2 interpreter achieve 62-64 <br / > 4.5.3 interpreter transplant 64-65 Chapter symmetric cryptographic algorithms and dedicated description language interpreter verification 65-73 5.1 syntax verification system 65-68 5.1.1 lexical and grammatical 65-67 5.1.2 semantic 67-68 verify cryptographic algorithm 5.2 68-70 5.2.1 block cipher algorithm 68-69 5.2.2 stream cipher algorithm 69-70 5.3 interpreter verification 70-73 Chapter VI summary and Outlook 73-75 6.1 summary 73 6.2 job Outlook 73-75 <br / > Thanks 75-77 References 77-81 research 81-83 accessories 83-86

Related dissertations

  1. A Report on the Translation Practice of Japanese Garden
  2. A Study on the Exertion of the Translator's Subjectivity from Three English Versions of Wenxin Diaolong
    LiSu ·Shanghai Normal University ·2013 ·Master's thesis
  3. A Translation Project Report on Sustainability in Interior Design (P90-P106, P154-P177)
  4. Translator's Adaptation and Selection:a Study on C-E Translation of Signs in Scenic Spots
  5. A Comparative Analysis of the Translators'Subjectivities on English Versions the Analects of Confucius
    XuQingGuang ·Shaanxi Normal University ·2013 ·Master's thesis
  6. Project Translator Report of Accreditation Scheme for Museums and Galleries in the United Kingdom
    SunHang ·Central South University ·2013 ·Master's thesis
  7. Benefits of Terminology Management in Professional Translation
  8. Style Consistency in Continuos Translation Projects from a Translator's Perspective
  9. On Influence of Translator's Cultural Identity upon Translation
  10. A Study of the Translation of Speech and Thought Presentation in Two English Versions of Chin P'ing Mei
  11. On the Subjectivity of the Translator in Sense and Sensibility a Comparative Study of the Translations of Sense and Sensibility
    LuQinHua ·Gannan Teachers' College ·2013 ·Master's thesis
  12. Translators' Role as Reception Subjects in the Translation of Walden
    YiHao ·Xiangtan University ·2013 ·Master's thesis
  13. Feminist Consciousness Represented
    HeYuZuo ·Donghua University ·2014 ·Master's thesis
  14. On the Translator's Habitus:a Bourdieusian Perspective on the Translation of Lu Xun's Fictions:Old Stories Retold
    WuYan ·Anhui University ·2014 ·Master's thesis
  15. A Study of Foreign Literature Translation Publishing of Zhonghua Book Company:from1914to1949
    ShenZuoZuo ·Nanjing University ·2012 ·Master's thesis
  16. Design and Implementation of Automatic Task Execution and Management Tools Based on DSL
    ZuoFeng ·Jilin University ·2012 ·Master's thesis
  17. Design and Implementation of a Domain-specific Language for Biofeedback
    YangXiaoZuo ·Sun Yat-sen University ·2012 ·Master's thesis
  18. Design and Implementation of a DSL-based Approach to Manage Home Care Plans
    WuYuanLing ·Harbin Institute of Technology ·2013 ·Master's thesis
  19. Design and Implementation of Mobile Services Assist Design Tool
    XiaoJiePing ·Sun Yat-sen University ·2013 ·Master's thesis
  20. Research and Implementation of Several Key Components for SDLSCA