{'fraction_non_alphanumeric': 0.021601016518424398, 'fraction_numerical': 0.0012706480304955528, 'mean_word_length': 5.176470588235294, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Pseudo-Random Key Stream Generation Algorithm for Encryption Purposes

For both chaos-based stream ciphers and chaos-based block ciphers, key streams have a crucial inﬂuence on their security. A well designed pseudo-chaotic number generator (PCNG) that exhibits both chaotic properties and pseudo-randomness is a good candidate for creating the cryptographic key stream for encryption purposes. PCNGs are based on multiple chaotic maps. Since the majority of the chaotic maps are defined using real numbers, most of the proposed PCNGs use floating-point notations. However, this data type, especially the double-precision notation, has disadvantages of high computation cost and inefficient resource utilization. Also, the quantification errors may undermine the reliability of the produced key stream. To overcome these drawbacks, a key stream generation algorithm using a PCNG scheme is proposed in this paper. The PCNG is based on reformulated skew tent maps over a 32-bit integer field. It not only reduces the resource utilization from the hardware perspective, but also ensures the key stream performance over various operation platforms. Furthermore, the proposed PCNG uses a parameter changeable strategy, which can help to expand the key space, and thus increases the immunity against the brute-force attack. The quality of the key stream produced by the PCNG has been tested in a stream cipher. The analysis and the obtained test results have demonstrated that the proposed PCNG is secure and reliable to generate cryptographic key streams for encryption purposes.