The encryption parameters, PRD values of correct decryption, and encryption time of the proposed chaotic multimaps visual encryption mechanism for clinical EEG signal.

## Abstract

In the chapter, we adopted a chaos logic map and a quadratic map to develop the chaos-based multi-maps EEG encryption software. The encryption performances of the chaos-based software were studied. The percent root-mean-square difference (PRD) is used to estimate the accuracy of a correctly decrypted EEG signal with respect to the original EEG signal. Pearson correlation coefficient (PCC) is used to estimate the correlation between the original EEG signal and an incorrectly decrypted EEG signal. The seven encryption aspects were testing, the average PRD value of the original and correctly decrypted EEG signals for the chaos-based multi-maps software is 2.59 x 10-11, and the average encryption time is 113.2857 ms. The five error decryption aspects were testing, the average PCC value of the original and error decrypted EEG signals for the chaos-based multi-maps software is 0.0026, and the average error decryption time is 113.4000 ms. These results indicate that the chaos-based multimaps EEG encryption software can be applied to clinical EEG diagnosis.

### Keywords

- EEG encryption software
- multiple chaotic maps
- logic map
- quadratic map

## 1. Introduction

Chaos-based encryption is an important research topic in the field of multimedia information communication and storage [1–8]. Compared to the advanced encryption standard (AES), data encryption standard (DES), and the Rivest, Shamir, & Adleman (RSA) algorithm, chaos-based cryptography can exhibit higher levels of security and strong anti-attack ability [7, 8]. The use of chaos-based encryption schemes has expanded steadily over the last few years. Sankpal and Vijaya [9] provided the insights on chaos-based image encryption. Chaotic encryption mechanisms with infinite precision and unpredictability are sensitive to initial conditions and chaotic parameters. Complex chaotic maps have higher levels of security. Chaos-based multimedia encryption can be used in an open access network, and the internet. Zhou et al. [10] proposed a cascade chaotic system using two one-dimension (1-D) chaotic maps in series. The 1-D chaotic maps included logistic, tent, and sine maps. Compared to the use of one 1-D chaotic map, the simulation results showed that the proposed cascade chaotic system had higher robustness and randomness, more unpredictable parameters, and improved chaotic properties and chaotic performance.

Babu and Ilango [11] integrated chaos-based look-up tables using a higher-dimensional Arnold’s cat map (ACM) to achieve high encryption sensitivity with respect to the secret key space for audio encryption. The coefficients of the original and encrypted audio signals were employed to evaluate encryption robustness. Mostaghim and Boostani [12] proposed a chaotic visual cryptography (CVC) algorithm to increase steganography in security applications. The key space, key sensitivity, and correlation coefficient of the proposed CVC encryption method were demonstrated. Munir [13] proposed a chaos-based image encryption method using discrete cosine transform (DCT) in the frequency domain. The size of the encrypted image block was 8 × 8. The ACM was used to permute the encrypted image block and achieve visual image encryption. The 2D Henon chaotic map and skew tent map play a significant role in the design of permutation and diffusion image encryption mechanisms [14]. The Henon chaotic map generates two different chaotic addresses to permute the row and column of encrypted values in the shuffling process. Furthermore, the unimodal skew tent map was used to scramble the pixel values of the encrypted image using exclusive or (XOR) operations in the diffusion process. Liu et al. [15] proposed a pseudorandom bit generator (PRBG) using parameter-varying logistic map. The change mechanism of the parameters was designed, and the proposed PRBG displayed non-stationary behavior. The parameter-varying logistic map disrupted the phase space of the chaotic system, and could overcome phase space reconstruction to withstand attacks.

Awad et al. [16] investigated chaos-based encryption and transformation approaches using fuzzy keyword search for a mobile cloud storage system. The comprehensive tests showed that the proposed technology obtained a significantly more efficient solution to the searchable encryption problem compared to existing solutions. Huang et al. [17] developed an image cryptosystem using permutation architecture with block and stream ciphers. Ricardo and Alejandro [18] modified a 32-bit chaotic Bernoulli map PRBG using an 8-bit microcontroller. The multiplication, accommodation, addition, and shifting operations were integrated. Jolfaei et al. [19] indicated that permutation-only image ciphers have been used to protect multimedia information in recent years. In the permutation-only image encryption algorithm, the multimedia information is scrambled using a permutation mapping matrix generated by a PRBG. In previous studies [20–23], a chaos-based visual encryption mechanism, 2D chaos-based visual encryption scheme, C# based chaotic single map encryption system, and chaotic visual cryptosystem using empirical mode decomposition algorithm for clinical electroencephalogram (EEG) signals have been proposed. In the chapter, chaotic multimaps of one-channel clinical EEG encryption software were developed to enhance the encryption robustness. The rest of this paper is organized as follows. The encryption algorithm focusing on the encryption software is investigated in Section 2. Section 3 provides implementation and experimental results of chaotic multimaps of visual clinical EEG encryption software. The conclusion and future work are presented in Section 4.

