The Generation and Application of True Random Number in Digital Image Encryption
- Author
- WuFei
- Advisor
- LiYanPing
- School
- Taiyuan University of Technology
- Major
- Electronics and Communication Engineering
- Classification
- TP309.7 Encryption and decryption
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 7
- Citations
- 0
Abstract
In recent years, Random number is more and more widely applied in the field of information security, especially in network security. It has became more important. Therefore the researchers put forward strict requirements on the properties of random number. The random number with high quality will be widely used in the near future. Because of true random number has better randomness compared with the pseudo-random number, such as excellent independence, uniform distribution, irrefragable, etc., so the study of it become more and more important and urgent. Various design methods of true random number generator which put forward by many colleges and research institutions have promoted the development of true random number with high quality in more different fields.This article analyzes generation principle of the true random number in the first two chapters, and introduces the current research status of true random number generator. The third chapter takes research on the hardware platform of true random number generator, and puts forward a realization method of true random number generator based on Xilinx Spartan3XC3S400platform.The sequences produced by TRNG with post-processing module can pass the NIST test. The true random number generator consists of common logic unites only, it can be quickly transplanted into ASIC design and shorten the development cycle. The fourth chapter puts forward an encryption algorithm which yields XOR on digital image pixel sequence. This algorithm does image block scrambling based on Arnold transformation on the original picture before encryption. The receiver can get the original picture by doing XOR decryption and Arnold transformation. The encryption process of this algorithm is easy, what’s more, image scrambling improves the confidentiality. Experiments proved that correlation among the pixels of the encrypted picture according to this algorithm is small, and this algorithm does well against scaling attack and has good anti-noise property.The research effort can be divided into the following sections:1. Analysing the conditions and methods of producing random numbers-pseudo random number and true random number. Describe the mature structure and generating principle of true random number generator based on hardware platform. Put forward a new kind of design of true random number generator, taking the output of metastable-trigger as random source.(1) Studying and researching the design method and flow of the programmable logic devices, design RS flip-flop with Verilog-HDL language, adjust the timing to make a trigger under metastable, the above two operations have provided an entropy of the true random number generator, take xor operation for the outputs of multi-triggers to preliminary improve randomness of the final sequence.(2) Adding post-processing module to enhance the quality of the random sequences and to increase entropy per bit, the module adopts the structure of xor’ing the level4xor-chain with little m-sequence generator, simple to structure, easy to implement.2. Testing the randomness of true random number by the testing-software and standards provided by NIST(national institute of standards and technology), carry on the performance testing with15randomness indicators for each group of10M-bit sequence.3. Proposing an encryption method of digital image based on the true random number, xor the true random number with the pixel sequence of gray image to complete encryption, easy processing end achieving. Proved by experiment, the pixel correlation of encrypted image is much smaller than before, with good anti-shearing and anti-noise performance.
Table of contents
Summary 3-5
ABSTRACT 5-11
first chapter research purpose and significance 11-17
1.1 of this topic the status quo study abroad 1.2 11-12
12-14
1.3 The main contents 14-17
1.3.1 The main contents 14 -15
1.3.2 papers structural arrangements 15-17
chapter and the second random number generation principle 17-23
2.1 Introduction nbsp random number generator ; 17-19
2.1.1 definition and properties of random sequences definitions 17-18
2.1.2 random number generator and classification 18-19
2.2 true random number generation 19-20
2.3 based trigger metastable generate true random numbers based 20-21
2.4 chapter Summary 21-23
the third chapter true random number generator design and implementation 23-49
3.1 Introduction 23
3.2 chip selection and development environmental 23-25 ??
3.2.1 chip selection 24-25
3.2.2 development environment 25
3.3 true Random Number generator design 25-33
3.3.1 design process 25-28
3.3.2 metastable 28-29
3.3.3 based synchronization RS flip-flop to generate random numbers 29-31
3.3.4 RS flip-flop based on a lookup table to achieve logic functions 31-32
design nbsp 3.3.5 random source module ; conceptual 33-35
3.4.1 constraints file ; 32
algorithm design nbsp 3.3.6 after treatment ; 32-33
3.4 FPGA location constraints introduced nbsp constraint syntax 33-34
3.4.2 positioning statement 34-35
3.4.3 positioning statement property Description 35
3.5 LUT trigger constraints configuration 35-37
3.6 random test 37-43
3.6.1 introduces a function of probability and statistics 37-40
3.6.2 NIST testing to determine the principles 40
3.6.3 SP800-22 standard test project components 40-43
3.7 hardware implementation and the results of analysis 43-47 <br / > 3.7.1 autocorrelation and cross correlation properties analysis 43-44
3.7.2 number trigger effect on the statistical properties of 44-45
3.7.3 sampling interval impact on the statistical properties 45-47
3.7.4 resource usage instructions 47
3.8 Summary 47-49
Chapter IV true random number of applications in the digital image encryption 49-63
4.1 digital image encryption process 49-50
4.2 grayscale image information extraction and three-dimensional 50 -51
4.3 image scrambling 51-54
4.3.1 image scrambling definition 52
4.3.2 common image scrambling algorithm necessary condition for 52-54
4.3.3 scrambling 54
4.4 improved block image scrambling 54-56
4.4.1 Arnold transform scrambling cyclical 54-55
4.4.2 block -based image scrambling Arnold transform chaos 55-56
4.5 true random number encryption and decryption 56-57
4.6 results and analysis 57-60
4.6.1 image encryption simulation 57-58
4.6.2 performance Analysis nbsp against attack ; 58-60
4.7 summary 60-63
Chapter summary and Outlook 63-65
5.1 thesis summary 63 -64
5.2 Prospects 64-65
References 65-69
Thanks published during 69-71
academic degree program paper catalog 71
Related dissertations
- Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
- Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
- Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
- Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
- Research of Dual Chanel High Speed Data Acquisition Card
- Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
- The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
- Design of Remote Strain Measurement System Based on FGPA
- The Design of Digital Ultrasonic Nondestructive Testing System
- Design and Implementation of High Speed Data Recorder Based on FPGA
- Design of the High-speed Data Acquisition System Based on USB Interface
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
- The Design and Research of PCI Data Acquisition Card Based on FPGA
- Usb Without Invasive Data Collection Technology Research
- Research on On-line Diameter Measurement System Based on FPGA
- Design of High Speed Data Acqusition and Storage System Based on FPGA
- Design and Realize of a Type of Automatic Target-scoring System