**3. Application to Random Bit Generation**

To apply the proposed map to pseudo-random bit generation, an algorithm was devised with the aim of having pseudo-random properties, weak correlation, and high key space. The proposed algorithm utilizes the techniques of comparing different decimal parts from different maps, as was performed in [23] for one map, the technique of bit reversal [19,22], performed here in a chaotic way, depending on the values of a logistic map, and also the *XOR* operator, which is commonly used in PRBGs [19–21,31,37].

The algorithm is outlined as follows:


A full description of the proposed technique is described in Algorithm 1. Note that, when the decimal part is computed in each iteration, its sign is discarded, so a positive value is always returned. The modulo operation is performed using the *rem* command in Matlab.
