Research Article
An Improved Genetic Algorithm for Developing Deterministic OTP Key Generator
Table 3
A comparison between features of GRKG and IGRKG (PGU: previous generation updated, CGU: current generation updated).
| Step number | Features | GRKG | IGRKG (our approach) |
| (1) | Size of secret key | 7 | 6 | (2) | Secret key parameters | | , | (3) | Population size () | Size of the plaintext | Size of the plaintext | (4) | Number of genes in each chromosome | 8 | 8 | (5) | Method for generating initial population | LCG method | LCG method | (6) | Initialization of parameter for evolution of first generation (via crossover) | mod () | mod () | (7) | Initialization of parameter for evolution of first generation (via mutation) | mod () | | (8) | Determination of number of chromosome pairs for crossover () | (no default setting) | | (9) | Determination of number of chromosomes for mutation () | (no default setting) |
| (10) | Selection of index of chromosomes pairs for reproduction ( and ) | Set PGU() and update it as mod () Then (mod) | and update it as mod () Then (mod) | (11) | Selection of index of chromosomes for mutation () | Set PGU() and update it as mod () Then (mod) | and update it as mod () Then (mod) | (12) | Crossover mode | Single point | Single point | (13) | Computation of Crossover point () | (mod) 8 | (mod) 8 | (14) | Mutation mode | Single bit complement | | (15) | Computation of mutation bit position () | (mod) 8 | (mod) 8 | | (mean performance time) if | | | (16) | , | 9.747 seconds | 2.432 seconds | | Comparison of encryption and decryption function | | | (17) | Encryption function (obtain ciphertext) | , (mod)
| | (18) | Decryption function (recover plaintext) | | |
|
|