Skip to main content
. 2024 Jul 16;26(7):603. doi: 10.3390/e26070603
Algorithm 1 Chaotic key stream-generation algorithm.
Input: Chaotic sequence X.
Output: The binary sequence file f55.bin.
  • 1:

    xb=mod(floor(X1015),256);   ▹ Get a sequence of integers with values 0–255

  • 2:

    FID = fopen(‘D:\NIST\f55.bin’,‘w’);

  • 3:

    COUNT = fwrite(FID,xb,‘uint8’);        ▹ Save the integer sequence xb as binary

  • 4:

    fclose(FID);