Skip to main content
. 2020 Nov 4;22(11):1253. doi: 10.3390/e22111253
Algorithm 3 Step-wise voice encryption scheme.
  • Input: Plain audio file Pa.

  • Output: Cipher audio file Ca.

  • Begin
    1. Load audio data SPa and Set the control parameters (x(0), y(0), n, and α) to generate the key block.
    2. Generate the chaotic sequence.
    3. Execute Equations (1) and (2) to change the chaotic sequence (different chaotic maps in Figure 2 can be used).
    4. Change the chaotic sequence into a uniformly distributed sequence by change the initial values and parameters.
    5. Permute SPa using the proposed chaotic map for the secret key
    6. Make the new vector as: SPa = SKa (index).
    7. Adjust and changes tSPa utilizing the proposed chaotic map and the accompanying condition: SPa(i)= mod(round(1012SPa(i)),256).
    8. Create the diffused vector with SDa=SPaSKa, where ⊕ denotes the bit-wise XOR operation.
    9. Create the final cipher audio matrix Ca= reshape (SDa,Pa).
  • End