## 2. Encryption algorithm

The encryption algorithm consists of two main components: chaotic permutation address index approach (CPAIA) and chaotic clinical EEG signal generator approach (CCESGA) for the proposed encryption software. The encryption parameters are inputted to CPAIA, and the chaotic permutation address index sequence is generated. The chaotic permutation address index sequence is integrated to CCESGA, and the chaos-based encryption clinical EEG signal is generated. The proposed CPAIA is shown in Figure 1. The CPAIA algorithm proceeds as follows:

Step 1: Input the encryption parameters,

*SP*_{F}: The initial value of the chaotic logic map.

*r*_{F}: The bifurcation parameter of the chaotic logic map.

*L*_{F}: The length of encryption clinical EEG signal.

*n*_{F}: The level of parameter 1 of security.

*δ*_{F}: The level of parameter 2 of security.

The chaotic logic map was adopted in CPAIA, described as following.

*x*_{n + 1} = *r*_{F}*x*_{n}(1 − *x*_{n})…………………………………………………………….(1)

*x*_{o} = *SP*_{F}

Step 2: Discard the first *n*_{F} chaotic logic map values; the chaotic logic map sequence is

Step 3: If *x*_{m} < *δ*_{F}, discard *x*_{m}, *m* ∈ {*n*_{F + 1,} *n*_{F + 2}, ⋯}

else

Step 4:

Step 5: If

else discard *Z*_{p}.

Step 6: If

*LM* is the chaotic permutation address index sequence.

else

m = m + 1;

p = p + 1;

r = r + 1; and go to Step 3.

The proposed CCESGA is shown in Figure 2. The CCESGA algorithm proceeds as follows:

Step 1: Input the encryption parameters,

*SP*_{G}: The initial value of the chaotic quadratic map.

*r*_{F}: The bifurcation parameter of the quadratic logic map.

*L*_{F}: The length of encryption clinical EEG signal.

The chaotic quadratic map was adopted in CCESGA, and described as follows:

*q*_{o} = *SP*_{G}

The generation the chaotic quadratic map sequence was *Q*,

Step 2: Input the chaotic permutation address index sequence, *LM*.

Step 3: Generate the chaos-based encryption sequence, *E*.

Step 4: Input the clinical EEG signal, *eeg*.

Step 5: Generate the chaos-based encryption clinical EEG signal, *eegE*.

*eegE* = *eeg* × *E*…………………………………………………………………....(7)

## 3. Chaotic multimaps visual clinical EEG encryption software

Figure 3 shows the developed chaotic multimaps visual clinical EEG signal encryption software. The software was developed using C# language and Microsoft Visual Studio integrated development environment (IDE). The software includes input, encryption, decryption, storage, and display modules. One-channel clinical EEG signals were inputted in the software through an input module, and were encrypted using an encryption module; these encrypted clinical EEG signals were decrypted using a decryption module. Furthermore, the encryptions and decryptions were stored and displayed using storage and display modules, respectively. The ranges of encryption parameters *SP*_{F} = *x*1, *r*_{F} = *R*, *SP*_{G} = *x*2, *r*_{G} = *α*, *n*_{F}, and *δ*_{F} are 0-1 real numbers (RNs), 3.6-4 RNs, 0-1 RNs, 1.4-2 RNs, 0-100000 integrate number, and 0-0.2 RNs, respectively. Figure 4 displays the original one-channel clinical EEG signal, whose length is 10 s, and sample rate is 256 samples/s.

Figure 5 shows the encrypted chaotic multimaps visual one-channel clinical EEG signal. The medical features of the encrypted EEG signal were visually unrecognizable and could not be applied to clinical EEG diagnosis. The encryption parameters *SP*_{F} = *x*1, *r*_{F} = *R*, *SP*_{G} = *x*2, *r*_{G} = *α*, *n*_{F}, and *δ*_{F} are 0.6, 4, 0.6, 1.4, 100, and 0.05, respectively. The robustness of the developed visual chaotic multimaps encryption software was excellent. Figure 6 shows the correctly decrypted one-channel clinical EEG signal. The percent root difference (PRD) value is adopted to evaluate the difference between the original and correctly decrypted clinical EEG signals and is defined as

*EEG*_{ori}: *amplitudes of original clinical EEG signal.*

*EEG*_{dec}*: amplitudes of decrypted clinical EEG signal.*

