{'fraction_non_alphanumeric': 0.016058394160583942, 'fraction_numerical': 0.0, 'mean_word_length': 5.2318181818181815, '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}}
Quantum Image Encryption Using Intra and Inter Bit Permutation Based on Logistic Map

In this paper, a quantum image encryption scheme is proposed by using the inter–intra bit-level permutation strategy. The image to be encrypted is first represented by a novel enhanced quantum representation model, and then, the intra and inter permutation operations are successively performed on bit planes. The intra bit permutation is achieved by sorting chaotic sequence, and the inter bit permutation is accomplished with qubit XOR operations between the two selected bit planes. The ciphertext image is finally obtained through a chaotic diffusion procedure implemented with a quantum image XOR operation. The XOR operation is realized by controlled- NOT gates, which is controlled by a chaotic sequence generated with a logistic map. The parameters of the logistic map are sensitive, which makes the key space large enough to resist brute-force attack. The proposed scheme not only modifies the pixel positions and gray values but also makes the bit distribution more uniform. The quantum circuits for the proposed encryption algorithm are devised. The simulation results and theoretical analysis show that the proposed method is more efficient than its classical counterpart, and its security is verified by the statistical analysis, keys sensitivity, and key space analysis.