{'fraction_non_alphanumeric': 0.03920251836306401, 'fraction_numerical': 0.019349422875131164, 'mean_word_length': 4.5694249649368865, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 1, 'https://': 0, 'lorem ipsum': 0, 'www.': 5, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Voice Scrambling Algorithm based on 3D Chaotic Map System (VSA3DCS) to Encrypt Audio Files

Here, a proposed voice scrambling algorithm established on one of two 3D chaotic maps systems (VSA3DCS) will be presented, discussed, and applied on audio signals file. The two 3D chaotic map systems in which any one of them is used to build VSA3DCS are Chen's chaotic map system and Lorenz chaotic map system. Also Arnold cat map-based scrambling algorithm will be applied on the same sample of audio signals. These Scrambling algorithms are used to encrypt the audio files by shuffling the positions of signals at different conditions with the audio file as one block or two blocks. Amplitude values of audio signals with signals' time are registered and plotted for original file versus encrypted files which are produced from applying VSA3DCS using Chen's, VSA3DCS using Lorenz, and Arnold-based algorithm. The spectrogram frequencies of audio signals with signals' time are plotted for original file versus encrypted files for all algorithms. Also, the histogram of the original file and encrypted audio signals are registered and plotted. The comparative analysis is presented by using some measuring factors for both of encryption and decryption processes, such as; the time of encryption and decryption, Correlation Coefficient of original and encrypted signals between the samples, the Spectral Distortion (SD) measure, Log-Likelihood Ratio (LLR) measure, and key sensitivity measuring factor. The results of several experimental and comparative analyses will show that the VSA3DCS algorithm using Chen's or Lorenz is a good algorithm to provide an effective and safe solution to voice signal encryption, and also VSA3DCS algorithm better than Arnoldbased algorithm in all results with all cases. Keywords—Lorenz chaotic map; Chen's chaotic map; Arnold cat map; scrambling algorithms; audio encryption


I. INTRODUCTION
Now we are living amid a digital revolution that needs safe multimedia transmission. Visual encryption is essential when transmitting audio over communication networks to protect them from reading, altering their content, inserting false information, or deleting a portion of their content [1,2].
Multimedia encryption has recently become one of the key problems of great concern. It offers greater protections for the content, which may involve some private issues or save copyrights from being changed or violated [3]. Any cryptography process requires a simple algorithm with tiny processing time and high performance to protect the information. Besides that, it has a strong immune system against any external issue including noise and interference that can be faced in the channels of communication [3].
A chaotic map is a suitable solution for both issues (tiny processing time and high performance). As with other methods of encryption such as AES and DES, which have large processing then a long time, the chaotic map has a fair time to fit these tasks [3,4].
As it is possible any unauthorized person can receive the transmitted data with the simplest receivers, the security of audio conversations has recently become a crucial issue because of the successful development of crypt-analysis activities [1,5]. Chaos-based encryption mechanisms are considered to be ideal for practical use because they provide an honest combination of speed, high security, complexity [4,6,7].
In this work, it tries to solve these two challenges by producing a proposed voice scrambling algorithm (VSA3DCS) based on a 3D chaotic map system (Lorenz map system or Chen's map system). The VSA3DCS algorithm is compared with one of the 2D chaotic maps (Arnold Cat map) which used to permute the elements in the multimedia file (image or audio). Also, in this work, several metrics are evaluated to accomplish comparative analysis.
This research paper is arranged as follows: Section II will present the related work, motivation, and contribution. Section III will present the chaotic maps which are used in our work. Section IV will present the steps of the proposed algorithm VSA3DCS. Section V will present applying all algorithms on the same audio signals file. Section VI will discuss experiential results and comparative analysis. Section VII will discuss the conclusion. In the final, there are references which are being used.

II. RELATED WORK, MOTIVATION AND CONTRIBUTION
Most of the research papers in the cryptography field use many chaotic maps systems of various dimensions or any other techniques in image encryption.
Many of the research papers apply only one-dimensional or two-dimensional chaotic maps systems in audio encryption, whereas most of these papers are is to produce an algorithm for changing in the values of signals (substitution encryption). In [3], E. Mosa et al. implemented a voice encryption method based on permutation of voice segments using a 2D chaotic map (Baker map) and substitution using masks in time and transform domains. In [8], Arnold cat map was applied by Mahmoud F. Abd Elzaher and others to permute voice samples, then either Henon or modified Henon or Unified or Lorenz chaotic systems were applied to produce the mask key and thus replace the permuted samples. In previous research www.ijacsa.thesai.org for me, it is now under review for publication in another valued journal, I applied both systems of 2D chaotic maps (Arnold Cat map and Baker map) which used in the permutation of locations for the elements of the audio signals file. Comparative analyses were made for the results showed that Arnold's application was the least in time of encryption/decryption and the best in performance in most cases.
So, here my research paper introduces a proposed multistep voice scrambling algorithm that is developed using any one of two well-known types of 3D chaotic maps systems which are strength and sophistication in their use of cryptography operations; they are (Lorenz and Chen's). the proposed algorithm for encoding audio signals in a way that alters and confuses the locations of signals only (transposition encryption) without changing their values, and it is based on either of the two chaotic systems (Lorenz or Chen's) as will be evident from the part that explains the steps of that algorithm and as will be clear from A flow diagram that shows the details of the algorithm. The proposed algorithm is compared with the Arnold-based algorithm.

III. THE CHAOTIC MAPS SYSTEMS
In this section, a concise description is provided about the two 3D chaotic maps systems used to construct the VSA3DCS algorithm. Also, Arnold cat map will be discussed here.

A. Lorenz Chaotic Map System
The Lorenz Chaotic map system is a three-equation scheme. The Lorenz system equations are defined as in Formula (1) [6,7,8,9,10].
Where σ, r, b are the parameters of this chaotic system. The system displays unpredictable behavior when σ = 10, r > 24.74 and b = 8/3. The initial state values x0, y0, and z0 act as the keys to the diffusion. A very good result for Lorenz chaotic map with the parameters σ = 10, r = 28, b = 8/3, and h = 0.1, the initial values x0 = 10, y0 = 20, z0 = 30, where, h is the sequence step. The Lorenz system attractor is illustrated in Fig. 1.

B. Chen's Chaotic Map System
As one of the 3-D chaotic map systems defined by formula (2), Chen's chaotic map system is essential as a collection of the three differential equations of Chen's chaotic map system [7,10,11,12,13].  There is also another parameter (h), such that h is the increasing step value of x0, y0, and z0 for each round, that is, x0 = x0 + h, y0 = y0 + h, and z0 = z0 + h. If a = 35, b = 3, and c = 28; as shown in Fig. 2, it has a chaotic attractor. A very good result for this chaotic map with the parameters a = 35, b = 3, c = 28, and h = 0.05555, the initial values x0 = 0, y0 = 1, z0 = 0, where h is the sequence step.

C. Arnold Cat Map
The Arnold Cat map is a chaotic map which is invertible in 2-D. For shuffling the pixel positions of the plain image or positions of signals in an audio file, we choose Arnold cat map method [6,14,15].

IV. VSA3DCS ALGORITHM
In this part of the paper, the proposed voice scrambling Algorithm (VSA3DCS) based on one of two 3D Chaotic Maps Systems (Chen's or Lorenz) is presented. VSA3DCS consists of a scrambling procedure to produce a shuffled audio file and return-scrambling procedure to reproduce the original audio file. The scrambling algorithm VSA3DCS is designed to shuffle the positions of signals of an audio file. VSA3DCS consists of seven steps of operations as following, and its Data-Flow diagram will be illustrated in Fig. 3: Step 1: Obtain the au vector (1D matrix) of the audio signals file m×1. The length of au is L which is equal to m.

PR(i+2) = mod(floor(z),256);
where i is from 1 to L with increasing step equal 3 for every round in the loop. The x, y, and z values are derived either from the three Lorenz system equations in formula(1) or from the three Chen's system equations in formula (2). k is obtained by formula(5), in which the keys in the proposed algorithm are modified.
Step 3: Obtain d2 the length of the second dimension of the one block from audio signals' file by using the first dimension (d1) for the one block, and the number of blocks (nb) which are needed to divide the au vector using its length (L); this as in formula (6).
Step 4: By the two dimensions d1, and d2, both PR and au vectors are divided into sub-vectors of lb=d1*d2 length, as in formula (7) to produce PRb and aub sub-vectors over the loop.
where i is from 1 to L with increasing step equal lb for every round in the loop. Also, each of both vectors PRb and aub is reshaped by MatLab into two dimensions matrices aub2 and PRb2 of size (d1×d2), as in formula (8).
Step 5: Inside the previous loop, the matrix PRb2 is sorted in ascending sort by using MatLab. The Matrix PRb2s is produced from this sorting process, as in formula (9). Step 6: The reshaped matrix aub2 are rearranged according to the position of PRb2 in PRb2s, i.e., according to values of positions in the matrix index, as in formula (10). Note that, at decryption process, we obtain decrypted matrix (aub2_d) by using backward process of formula (10) as; Step 7: At the end of every round of the loop, the matrix aub2_e is reshaped by MatLab into one dimensions matrix (vector) of length (d1*d2), as in formula (11).

V. APPLYING VSA3DCS AND ARNOLD ON AUDIO FILE
In this section, the debate and results of applying the VSA3DCS algorithm and Arnold-based algorithm on audio signals are presented. Original audio signals' file of a conversation between two persons in the time domain (TD) which its patterns illustrated in Fig. 4. The length (L) of this vector of audio signals for this file is equal to 60416. www.ijacsa.thesai.org The VSA3DCS algorithm is applied on the original audio file either based on Chen's system at a=35, b=3, c=28, the initial values x0=0+k, y0=1+k, z0 =0+k, and h =0.055555, or based on Lorenz system at σ=10, r =28, b =8/3, the initial value x0=10+k, y0=20+k, z0=30+k, and h =0.1, whereas k is obtained by formula (5). The Arnold-based algorithm is applied to the same original audio file with choice p=1, q=1, and R=1.
All algorithms are applied on the audio file with the first dimension for each one block d1 = 4, 8, 16, or 32, and the number of blocks nb = 1block, or 2blocks. And the second dimension of each one block d2 is obtained by formula (6).       11 illustrates scrambled audio signals' patterns for the Arnold-based algorithm and the VSA3DCS algorithm with both chaotic systems at the case of d1=16, nb=2, which led to d2=1888, whereas, Fig. 11(a) shows the result for Arnold, Fig. 11(b) shows the result of VSA3DCS with Lorenz, and Fig. 11(c) shows the result of VSA3DCS with Chen's.  Fig. 12 illustrates scrambled audio signals' patterns for the Arnold-based algorithm and the VSA3DCS algorithm with both chaotic systems at the case of d1=32, nb=1, which led to d2=1888, whereas, Fig. 12(a) shows the result for Arnold, Fig. 12(b) shows the result of VSA3DCS with Lorenz, and Fig. 12(c) shows the result of VSA3DCS with Chen's. Fig. 13 illustrates scrambled audio signals' patterns for the Arnold-based algorithm and the VSA3DCS algorithm with both chaotic systems at the case of d1=32, nb=2, which led to d2=944, whereas, Fig. 13(a) shows the result for Arnold, Fig. 13(b) shows the result of VSA3DCS with Lorenz, and Fig. 13(c) shows the result of VSA3DCS with Chen's.
(IJACSA) International Journal of Advanced Computer Science and Applications, Vol. 11, No. 5, 2020 575 | P a g e www.ijacsa.thesai.org All Fig. 6 to 13, illustrate the results of scrambled audio by VSA3DCS algorithm with both Lorenz and Chen's are completely different than the original audio, and these results of applying the VSA3DCS algorithm are better than the results of applying Arnold-based algorithm at all cases of d1and nb.

B. Spectrogram
A spectrogram reflects a visual representation of the frequency spectrum of a signal, as it varies over time. Generally a spectrogram is represented as an image with the intensity indicated by varying color or brightness.
Some of the results of applying all algorithms are presented, whereas, Fig. 14 illustrates Spectrogram of scrambled audio Signals for the Arnold-based algorithm and the VSA3DCS algorithm based on both systems (Lorenz and Chen's) at the case of d1=8, nb=1, Fig. 14(a) shows the result for Arnold, Fig. 14 15 illustrates Spectrogram of scrambled audio Signals for the Arnold-based algorithm and the VSA3DCS algorithm based on both systems (Lorenz and Chen's) at the case of d1=16, nb=2, Fig. 15(a) shows the result for Arnold, Fig. 15(b) shows the result of VSA3DCS with Lorenz, and Fig. 15(c) shows the result of VSA3DCS with Chen's. Fig. 16 illustrates Spectrogram of scrambled audio Signals for the Arnold-based algorithm and the VSA3DCS algorithm based on both systems (Lorenz and Chen's) at the case of d1=32, nb=1, Fig. 16(a) shows the result for Arnold, Fig. 16(b) shows the result of VSA3DCS with Lorenz, and Fig. 16(c) shows the result of VSA3DCS with Chen's.  576 | P a g e www.ijacsa.thesai.org

C. Histogram
For continuous data a histogram is used where the bins reflect data ranges. Also, a histogram is an approximate representation of the numerical or categorical data distribution.
Since all algorithms are used for the process of encryption by Scrambling (shuffling of signals' locations) for audio signals, so the histogram of the scrambled audio signals for all cases completely matched to the histogram of the original audio signals which illustrated in Fig. 17. In the decryption process with all algorithms, all results and plots of audio signals' patterns, spectrogram, and histogram for decrypted audio signals are matched to all plots of the original audio signals illustrated in Fig. 4, 5, and 17, respectively. This indicates that the decryption process is equally successful and efficient with applying all algorithms in all cases.

VI. EXPERIENTIAL RESULTS AND COMPARITIVE ANALYSIS
Here we present experiential findings and comparative analysis using some of several experiential and statistical analyzes for both encryption and decryption procedures, such as encryption and decryption time, correlation coefficient (CC) of evident and encrypted signals between samples, measurement of spectral distortion (SD), measurement of loglikelihood ratio (LLR), and measurement of key sensitivity.

A. Encryption and Decryption Time
In this analysis, for applying all algorithms on the original audio signals file at all cases for both d1 (4, 8, 16, and 32) and nb (1, and 2), the execution time of encryption and decryption has been calculated by seconds.    Arnoldbased algo.

VSA3DCS
with Chen's www.ijacsa.thesai.org Tables I and II, with Fig. 18 and 19, illustrate the execution time of encryption and decryption of the VSA3DCS algorithm with both Lorenz and Chen's is less than the time encryption and decryption of the Arnold-based algorithm at all cases of d1 and nb. So, the VSA3DCS algorithm with both Lorenz and Chen's is better than the Arnold-based algorithm in all cases of d1 and nb.

B. Correlation Coefficient Measure
If encrypted and original files are highly correlated, the coefficient of correlation equals one, i.e. the encryption method is ineffective in hiding the original signal information. If the coefficient of correlation is equal to zero then the initial voice signals and its encryption are entirely different. Progress of the encryption method thus implies lower CC values. The CC is computed using formula (12) Table III shows the results of CC analysis for encrypting by applying all algorithms; Arnold-based algorithm, and VSA3DCS with both Lorenz and Chen's on original audio signals at all cases of d1 and nb. Fig. 20 illustrates the plot for the results of CC for scrambled audio signals produced by all algorithms at all cases of d1 and nb.   Fig. 20 illustrate that the VSA3DCS algorithm with both Lorenz and Chen's achieves very small values (near to zero) of CC compared with the results of the Arnold-based algorithm, i.e., the VSA3DCS algorithm with both Lorenz and Chen's better than the Arnold-based algorithm. So, the proposed algorithm VSA3DCS is complex and strong for the encryption of the audio signal.
Results of the CC of decrypted audio signals equal to 1 for all algorithms in all cases of d1 and nb, because decryption by all algorithms returns the decrypted audio signals file completely matched to the original audio signals file.

C. Spectral Distortion (SD) Measure
The SD is a type of measurements implemented in the frequency spectra of original and encrypted audio signals within the frequency domain. In dB it is calculated to demonstrate how far from that of the original audio signals the encrypted signal range is. The SD is calculable as in formula (13) [5,18]: Where Vs(k) is the spectrum of the primary audio signal in dB for a given portion, Vy(k) is the spectrum of the encoded/decoded audio signal in dB for the same portion, M is the number of portions and L is the duration of the portion. The bigger the SD between the original and encrypted signals, the greater the encryption efficiency. On the other hand, between the primary audio signals and the decrypted signals, The SD must be as small as possible. Table IV shows the results of the SD measure for encrypting by applying all algorithms in all cases of d1 and nb. And, Fig. 21 displays the results of SD for encrypted audio signals produced by applying all algorithms at all values of d1 and nb.  Fig. 21 illustrate that all algorithms (VSA3DCS with both chaotic systems and Arnold) achieve good values for SD at all cases of d1 and nb, whereas all results bigger than 13.91 (far from zero), so all of them are complex and strong algorithms for audio signals encryption. But in the most cases, the results of VSA3DCS with both chaotic systems is greater and better than the results of the Arnold-based algorithm. Results of SD for decrypted audio signals equal to 0 with all algorithms at all cases, because decrypted audio signals file completely matched to the original audio signals file.

D. Log-Likelihood Ratio (LLR) Measure
The Audio signal LLR metric is based on the assumption that each component can be interpreted through a predictive linear all-pole model of the formula (14) [5,18]: where am (for m=1, 2, ….., mp) are all-polar filter coefficients, Gs is the filter gain and u(n) is a good source of excitation for the filter. The audio signal is fenced to form frames have lengths of 15 to 30ms. LLR metric is then determined as in [5]: = |log ( a ⃑ s R ⃑⃑ y a ⃑ s T a ⃑ y R ⃑⃑ y a ⃑ y T )| (15) where, ⃑⃑⃑ is the coefficient vector for LPCs; [1, as(1), as (2), . ., as (mp)] for the premier clear audio signal, ⃑⃑⃑⃑ is the coefficient vector for LPCs; [1, ay(1), ay (2), …… , ay(mp)] for the encryption/decrypted audio signals, and ⃑⃑⃑⃑⃑ is the autocorrelation matrix of the encryption/decrypted audio signals. The higher the LLR between the original and the encrypted signals, the greater the encryption efficiency. In comparison, the lower the LLR is to zero, the greater the decryption efficiency.  Table V shows the results of LLR measure for encrypting by applying all algorithms in all cases of d1 and nb. Fig. 22 displays results of LLR of encrypted audio signals generated by all algorithms in all cases. Table V and Fig. 22 illustrate that the VSA3DCS algorithm with both Lorenz and Chen's achieves very good results for LLR in all cases of d1 and nb, i.e., the LLR results with VSA3DCS algorithm are better than the results with Arnoldbased algorithm at all cases of d1 and nb. So, the proposed algorithm VSA3DCS are complex and strong algorithm for audio signal encryption.
Results of LLR of decrypted audio signals equal to 0 for all algorithms at all cases of d1 and nb, because the decrypted audio signals file completely matched to the original audio signals file.

E. Key Sensitivity Measure
The experimental results indicate that both the Arnoldbased algorithm and the VSA3DCS algorithm with both Lorenz and Chen's are extremely sensitive to the mismatching of hidden keys. Table VI displays keys sensitivity results for all  algorithms. From Table VI, we can see that the VSA3DCS algorithm with both Lorenz and Chen's has greater space for the keys than the Arnold-based algorithm. Also, any of the keys with little movement (e.g., 10 -17 is modified to h) will generate an incorrect decrypted image. VSA3DCS algorithm is therefore very sensitive to the keys, and they can also withstand various sensitivity dependent attacks.  Table VI illustrates the results of the precision of the keys for the VSA3DCS algorithm are better than the results of the Arnold-based algorithm. Therefore, VSA3DCS satisfies high quality of security better than the other.

VII. CONCLUSION
In this paper, a proposed voice scrambling algorithm (VSA3DCS) based on one of 3D chaotic maps systems (Lorenz or Chen's) is presented and compared with the Arnoldbased algorithm. VSA3DCS algorithm and Arnold chaotic algorithm are applied on audio signals file to encrypt it by scrambling process for its signals' positions. The encrypted audio signals which produced from applying all algorithms are compared and discussed by using some experiential measures and comparative analysis, such as; the encryption/decryption time, the Correlation Coefficient (CC) of the evident and encrypted signals between samples, the Spectral Distortion (SD) measure, Log-Likelihood Ratio (LLR) measure, and key sensitivity measure. The encryption/decryption time for all algorithms is very good, but the VSA3DCS algorithm with both Lorenz and Chen's achieves encryption/decryption time very close to zero and less and better than encryption/decryption time of Arnold-based algorithm in all cases of d1 and nb. The results of CC are better with the VSA3DCS algorithm than the other with the Arnold-based algorithm in all cases of d1 and nb. In the results of SD, in the most cases, the results of VSA3DCS with both chaotic systems are greater and better than the results of the Arnold-based algorithm. The results of LLR are better with the VSA3DCS algorithm than the other with the Arnold-based algorithm at all cases of d1 and nb. Also, the VSA3DCS algorithm with both Lorenz and Chen's has greater space for the keys than the Arnold-based algorithm, also, the VSA3DCS algorithm is very sensitive to the keys. Also, the plots of scrambled audio signals' patterns and spectrogram illustrate the VSA3DCS algorithm with both Lorenz and Chen's is better than the Arnold-based algorithm. The final results show that the VSA3DCS algorithm is a strong algorithm to supply an efficient and stable approach for encrypting audio signals.