Design and Implementation of Polynomial and Large-number Operation for SDLCA
- Author
- HuXiaoMin
- Advisor
- LiFengHua , ShiGuoZhen
- School
- Xi'an University of Electronic Science and Technology
- Major
- Computer technology
- Classification
- TN918.1 Theory
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 64
- Citations
- 0
Abstract
SDLCA(Special Description Language for the Cryptographic Algorithm) is aprofessional description language for cryptographic algorithms.Polynomial andlarge-number operation is often used in cryptographic algorithms.So, a polynomialfunction and large-number operation was designed and implementated on the basis ofthe grammar system of SDLCA in this paper.Based on SDLCA grammar system, open stream cipher was analysed, thecharacteristics of stream cipher algorithm was summarized and concluded anddescription module of a polynomial function was abstracted.Boolean function, linearfeedback shift register and nonlinear feedback shift register was implemented with theuse of polynomial functions.The public key cryptographic algorithm of RSA which isbased on a large integer factorization were studied and large integer arithmetic ofSDLCA was implemented using bit-string variable as storage structure for largeinteger.On the basis of large integer arithmetic,fast modular exponentiationmultiplication, large prime number generation, multiplicative inverse and otherpublic-key cryptographic algorithm module were implemented.Test program waswritten to test the correctness of polynomial function description module and largeinteger arithmetic module.On the basis of the new cryptographic module,23cryptographic algorithms weredescripted including block ciphers,stream ciphers and public key cryptpgraphicalgorithm,for example AES,Grain,RSA and so on. These algorithms were executed bySDLCA interpreter, the result were compared with the test vectors, verified theimplementation of the correctness of the SDLCA.Cryptographic algorithms descriptionof the C language and SDLCA were compared,and verify the simplicity andpracticality of the SDLCA.
Table of contents
Summary 3-4
Abstract 4-7
first chapter 7-11
1.1 subject background and sources 7 - 8
1.2 research status 8
1.3 thesis work 8-9
1.4 thesis structure 9-11
Chapter II technical knowledge 11-21
2.1 SDLCA interpreter 11-12
Research 2.2 cipher 12-15
2.2.1 symmetric cryptography algorithm 12-14
2.2.2 asymmetric cryptographic algorithm 14-15
2.3 cipher module abstract 15-17
2.3.1 symmetric encryption algorithm module 16-17
2.3.2 asymmetric cryptographic algorithm module 17
2.4 finite field theory 17-21
2.4.1 algebraic theory foundation 18
2.4.2 finite field 18-19
2.4.3 GF (p) operations 19-21
third chapter dedicated cryptographic algorithm description language design and implementation of a polynomial function application 21-47
3.1 polynomial function 21-23
3.1.1 cryptographic algorithm in polynomial advantage 21-23
3.1.2 polynomial function 23
3.2 cryptographic algorithms polynomial function description language design 23-27
polynomial function of the overall 3.2.1 design 23-25 ??
syntax design nbsp 3.2.2 polynomial function ; 25-27
invoke rule 3.2.3 of polynomial functions 27
3.3 password polynomial algorithm description language function storage structures 27-31
3.3.1 polynomial function achieve 28-29
3.3.2 polynomial function 29 - 31
3.3.3 polynomial function of type checking 31
3.4 based on polynomial password component implementation 31-38
3.4.1 Boolean function 32
3.4.2 linear Feedback Shift Register 32-36
3.4.3 non-linear feedback shift register 36-38
3.5 polynomial function and its associated components test tests 38-47
3.5.1 polynomial function 38-42
3.5.2 password polynomial function based testing component 42-47 <br / > Design and Implementation of the fourth chapter dedicated cryptographic algorithm description language operation of large numbers of basic arithmetic 47-65
4.1 bit string variables 47-50
4.1.1 bit string variable storage structure 47-49
4.1.2 bit string variable based on subtraction 49-50
4.1.3 modulo operation and division 50
4.1.4 multiplication 50
4.2 large integer modular exponentiation 50-53
4.2.1 fast exponentiation implementations 51-52
4.2.2 fast exponentiation SDLCA description 52-53
4.3 large prime number generation 4.3.1 Research primality testing methods 53-57
53-54
4.3.2 large prime number generation and testing 54-56
4.3.3 primes generated interface design 56-57
4.4 multiplicative inverse and relatively prime 57-59
4.4.1 multiplicative inverse 57-58
4.4.2 mutual primes 58-59
4.5 Tarsus test operation 59-65
4.5.1 test basis 59-62
4.5.2 program testing 62-65
Chapter password several special algorithm description language algorithm 65-77
5.1 SDLCA algorithm description specifications 65-66
5.2 Description of symmetric cryptography instance 66-72 <br / > 5.2.1 stream description passwords instance 66-69
5.2.2 Description of the block cipher instance 69-72
5.3 describes examples of public key cryptography algorithm 72-77
sixth chapter summarizes 77-79
6.1 paper summarizes 77
6.2 Prospects 77-79
Thanks 79-81
References 81-85
research 85-86
Related dissertations
- A Report on the Translation Practice of Japanese Garden
- A Study on the Exertion of the Translator's Subjectivity from Three English Versions of Wenxin Diaolong
- A Translation Project Report on Sustainability in Interior Design (P90-P106, P154-P177)
- Translator's Adaptation and Selection:a Study on C-E Translation of Signs in Scenic Spots
- A Comparative Analysis of the Translators'Subjectivities on English Versions the Analects of Confucius
- Project Translator Report of Accreditation Scheme for Museums and Galleries in the United Kingdom
- Benefits of Terminology Management in Professional Translation
- Style Consistency in Continuos Translation Projects from a Translator's Perspective
- On Influence of Translator's Cultural Identity upon Translation
- A Study of the Translation of Speech and Thought Presentation in Two English Versions of Chin P'ing Mei
- On the Subjectivity of the Translator in Sense and Sensibility a Comparative Study of the Translations of Sense and Sensibility
- Translators' Role as Reception Subjects in the Translation of Walden
- Feminist Consciousness Represented
- On the Translator's Habitus:a Bourdieusian Perspective on the Translation of Lu Xun's Fictions:Old Stories Retold
- Research on the Nonlinear Modeling of Magnetorheological Damper and Fuzzy Control of Vibration
- The Selection of the Stress Function When the Rectangular Section Beam Subjected to Arbitary Polynomial Distributed Load
- Qualitative Research of Two Kinds of Nonlinear Systems
- Studies on the Stabilization Problems for a Class of Polynomial Systems
- On Badly Approximable Fractional Parts of Polynomials
- The Interaction of Bracket Polynomial and Dichromatic Polynomial