The parameter *L*_{F} is 2560. The PRD value of the original and correctly decrypted clinical EEG signals is 3.87 × 10^{−11}. Table 1 lists the encryption parameters, PRD values of correct decryption, and encryption time of the proposed chaotic multimaps visual encryption mechanism for a clinical EEG signal. Seven encryption aspects were tested, and the average PRD value of original and correctly decrypted clinical EEG signal is obtained as 2.59 × 10^{−11} and with the encryption time as 113.2857 ms. From Figure 6 and Table 1, the accuracy of a correctly decrypted EEG signal was excellent, and the correct decryption speed was acceptable. Figure 7 shows the decrypted one-channel clinical EEG signal with error decryption parameters; the encryption parameters *SP*_{F} = *x*1, *r*_{F} = *r*, *SP*_{G} = *x*2, *r*_{G} = *α*, *n*_{F}, and *δ*_{F} are 0.6, 4, 0.6, 1.4, 100, and 0.05, respectively. In addition, the decryption parameters *SP*_{F} = *x*1, *r*_{F} = *r*, *SP*_{G} = *x*2, *r*_{G} = *α*, *n*_{F}, and *δ*_{F} are 0.6, 4, 0.60001, 1.4, 100, and 0.05, respectively. The Pearson correlation coefficient (PCC) was adopted to evaluate the difference between the original and error decryption clinical EEG signals and is defined as

Encryption | PRD | Encryption time (ms) | |||||
---|---|---|---|---|---|---|---|

x_{1} | r | x_{2} | α | n_{F} | δ_{F} | ||

0.6 | 4 | 0.6 | 1.4 | 100 | 0.05 | 3.8734 × 10^{−11} | 113 |

0.60001 | 4 | 0.6 | 1.4 | 100 | 0.05 | 1.2630 × 10^{−11} | 113 |

0.6 | 3.9999 | 0.6 | 1.4 | 100 | 0.05 | 1.2362 × 10^{−11} | 115 |

0.6 | 4 | 0.601 | 1.4 | 100 | 0.05 | 3.3033 × 10^{−11} | 114 |

0.6 | 4 | 0.6 | 1.399 | 100 | 0.05 | 1.1655 × 10^{−10} | 113 |

0.6 | 4 | 0.6 | 1.4 | 200 | 0.05 | 3.2141 × 10^{−11} | 113 |

0.6 | 4 | 0.6 | 1.4 | 100 | 0.15 | 4.0856 × 10^{−11} | 112 |

*EEG*_{ori}*: amplitudes of the original clinical EEG signal.*

*EEG*_{errdec}*: amplitudes of error decrypted clinical EEG signal.*

Table 2 lists the decryption parameters, PCC values of error decryption, and error encryption time of the proposed chaotic multimaps visual encryption mechanism for the clinical EEG signal. For this, five error decryption aspects were tested, the average PCC value of original and error decrypted clinical EEG signal was obtained as 0.0026, and the error decryption time was 113.4000 ms. From Figure 7 and Table 2, the original and error decrypted clinical EEG signal was extremely uncorrelated, and the error decryption time was accepted.

Encryption | PCC | Error decryption time (ms) | |||||
---|---|---|---|---|---|---|---|

x | r | x_{n} | α | n_{F} | δ_{F} | ||

0.60001 | 4 | 0.6 | 1.4 | 100 | 0.05 | 0.0020 | 112 |

0.6 | 3.9999 | 0.6 | 1.4 | 100 | 0.05 | 0.0061 | 113 |

0.6 | 4 | 0.601 | 1.4 | 100 | 0.05 | 0.0020 | 114 |

0.6 | 4 | 0.6 | 1.4 | 200 | 0.05 | 0.0015 | 114 |

0.6 | 4 | 0.6 | 1.4 | 100 | 0.15 | 0.0015 | 114 |

## 4. Conclusion

This chapter described the proposed chaotic multimaps visual encryption mechanism for one-channel clinical EEG signals. Chaotic logic and chaotic quadratic maps were employed in CPAIA and CCESGA, respectively. The proposed software was implemented using C# language and Microsoft Visual Studio IDE. The PRD and PCC values were used to evaluate the accuracy of the correctly decrypted clinical EEG signals and the robustness of error decryption clinical EEG signals, respectively. The testing results showed that the proposed chaotic multimaps visual encryption software is an excellent encryption software. In the future, the chaotic maps with 2-D, i.e., Henon map, can be adopted to enhance the encryption robustness.

## Acknowledgments

The authors acknowledge the support of the NTOU Center for Teaching and Learning, Maritime Telemedicine Teaching and Learning Project, the support of the Union