Quantum-assisted image encryption via patchwise quantum autoencoder and novel sinusoidal-polynomial feedback chaotic map

By transforming images into latent representations and using a chaotic control sequence, the method addresses computational inefficiencies and structural vulnerabilities in conventional image encryption, enhancing security and efficiency for resource-constrained systems.

US12819853B1Active Publication Date: 2026-12-01PRINCE MOHAMMAD BIN FAHD UNIV
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
US19/633983
Authority / Receiving Office
US · United States
Patent Type
Patents(United States)
Current Assignee / Owner
Filing Date
2026-03-30
Publication Date
2026-12-01
Estimated Expiration
2046-03-30

AI Technical Summary

Technical Problem

Conventional image encryption methods operate directly on high-dimensional pixel matrices, leading to computational inefficiencies and retention of structural correlations in natural images, making them vulnerable to cryptanalytic attacks, especially in resource-constrained environments.

Method used

Transform digital images into a latent representation using a quantum-assisted autoencoder, applying a chaotic control sequence derived from a sinusoidal-polynomial feedback chaotic map to perform permutation, substitution, and diffusion operations on the latent image, reducing structural redundancy and enhancing randomness.

Benefits of technology

The proposed method improves computational efficiency and security by minimizing statistical correlations and resistance to attacks, suitable for edge computing and distributed sensing environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US12819853-D00000_ABST
    Figure US12819853-D00000_ABST
Patent Text Reader

Abstract

A method and system for encrypting a digital image includes transforming the digital image into a latent image representation by partitioning the digital image into a plurality of non-overlapping patches and encoding each of the plurality of non-overlapping patches using a quantum-assisted autoencoder. A chaotic control sequence is generated from at least one cryptographic key using a nonlinear chaotic map. The latent image representation is encrypted by applying a plurality of encryption operations controlled by the chaotic control sequence, wherein the plurality of encryption operations comprises at least one permutation operation, at least one substitution operation, and at least one diffusion operation to produce an encrypted representation of the digital image. The nonlinear chaotic map may include a sinusoidal-polynomial feedback chaotic map. The encryption operations may include column permutation, substitution using a dynamically selected substitution box, row permutation, and diffusion using circular bit shifting and bitwise exclusive-OR operations.
Need to check novelty before this filing date? Find Prior Art

Description

BACKGROUNDTechnical Field

[0001] The present disclosure relates generally to secure processing and protection of digital image data, and more particularly to systems and methods for cryptographic protection of digital images using computational and cryptographic techniques for generating encrypted visual data suitable for secure storage and transmission.Description of Related Art

[0002] The “background” description provided herein is for the purpose of generally presenting the context of the disclosure. Work of the presently named inventors, to the extent it is described in this background section, as well as aspects of the description which may not otherwise qualify as prior art at the time of filing, are neither expressly nor impliedly admitted as prior art against the present invention.

[0003] Digital images constitute one of the most widely generated forms of digital data in modern computing environments. Images are routinely captured, processed, transmitted, and stored across numerous technological platforms including surveillance systems, medical imaging infrastructures, industrial inspection systems, consumer electronics, remote sensing platforms, and intelligent transportation systems. For example, surveillance cameras deployed in smart cities continuously capture visual data streams, medical imaging devices generate diagnostic images such as radiology scans, and autonomous vehicles collect image data from cameras and other sensing devices to enable perception and navigation functions. Because such image data may contain sensitive or confidential information, ensuring the confidentiality and integrity of digital images during storage and transmission has become an increasingly important technical requirement.

[0004] In many practical deployments, digital images are transmitted through communication networks or stored in distributed computing infrastructures such as cloud storage systems and edge computing platforms. During these processes, unauthorized interception, tampering, or leakage of visual data may compromise privacy, intellectual property, or operational security. For instance, medical images may reveal sensitive patient information, surveillance imagery may expose critical infrastructure or personal identity information, and proprietary industrial inspection images may contain confidential manufacturing details. Consequently, cryptographic protection of visual data has become a critical component of modern data security systems.

[0005] Image encryption techniques are commonly used to transform a digital image into an unintelligible form that can only be reconstructed by authorized parties possessing appropriate cryptographic keys. Conventional image encryption methods frequently rely on classical cryptographic primitives or chaotic systems to perform operations such as pixel permutation, substitution, and diffusion. In many existing schemes, a chaotic map is used to generate pseudorandom sequences that drive pixel-level encryption operations. These operations may include scrambling pixel positions, modifying pixel values, and diffusing pixel information across the image to obscure statistical relationships between neighboring pixels.

[0006] For example, chaotic cryptographic systems have been proposed in which nonlinear chaotic maps generate key streams used for encrypting image data. One such approach is described in CN101394266B, which discloses a chaotic signal generation technique used to produce pseudorandom sequences that can serve as encryption keys in secure communication systems. In this approach, chaotic mappings are used to generate signals whose dynamic parameters vary through nonlinear processes, thereby producing complex sequences suitable for encryption operations. Such chaotic sequences can then be used as key streams in encryption and decryption modules to protect transmitted information. However, while chaotic signals can enhance randomness properties of encryption systems, conventional chaotic mapping approaches often operate directly on pixel-level image data and may require repeated iterations of chaotic processes to achieve desired security characteristics.

[0007] Similarly, CN114157408B describes a digital image encryption method based on a chaotic system in which a chaotic map is iteratively executed to generate pseudorandom sequences used for pixel diffusion and scrambling operations. In this approach, a chaotic mapping function is initialized using parameters derived from an encryption key and the hash value of the input image. The chaotic map is iterated to generate sequences that drive diffusion and scrambling operations applied to the image pixels, thereby producing an encrypted image. Although such methods utilize chaotic dynamics to enhance encryption performance, these systems generally operate directly on the original pixel matrix of the image and rely heavily on iterative chaotic computations, which may introduce computational overhead when processing high-resolution image data.

[0008] In addition to purely chaos-based approaches, hybrid image encryption techniques have also been proposed that combine chaotic maps with machine learning or neural network models. For instance, one image encryption scheme utilizes a chaotic logarithmic map together with a deep convolutional neural network for key generation and encryption control. In this approach, the neural network generates keys or parameters that control the chaotic system used for performing permutation, diffusion, and bit manipulation operations on the pixels of an image. The resulting encryption pipeline typically includes operations such as pixel permutation, DNA encoding, diffusion, and bit-level manipulations to produce the encrypted image representation. While such approaches attempt to enhance security by combining chaotic dynamics with learning-based models, they generally continue to rely on operations performed directly on raw pixel data, which may preserve statistical redundancies present in the image structure.

[0009] Another example involves medical image encryption using chaotic maps such as a sine-tangent chaotic map. In such systems, chaotic sequences generated from mathematical equations are used to drive permutation and substitution operations applied to image components such as red, green, and blue channels. The encryption process typically combines chaotic sequences, shared secret keys, and XOR operations to generate a cipher image that conceals the original image information. Although these methods demonstrate improvements in entropy and randomness metrics, many implementations still rely on one-dimensional chaotic maps and operate directly on the pixel-level structure of the image, which may limit unpredictability and resistance to advanced cryptanalytic attacks.

[0010] Apart from encryption schemes, recent developments in machine learning and computer vision have introduced techniques that transform images into alternative representations for tasks such as recognition, classification, and semantic manipulation. For example, U.S. Pat. No. 12,469,283B2 describes a system in which an image is divided into a set of non-overlapping patches that are processed by a transformer-based network to produce tokenized representations of the image patches. These tokens represent encoded features of the image and may be manipulated to generate variations of the original image. Similarly, U.S. Pat. No. 12,417,620B2 describes a training framework for vision transformer models in which input images are partitioned into sequences of non-overlapping patches that are treated as tokens for machine learning processing. In such architectures, patch-level representations are generated to facilitate deep learning operations such as feature extraction and classification. While these approaches demonstrate the usefulness of patch-based image representations for machine learning applications, they are primarily directed to visual understanding and classification tasks rather than cryptographic protection of image data.

[0011] Despite the variety of encryption techniques proposed in the literature, several technical challenges remain unresolved. Many existing image encryption systems perform cryptographic operations directly on high-dimensional pixel matrices, which can be computationally expensive when processing high-resolution images. Furthermore, pixel-level encryption approaches may retain structural correlations inherent in natural images, potentially allowing attackers to exploit statistical redundancies during cryptanalysis. Additionally, chaotic encryption methods that rely on simple one-dimensional or two-dimensional chaotic maps may exhibit limited key space or insufficient sensitivity to initial conditions, thereby reducing resistance against certain forms of cryptographic attacks.

[0012] Moreover, the rapid growth of Internet-of-Things devices, edge computing platforms, and distributed sensing systems has created new requirements for lightweight and scalable encryption mechanisms capable of protecting visual data in resource-constrained environments. Devices such as smart surveillance cameras, autonomous vehicles, remote sensing platforms, and industrial inspection systems frequently capture large volumes of image data that must be securely transmitted or stored while maintaining efficient computational performance. Conventional encryption methods designed for general data streams may not be optimized for the unique statistical and structural properties of image data generated by such systems.

[0013] Accordingly, there remains a need for improved techniques capable of providing strong cryptographic protection for digital images while addressing computational efficiency, scalability, and resistance to modern cryptanalytic attacks. Such techniques should enable secure transformation of image data into encrypted representations suitable for storage or transmission across distributed computing environments while mitigating the limitations associated with conventional pixel-level encryption approaches and existing chaotic encryption systems.SUMMARY

[0014] In an exemplary embodiment, a method for encrypting a digital image is described. The method comprises transforming the digital image into a latent image representation by partitioning the digital image into a plurality of non-overlapping patches. The method further comprises encoding each of the plurality of non-overlapping patches using a quantum-assisted autoencoder. The method further comprises generating a chaotic control sequence from at least one cryptographic key using a nonlinear chaotic map. The method further comprises encrypting the latent image representation by applying a plurality of encryption operations controlled by the chaotic control sequence. The plurality of encryption operations comprises at least one permutation operation, at least one substitution operation, and at least one diffusion operation, thereby producing an encrypted representation of the digital image.

[0015] In an aspect, the method further comprises forming the latent image representation as a structured latent image that is encrypted in place of encrypting individual pixel values of the digital image.

[0016] In another aspect, encoding each of the plurality of non-overlapping patches comprises processing each of the plurality of non-overlapping patches with a parameterized quantum circuit to produce a latent vector.

[0017] In another aspect, the method further comprises separating, within the quantum-assisted autoencoder, one or more retained latent components from a plurality of discarded components and suppressing the plurality of discarded components from the latent image representation.

[0018] In another aspect, the method further comprises generating the chaotic control sequence using a sinusoidal-polynomial feedback chaotic map that integrates a sinusoidal modulation, a polynomial nonlinearity, a state-dependent feedback, and a modular wrapping.

[0019] In another aspect, the method further comprises discarding an initial transient portion of chaotic map output generated by the nonlinear chaotic map prior to using the chaotic control sequence.

[0020] In another aspect, the method further comprises deriving the at least one cryptographic key by applying a password-based key derivation function to a password and a salt, splitting derived key material into an encryption key and an authentication key, generating a nonce, and generating a pseudorandom byte stream using a cryptographic hash-based pseudorandom number generator.

[0021] In another aspect, the method further comprises deterministically partitioning the chaotic map output into a first control stream for the at least one permutation operation, a second control stream for the at least one substitution operation and a bit-shift operation, and a diffusion seed matrix for the at least one diffusion operation.

[0022] In another aspect, the method further comprises performing the plurality of encryption operations in an ordered sequence comprising permuting columns of the latent image representation using the chaotic control sequence, substituting pixel values using a dynamically selected substitution box controlled by the chaotic control sequence, permuting rows of the latent image representation using the chaotic control sequence, and diffusing pixel values by circularly shifting bits and performing a bitwise exclusive-OR with the diffusion seed matrix.

[0023] In another aspect, the method further comprises selecting the dynamically selected substitution box from a plurality of cryptographic substitution boxes including Advanced Encryption Standard (AES), Camellia, and Khazad substitution boxes.

[0024] In another aspect, the method further comprises decrypting the encrypted representation by reversing the at least one permutation operation, the at least one substitution operation, and the at least one diffusion operation using the cryptographic key and the chaotic control sequence.

[0025] In another exemplary embodiment, a system for encrypting a digital image is described. The system comprises one or more processors and a memory storing instructions which, when executed by the one or more processors, cause the system to transform the digital image into a latent image representation by partitioning the digital image into a plurality of non-overlapping patches. The instructions further cause the system to encode each of the plurality of non-overlapping patches using a quantum-assisted autoencoder. The instructions further cause the system to generate a chaotic control sequence from at least one cryptographic key using a nonlinear chaotic map. The instructions further cause the system to encrypt the latent image representation by applying a plurality of encryption operations controlled by the chaotic control sequence. The plurality of encryption operations comprises at least one permutation operation, at least one substitution operation, and at least one diffusion operation, thereby producing an encrypted representation of the digital image.

[0026] In an aspect, the latent image representation comprises a structured latent image that is encrypted in place of encrypting individual pixel values of the digital image.

[0027] In another aspect, encoding each of the plurality of non-overlapping patches comprises processing each of the plurality of non-overlapping patches with a parameterized quantum circuit to produce a latent vector.

[0028] In another aspect, the quantum-assisted autoencoder is configured to separate one or more retained latent components from a plurality of discarded components and to suppress the plurality of discarded components from the latent image representation.

[0029] In another aspect, the nonlinear chaotic map comprises a sinusoidal-polynomial feedback chaotic map integrating a sinusoidal modulation, a polynomial nonlinearity, a state-dependent feedback, and a modular wrapping.

[0030] In another aspect, the system is further configured to discard an initial transient portion of chaotic map output prior to using the chaotic control sequence.

[0031] In another aspect, the system is further configured to derive the at least one cryptographic key by applying a password-based key derivation function to a password and a salt, split derived key material into an encryption key and an authentication key, generate a nonce, and generate a pseudorandom byte stream using a cryptographic hash-based pseudorandom number generator.

[0032] In another aspect, the system is further configured to deterministically partition the chaotic map output into a first control stream for the at least one permutation operation, a second control stream for the at least one substitution operation and a bit-shift operation, and a diffusion seed matrix for the at least one diffusion operation.

[0033] In another aspect, the system is further configured to perform the plurality of encryption operations in an ordered sequence including permuting columns of the latent image representation using the chaotic control sequence, substituting pixel values using a dynamically selected substitution box controlled by the chaotic control sequence, permuting rows of the latent image representation using the chaotic control sequence, and diffusing pixel values by circularly shifting bits and performing a bitwise exclusive-OR with the diffusion seed matrix.

[0034] The foregoing general description of the illustrative embodiments and the following detailed description thereof are merely exemplary aspects of the teachings of this disclosure, and are not restrictive.BRIEF DESCRIPTION OF THE DRAWINGS

[0035] A more complete appreciation of this disclosure and many of the attendant advantages thereof will be readily obtained as the same becomes better understood by reference to the following detailed description when considered in connection with the accompanying drawings, wherein:

[0036] FIG. 1 is a schematic diagram of a quantum-assisted image encryption system, according to certain embodiments.

[0037] FIG. 2 is a schematic block diagram of a hybrid quantum autoencoder pipeline, according to certain embodiments.

[0038] FIG. 3 is a schematic diagram of a full quantum patch encoder, according to certain embodiments.

[0039] FIG. 4 is a schematic diagram of a single variational layer of the full quantum patch encoder, according to certain embodiments.

[0040] FIG. 5 is a schematic diagram of a quantum-assisted image encryption algorithm, according to certain embodiments.

[0041] FIG. 6 is a flowchart illustrating a method for encrypting a digital image, according to certain embodiments.

[0042] FIG. 7 is an illustration of a non-limiting example of details of computing hardware used in the computing system, according to certain embodiments.

[0043] FIG. 8 is an exemplary schematic diagram of a data processing system used within the computing system, according to certain embodiments.

[0044] FIG. 9 is an exemplary schematic diagram of a processor used with the computing system, according to certain embodiments.

[0045] FIG. 10 is an illustration of a non-limiting example of distributed components which may share processing with the controller, according to certain embodiments.DETAILED DESCRIPTION

[0046] In the drawings, like reference numerals designate identical or corresponding parts throughout the several views. Further, as used herein, the words “a,”“an” and the like generally carry a meaning of “one or more,” unless stated otherwise.

[0047] Furthermore, the terms “approximately,”“approximate,”“about,” and similar terms generally refer to ranges that include the identified value within a margin of 20%, 10%, or preferably 5%, and any values therebetween.

[0048] Digital images are increasingly generated, transmitted, and stored across distributed computing environments such as smart surveillance systems, medical imaging infrastructures, industrial monitoring platforms, autonomous vehicles, and Internet-of-Things devices. Protecting such visual data against unauthorized access, interception, or tampering presents a significant technical challenge. Conventional image encryption approaches typically perform cryptographic operations directly on raw pixel values of an image. However, natural images exhibit strong spatial correlation and redundancy among neighboring pixels, which may lead to statistical leakage and predictable structural patterns even after encryption. In addition, direct pixel-level encryption of high-resolution images often results in substantial computational overhead, which limits the practicality of such techniques for real-time applications and resource-constrained platforms such as edge devices and embedded imaging systems.

[0049] The present disclosure addresses these limitations by introducing an encryption framework that first transforms an input digital image into a compact latent image representation before performing cryptographic operations. The image is partitioned into a plurality of non-overlapping patches and each patch is encoded using a quantum-assisted autoencoder to produce a structured latent representation of the image. By operating in the latent domain rather than directly on raw pixel values, the framework suppresses redundant and noise-dominated information while retaining semantically meaningful image features. This transformation significantly reduces statistical correlations within the data representation prior to encryption, thereby improving the effectiveness of subsequent cryptographic operations.

[0050] After generation of the latent image representation, encryption is performed using a chaotic control sequence derived from a nonlinear chaotic map. The chaotic map integrates multiple nonlinear mechanisms including sinusoidal modulation, polynomial nonlinearity, state-dependent feedback, and modular wrapping to produce a highly sensitive and unpredictable control sequence. The chaotic sequence is used to drive a structured confusion-diffusion encryption pipeline that performs permutation, substitution, and diffusion operations on the latent image representation. These operations systematically disrupt spatial structure and propagate changes throughout the representation, thereby producing a strongly randomized encrypted representation of the digital image.

[0051] Through the combination of representation transformation and chaos-driven cryptographic processing, the disclosed framework enhances both the efficiency and the security of image encryption systems. The use of patchwise quantum-assisted encoding reduces structural redundancy before encryption, while the nonlinear chaotic control sequence strengthens randomness and key sensitivity within the encryption process. As a result, the system provides improved resistance to statistical, differential, and brute-force attacks while remaining suitable for deployment in scalable imaging systems operating in edge computing, cloud computing, and distributed sensing environments.

[0052] FIG. 1 illustrates a quantum-assisted image encryption system 100. The quantum-assisted image encryption system 100, also referred to as the system 100, is configured to encrypt a digital image by transforming the digital image into a latent image representation, generating a chaotic control sequence from at least one cryptographic key using a nonlinear chaotic map, and encrypting the latent image representation by applying a plurality of encryption operations controlled by the chaotic control sequence, thereby producing an encrypted representation of the digital image. The system 100 comprises three main modules, including a sinusoidal-polynomial feedback chaotic (SPFC) map that serves as a pseudorandom number generator (PRNG) to generate secure keys for the plurality of encryption operations; a hybrid patchwise quantum autoencoder (PQAE) that performs dimensionality reduction on the digital image to produce the latent image representation prior to encryption; and a chaotic image encryption module that applies the plurality of encryption operations to the latent image representation using the chaotic control sequence derived from the SPFC map. The PQAE makes the system 100 lightweight and efficient by operating the plurality of encryption operations on the compact latent image representation rather than on the individual pixel values of the digital image.

[0053] The system 100 comprises an input image I 102. The input image I 102 is the digital image provided to the system 100 as the plaintext input. In the illustrated example, the input image I 102 has spatial dimensions of 512 by 512 pixels by 3 color channels, representing a full-color RGB image with pixel values normalized to the range [0, 1], denoted as I∈[0, 1]512×512×3, although other image dimensions and channel formats may also be used. The system 100 further includes a patchify module 104 operably connected to the input image I 102. The patchify module 104 is configured to transform the digital image into the latent image representation by partitioning the digital image into a plurality of non-overlapping patches. A non-overlapping patch is a contiguous rectangular sub-region of the digital image that shares no pixels with any other patch, so that the plurality of non-overlapping patches tile the entire spatial extent of the digital image without gap or overlap. In the illustrated example, the patchify module 104 applies a patch size of p=16 pixels per side, partitioning the input image I 102 into N=1024 non-overlapping patches arranged in a 32 by 32 patch grid, although other patch sizes and patch counts may be used in other implementations. Each patch is vectorized into a patch vector xn, where n is a patch index from 1 to N=1024, and xn∈[0, 1]768 is a 768-dimensional real vector encoding the flattened 16×16×3 pixel values of the patch.

[0054] The system 100 further includes a teacher patch autoencoder 106 operably connected to the patchify module 104. The teacher patch autoencoder 106 operates as a training-stage classical autoencoder i.e., Stage 1 of the system 100, and is configured to encode each patch vector xn into a compact teacher latent

[0055] zn(t),where the superscript (t) identifies the teacher network. In one example, the teacher patch autoencoder 106 produces a teacher latent

[0056] zn(t)of dimension kt=4, consistent with a 4-dimensional final encoder layer, although other teacher latent dimensions may be used. The teacher patch autoencoder 106 provides stable target latent representations used to train the quantum encoder 110 through knowledge distillation, a training strategy in which the teacher model guides the student model to learn the same representational structure. The system 100 further includes an adapter layer A 108 operably connected to the teacher patch autoencoder 106. The adapter layer A 108 is a learned multilayer perceptron (MLP) that maps each teacher latent

[0057] zn(t)to a a-dimensional real vector un∈d, dimensionally aligned with the qubit count d of the parameterized quantum circuit (PQC) 112. The adapter layer A 108 is trained jointly with the quantum encoder 110 during distillation.

[0058] The system 100 further includes a quantum encoder 110 operably connected to the adapter layer A 108. The quantum encoder 110 operates as Stage II of the system 100 and is bounded by the dashed region in FIG. 1 enclosing the PQC 112, the latent map Z 114, and the latent image L 116. The quantum encoder 110 encodes each of the plurality of non-overlapping patches by processing each patch through the PQC 112 to produce a latent vector. The PQC 112 is a variational quantum circuit that operates on d=6 qubits initialized in the computational basis state |0>⊗d, where |0>⊗d is the tensor product of d qubit ground states. The PQC 112 implements L=3 variational layers, each comprising parameterized single-qubit rotation gates applied to all d qubits followed by a ring entanglement layer of controlled-NOT (CNOT) gates, thereby forming a trainable parameterized unitary U(un; θ) where θ denotes the set of trainable variational parameters. For each patch, the d-dimensional adapter output un is encoded as rotation angles in the input embedding layer of the PQC 112, and measurements of the d qubits after the L variational layers produce d classical values, such as expectation values associated with the measured qubits.

[0059] The quantum-assisted autoencoder of the system 100 is configured to separate, within the quantum-assisted autoencoder, one or more retained latent components from a plurality of discarded components and to suppress the plurality of discarded components from the latent image representation. The d measurement outcome values of the PQC 112 are partitioned into a latent register of k retained components and a trash register of d-k discarded components. In the illustrated example, k=3 measurement values are retained as the one or more retained latent components forming the quantum latent vector

[0060] zˆn(q)per patch, where the circumflex identifies a quantum-derived latent estimate and the superscript (q) identifies the quantum encoder. The remaining d−k=3 measurement values constitute the plurality of discarded components and are suppressed from the latent image representation. The PQC 112 is trained so that the k retained components capture features of each patch used by the decoder Dq 120 for reconstruction, while the trash components represent information suppressed from the latent image representation.

[0061] The quantum encoder 110 further includes a latent map Z 114 operably connected to the PQC 112. The latent map Z 114 assembles the per-patch quantum latent vectors from all N=1024 patches into a structured three-dimensional tensor Z∈32×32×k, where the 32 by 32 spatial dimensions correspond to the 32 by 32 patch grid and the k=3 third dimension corresponds to the k retained latent components per patch. The quantum encoder 110 further includes a latent image L 116 operably connected to the latent map Z 114. The latent image L 116 is formed by serializing the latent map Z 114 into a two-dimensional image-like representation by stacking the k latent channels along the width of the 32 by 32 patch grid. The latent image L 116 constitutes the pre-encryption domain of the system 100, as labeled in FIG. 1. The latent image representation formed by the latent image L 116 is a structured latent image that is encrypted in place of encrypting individual pixel values of the digital image. Operating the plurality of encryption operations on the pre-encryption domain of the latent image L 116 reduces the data volume subject to encryption and reduces spatial redundancy present in the digital image, thereby improving resistance to statistical analysis relative to direct pixel-level image encryption.

[0062] The system 100 further includes an SPFC encryption module 118 operably connected to the latent image L 116. The SPFC encryption module 118 is configured to generate the chaotic control sequence from the at least one cryptographic key using the nonlinear chaotic map and to encrypt the latent image L 116 by applying the plurality of encryption operations comprising at least one permutation operation, at least one substitution operation, and at least one diffusion operation, thereby producing an encrypted representation Ic of the digital image. In the illustrated example, the SPFC encryption module 118 includes a confusion-diffusion encryption process, as shown in FIG. 1. The SPFC encryption module 118 derives the at least one cryptographic key by applying a password-based key derivation function to a password and a salt. In the illustrated example, the password-based key derivation function is PBKDF2-HMAC-SHA256, which applies the HMAC keyed hash using the SHA-256 algorithm to a user-supplied password and a randomly generated 128-bit salt S to derive a master key Kmaster, for example a 256-bit master key Kmaster. A hash-based key derivation function (HKDF) split then splits the derived key material into an encryption key Kenc and an authentication key Kmac. A fresh 96-bit nonce N is generated per encryption to ensure forward secrecy. The encryption key Kenc and the nonce are used to seed a cryptographic hash-based pseudorandom number generator (PRNG), which in one example is based on SHA-256, to produce a pseudorandom byte stream that is mapped to floating-point values in the open interval (0, 1) to initialize the SPFC map control parameters α, β, γ, δ, ε, , and y0. After initialization, an initial transient portion of the chaotic map output is discarded prior to using the chaotic control sequence, eliminating the influence of the startup transient on the usable cipher stream. The salt and nonce are stored in the ciphertext header, while Kenc is never transmitted.

[0063] The nonlinear chaotic map of the SPFC encryption module 118 generates the chaotic control sequence using a sinusoidal-polynomial feedback chaotic map that integrates a sinusoidal modulation, a polynomial nonlinearity, a state-dependent feedback, and a modular wrapping. The polynomial nonlinearity is defined by the polynomial function P(yn) given as:yn+1=mod sin π·P(yn)+(yn),1  (1)

[0064] In Equation (1), the expression sin π·P(yn)+(yn) introduces significant non-linearity, thereby enhancing the map's complexity and chaotic behavior. The modulus operation guarantees that the map's output is constrained within the normalized range [0,1], ensuring cyclic behavior and boundedness.

[0065] The polynomial function P(y), is defined as:P(y)=α+β·y+γ·y2+δ·y3  (2)

[0066] Here, α, β, γ, and δ are coefficients that dictate the polynomial's behavior, each contributing to the polynomial's overall dynamical properties.

[0067] The state-dependent self-feedback mechanism, denoted as (y), uses the map's current state to modulate its future states, creating a rich layer of complexity. It is defined as:(y)=ε·y·mod(y,)  (3)

[0068] where ε and are parameters that fine-tune the feedback's influence, and in one example typically set to 0.5 to define two operating regimes separated at yn=0.5 that enhance the stretching and folding of the chaotic trajectory. The operator mod induces a piecewise re-wrapping of yn that gates the effective gain applied to yn inside the next-state map, altering the local slope of the map before the outer sinusoidal nonlinearity and the final modulo wrapping.

[0069] Let yn∈(0,1) denote the state of the map at iteration n. Hence, (2) and (3) can be represented as follows:

[0070] P⁡(yn)=α+β⁢yn+γ⁢yn2+δ⁢yn3(4)B⁡(yn)=ε·yn·mod⁢(yn,ζ),ζ∈(0,1),(5)and the update rule is presented as:yn+1=mod sin π·P(yn)+B(yn),1  (6)

[0071] where yn∈(0, 1) is the map state at iteration n, the sine function introduces the sinusoidal modulation, the absolute-value operation ensures a non-negative output, and the modulo 1 operation implements the modular wrapping that constrains the map output to the normalized range [0, 1]. The modular wrapping ensures cyclic behavior and boundedness of the chaotic trajectory.

[0072] The chaotic map output, after transient removal, is deterministically partitioned into a first control stream for the at least one permutation operation, a second control stream for the at least one substitution operation and a bit-shift operation, and a diffusion seed matrix C for the at least one diffusion operation, where the three-way partitioning minimizes cross-correlation among the control streams. In one implementation, the diffusion seed matrix is dimensioned or reshaped to correspond to the byte-domain representation used in the diffusion stage.

[0073] In this embodiment, B(yn) implements an instantaneous, state-dependent self-modulation of the current state yn rather than delayed feedback. The operator mod (·,) induces a piecewise re-wrapping of yn that gates the effective gain applied to yn inside the next-state map. For yn∈(0,1) and =0.5 used herein,

[0074] mod⁡(yn,ζ)={yn,0≤yn<ζyn-ζ,ζ≤yn-1

[0075] so that B(yn)=ε·yn·mod(yn,) realizes a piecewise state-dependent gain that is multiplicatively coupled to yn. This coupling alters the local slope of the map and creates two operating regimes separated by yn=, which enhances stretching and folding before the outer sin(⋅) nonlinearity and the final modulo wrapping.

[0076] By integrating the polynomial dynamics P(y) with the feedback mechanism (y) under the sinusoidal modulation, the proposed SPFC Map is defined as:

[0077] yn+1=mod⁢(sin⁡(π·(α+β⁢yn+γ⁢yn2+δ⁢yn3+ε⁢yn·mod⁡(yn,ζ))),1)(7)

[0078] The SPFC encryption module 118 performs the plurality of encryption operations in an ordered sequence on the encoded latent image Ie, where Ie is the encoded latent image corresponding to the latent image L 116 and produced by the quantum encoding operation of the PQAE. The ordered sequence comprises permuting columns of the latent image representation using the column permutation key Pcol derived from the first control stream, followed by substituting pixel values using a dynamically selected substitution box controlled by the S-box selection sequence s1∈{0, 1, 2} derived from the second control stream, followed by permuting rows of the latent image representation using the row permutation key Prow derived from the first control stream, followed by diffusing pixel values by circularly shifting bits by a key-dependent amount s2∈{0, 1, . . . , 7} derived from the second control stream and performing a bitwise exclusive-OR (XOR) with the diffusion seed matrix C256×256.

[0079] The dynamically selected substitution box is selected from a plurality of cryptographic substitution boxes including the Advanced Encryption Standard (AES) substitution box, the Camellia substitution box, and the Khazad substitution box, so that s1=0 selects the AES substitution box, s1=1 selects the Camellia substitution box, and s1=2 selects the Khazad substitution box.

[0080] The column permutation reduces horizontal spatial correlation with low computational overhead, the dynamic substitution introduces key-dependent nonlinearity and confusion, the row permutation disperses post-substitution correlation vertically, and the bit-shift followed by XOR with the diffusion seed matrix C implements bit-level diffusion, producing the encrypted representation Ic of the digital image.

[0081] The system 100 further includes a decoder Dq 120 operably connected to the SPFC encryption module 118. The decoder Dq 120 operates as Stage III of the system 100 and is a compact MLP decoder configured to reconstruct the digital image from the decrypted latent image representation. In embodiments that support decryption, the encrypted representation Ic is decrypted by reversing the at least one permutation operation, the at least one substitution operation, and the at least one diffusion operation using the cryptographic key and the chaotic control sequence, thereby recovering the encoded latent image Ie.

[0082] The decoder Dq 120 implements the mapping Dq: k→768, reconstructing each 768-dimensional patch vector from the corresponding k-dimensional per-patch quantum latent of the decoded latent image representation. The N=1024 reconstructed patch vectors are reshaped and assembled through an unpatchify operation that reverses the partitioning of the patchify module 104, producing the full 512×512×3 reconstructed image.

[0083] The system 100 further includes a reconstructed image {circumflex over (f)} 122 operably connected to the decoder Dq 120. The reconstructed image {circumflex over (f)} 122 is the digital image output of the system 100 at the authorized receiving side, where the circumflex accent identifies {circumflex over (f)} as a decoded approximation of the input image I 102. The reconstructed image {circumflex over (f)} 122 is produced for an authorized recipient possessing the password from which the at least one cryptographic key is derived, since an incorrect password produces a different chaotic control sequence and correspondingly different decryption results.

[0084] FIG. 2 illustrates a hybrid quantum autoencoder (QAE) pipeline 200. The hybrid QAE pipeline 200 summarizes the complete mathematical dataflow of the hybrid patchwise quantum autoencoder (PQAE) module of the system 100. The hybrid QAE pipeline 200 comprises an input block 202, a patchify block 204, a teacher patch autoencoder block 206, an adapter block 208, a quantum encoder block 210, a latent map block 216, a decoder block 212, and an unpatchify block 214. The distillation of the teacher patch autoencoder block 206 and the fine-tuning of the decoder block 212 on quantum latents are the two training strategies used to obtain a stable quantum encoder and high-fidelity reconstruction, as labeled in FIG. 2.

[0085] The input block 202 receives the input image I∈[0, 1]512×512×3 and passes it to the patchify block 204. The patchify block 204 applies non-overlapping patchification with patch size p=16 to produce a set of N=1024 RGB patches:

[0086] I→patchifyℙ={Pn}n=1N,Pn∈[0,1]1⁢6×1⁢6×3(8)

[0087] Each patch xn is a 768-dimensional vectorization of the 16×16×3 pixel block. The hybrid QAE processes all N=1024 patches independently using shared weights across the teacher patch autoencoder block 206, the adapter block 208, the quantum encoder block 210, and the decoder block 212.

[0088] Classical teacher patch autoencoder: The teacher patch autoencoder block 206 implements a lightweight classical encoder Et: 768→k that is first trained to produce stable target latent representations.

[0089] znt=Et⁡(xn)∈ℝkt⁢xˆnt=Dt⁡(znt)∈[0,1]7⁢6⁢8(9)

[0090] In the illustrated example, the saved teacher checkpoint corresponds to kt=4, consistent with the final encoder layer of the teacher patch autoencoder block 206 producing a 4-dimensional teacher latent

[0091] zn(t)per patch.

[0092] Learned adapter into the quantum encoder: The adapter block 208 implements a small learned multilayer perceptron (MLP) A: k<sub2>t< / sub2>→d that maps the teacher latent

[0093] zn(t)to a d-dimensional real circuit input:

[0094] un=A⁡(znt)∈ℝd(10)

[0095] The adapter block 208 is trained jointly with the quantum encoder block 210 during knowledge distillation, aligning the classical latent space of the teacher patch autoencoder block 206 with the qubit-count-dimensional input space required by the parameterized quantum circuit (PQC) of the quantum encoder block 210.

[0096] Variational quantum encoder with latent / trash split: Given un∈d, the PQC produces expectation valuesyn=y(un,θ)∈[−1,1]d  (11)

[0097] which are split into latent and trash registers:

[0098] yn=[znq⁢tn],znq∈[-1,1]k,tn∈[-1,1]d-k(12)

[0099] The quantum encoder block 210 receives un∈d and processes it through the PQC operating on d qubits with L variational layers. The PQC produces d expectation values of the Pauli-Z observable measured on each qubit after the L variational layers, collected as:

[0100] z˜nq=znq+12(13)

[0101] Classical decoder for reconstruction: A compact MLP decoder Dq(⋅) reconstructs patches from

[0102] z˜nq:

[0103] xˆn=Dq⁡(z˜nq)∈[0,1]7⁢6⁢8(14)

[0104] Reconstructed patches are reshaped and unpatchified to form the final reconstructed image:

[0105] I^=unpatchify⁢ ({Pˆn}n=1N)∈[0,1]5⁢1⁢2×5⁢1⁢2×3(15)

[0106] Latent map construction and image-like serialization: Since the patch grid is 32×32, the per-patch quantum latents form a structured latent tensor:

[0107] Z∈[-1,1]3⁢2×3⁢2×k,Z[i,j,:]=zn⁡(i,j)q(16)

[0108] For visualization and interfacing with downstream stages, we serialize Z into an image-like latent representation by stacking the k latent channels along width:L=reshape(Z,32,32k)∈[−1,1]32×(32k)  (17)

[0109] When a square representation is required, the image-like latent representation may be reshaped into a square representation, L to ∈[−1,1]64×64, while preserving the total number of latent coefficients. Such reshaping is a deterministic re-indexing operation and does not alter the learned information content. With p=16 and (H,W)=(512,512), the latent tensor and its image-like serialisations have:

[0110] Z∈ℝ3⁢2×3⁢2×k,L∈ℝ3⁢2×(3⁢2⁢k),L◼∈ℝ6⁢4×6⁢4⁢ (for⁢ k=4⁢ or⁢ an⁢ equivalent⁢ reshaping⁢ when⁢ k=3)(18)

[0111] FIG. 3 illustrates a full quantum patch encoder 300. The full quantum patch encoder 300 is the single-patch quantum encoder used in the quantum encoder block 210 of the hybrid QAE pipeline 200. The full quantum patch encoder 300 depicts the complete d-qubit variational quantum circuit (VQC), comprising an input embedding layer, a plurality of variational layers arranged in L repetitions, and a measurement layer with an explicit latent / trash partition, applied to one patch vector un∈d at a time. The same circuit, with shared trainable parameters θ, is applied to each of the N=1024 patch vectors independently.

[0112] The full quantum patch encoder 300 operates on d qubits initialized in the computational basis state |0>⊗d, where |0>⊗d denotes the tensor product of d individual qubit ground states. The full quantum patch encoder 300 implements a parameterized unitary:U(u,θ):|0>(⊗d)→|ψ(u,θ)  (19)

[0113] where θ denotes the set of trainable variational parameters and |ψ(un;θ)> is the final d-qubit quantum state produced by the circuit. The full quantum patch encoder 300 is composed of three sequential circuit blocks, traversed from left to right across the qubit wires, as shown in FIG. 3.

[0114] The first circuit block is the input embedding layer, positioned at the leftmost portion of the full quantum patch encoder 300. The input embedding layer encodes each component of the d-dimensional adapter output un as the rotation angle of a parameterized single-qubit gate applied to the corresponding qubit, mapping the classical patch information into the initial quantum state amplitudes of the d-qubit register. In the illustrated embodiment, the embedding layer applies a sequence of parameterized single-qubit rotations including Ry(ui), followed by trainable rotation gates Rx(θ), Ry(θ), and Rz(θ) on each qubit. The input embedding layer is applied once, to the initial state, before any variational layer is executed.

[0115] The second circuit block comprises L=3 repeated variational layers, depicted as L successive gate blocks across the d qubit wires in the full quantum patch encoder 300. Each variational layer contains parameterized single-qubit rotation gates applied to each qubit followed by an entanglement stage comprising controlled-NOT (CNOT) operations between neighboring qubits, as illustrated in FIG. 3. Each variational layer is identical in gate structure and is repeated L times with independent trainable parameters in each repetition. The structure of one variational layer is detailed in FIG. 4. The L=3 repeated variational layers collectively build up the expressivity of the parameterized unitary U(un,θ):, enabling the full quantum patch encoder 300 to learn a compact latent representation of each patch through training.

[0116] The third circuit block is the measurement layer, positioned at the rightmost portion of the full quantum patch encoder 300. The measurement layer performs measurements on all d qubits and produces d classical expectation values associated with the measurements of the Pauli-Z observable. The d measurement outcome values are partitioned into the latent register comprising the first k values and the trash register comprising the remaining d-k values, implementing the explicit latent / trash partition of the full quantum patch encoder 300. The k measurement values of the latent register are retained as the one or more retained latent components

[0117] zˆn(q)that form the per-patch quantum latent vector for assembly into the latent map Z 114, while the d-k measurement values of the trash register constitute the plurality of discarded components suppressed from the latent image representation.

[0118] In one embodiment, the number of retained latent components k is smaller than the number of qubits d, such that the latent register represents a compressed quantum feature representation while the remaining d-k components are treated as discarded information.

[0119] FIG. 4 illustrates a single variational layer 400. The single variational layer 400 is an exploded view of one variational layer of the full quantum patch encoder 300, revealing the internal gate structure that is repeated L times (e.g., L=3) in the full quantum patch encoder 300. The single variational layer 400 operates on d=6 qubit wires, labeled q0 through q5 from top to bottom, and a classical measurement register labeled ‘Meas’ at the bottom of the circuit. The single variational layer 400 illustrates the internal gate structure associated with one layer of the full quantum patch encoder 300, including single-qubit rotation operations and an entanglement section, with measurement symbols shown for explanatory completeness.

[0120] The embed section, at the leftmost position of the single variational layer 400, applies the data-encoding gates that map the components of the adapter output un to qubit rotation angles. The embed section encodes the classical real-valued input un∈d into the quantum state of the d=6 qubit register, one component per qubit, preparing the register for the subsequent parameterized rotation and entanglement operations of the variational layer. In the illustrated embodiment, the embed section applies a set of single-qubit Ry(u[i]) rotations, where the value of each component of the vector un determines the rotation angle applied to the corresponding qubit.

[0121] The rotations section, positioned to the right of the embed section in the single variational layer 400, applies a set of parameterized single-qubit rotation gates to all d=6 qubits independently. The parameterized single-qubit rotation gates of the rotations section are trainable gates whose rotation angles constitute a subset of the trainable variational parameters θ of the full quantum patch encoder 300. Applying independently parameterized rotations to all d=6 qubits enables the single variational layer400 to rotate each qubit state to an arbitrary point on its Bloch sphere, producing qubit-local transformations before the entanglement step. In one example, the rotations section applies Rx, Ry, and Rz rotation gates to each qubit, providing full single-qubit unitary control through three parameterized Euler-angle rotations. In the illustrated implementation, the rotations section applies a sequence of parameterized gates Rx(θ), Ry(θ), and Rz(θ) to each qubit, providing full single-qubit unitary control through three Euler-angle rotations.

[0122] The entangle section, positioned to the right of the rotations section in the single variational layer 400, applies a ring-structured entanglement layer of two-qubit controlled-NOT (CNOT) gates across all d=6 qubits. A CNOT gate is a two-qubit quantum gate that applies a Pauli-X (NOT) operation to a target qubit conditioned on the state of a control qubit, creating quantum entanglement between the two qubits. The ring entanglement layer connects qubit q0 as control to qubit q1 as target, qubit q1 as control to qubit q2 as target, and so on through qubit q4 as control to qubit q5 as target, and finally qubit q5 as control back to qubit q0 as target, completing the ring topology. The ring entanglement topology couples the d=6 qubits through controlled-NOT operations, enabling the full quantum patch encoder 300 to model correlations among components of the adapter output un through entanglement-assisted processing. This entanglement-assisted processing contributes to generation of a nonlinear, quantum-derived latent representation for each patch.

[0123] The measurement symbols at the right end of the single variational layer 400 indicate the final measurement operation associated with the full quantum patch encoder 300. In the context of the full quantum patch encoder 300, measurement is performed only after all L=3 repetitions of the single variational layer 400 have been executed, so that the measurement symbols shown in the single variational layer 400 represent the final measurement step of the full quantum patch encoder 300 rather than an intermediate measurement within a single variational layer. The L=3 repetitions of the single variational layer 400 are concatenated without intermediate measurements, so that the quantum state remains coherent across all L repetitions and the full parameterized unitary U(un;θ) acts on the d=6 qubit register before any classical output is extracted.

[0124] FIG. 5 illustrates a quantum-assisted image encryption algorithm 500. The quantum-assisted image encryption algorithm 500 depicts an encryption pipeline of the system 100, comprising three panels arranged vertically in FIG. 5. The first panel is a key generation panel 502, labeled “Key Generation Using The Proposed SPFC Map,” that depicts the derivation of the at least one cryptographic key and the initialization of the sinusoidal-polynomial feedback chaotic (SPFC) map used as a pseudorandom number generator (PRNG). The second panel is a key derivation panel 526, labeled “Chaotic Permutation Keys, Selection Sequences, and Seed Matrix,” that depicts the deterministic partitioning of the SPFC map output into the role-specific secret keys for the plurality of encryption operations. The third panel is an encryption panel 544, labeled “Quantum-Assisted Image Encryption,” that depicts the application of the plurality of encryption operations to the encoded latent image produced by the quantum-assisted autoencoder (PQAE) 548. The sequence of operations across the three panels produces the encrypted representation Ic 570 of the digital image from the input image I 546.

[0125] The key generation panel 502 depicts the derivation of the at least one cryptographic key by applying a password-based key derivation function to a password and a salt. The key generation panel 502 receives three inputs: a user input password 504, a random salt 506, and a random nonce 508. The user input password 504 is the user-supplied master secret that seeds the key derivation pipeline. The random salt 506 is a randomly generated 128-bit value produced once per file, stored in the ciphertext header, and combined with the user input password 504 to ensure that two encryptions performed under the same password but with different salts produce independent derived keys, preventing precomputation attacks. The random nonce 508 is a randomly generated 96-bit value produced once per encryption, stored in the ciphertext header alongside the random salt 506, and used to ensure forward secrecy so that two encryptions of the same input image under the same password produce different chaotic control sequences. The user input password 504 and the random salt 506 are processed by PBKDF2-HMAC-SHA256 510. PBKDF2-HMAC-SHA256 510 is the password-based key derivation function that applies the HMAC keyed hash using the SHA-256 algorithm iteratively to the user input password 504 and the random salt 506 to derive a 256-bit master key Kmaster:Kmaster=PBKDF2(Km,S)

[0126] The 256-bit master key Kmaster is then processed by the HKDF split 514. The HKDF split 514 applies a hash-based key derivation function (HKDF) to the master key Kmaster to split the derived key material into an encryption key Kene and an authentication key Kmac, collectively denoted Kenc, Kmac in FIG. 5. The encryption key Kenc is used to seed the PRNG 512, and the authentication key Kmac may be used for ciphertext integrity verification. The PRNG 512 receives the encryption key Kenc and the random nonce 508 as a combined seed (Kenc, nonce) and generates a pseudorandom byte stream using a cryptographic hash-based pseudorandom number generator based on SHA-256. The pseudorandom byte stream produced by the PRNG 512 is mapped to floating-point values in the open interval (0, 1) to initialize the control parameters 516 of the SPFC map 518. The control parameters 516 are the SPFC map initialization values α, β, γ, δ, ε, , and y0, where α, β, γ, and δ are the polynomial coefficients of the polynomial nonlinearity P(yn), ε and are the feedback parameters of the state-dependent feedback mechanism (yn), and y0 is the initial map state.

[0127] The SPFC map 518 receives the control parameters 516 and generates the chaotic byte stream that seeds all role-specific secret keys. After initialization with the control parameters 516, an initial transient portion of the SPFC map 518 output is discarded before the usable chaotic byte stream is extracted, ensuring that the chaotic byte stream is sampled from the stationary behavior of the SPFC map 518 attractor rather than its startup transient. The SPFC map 518 outputs three independent role-specific secret keys: secret keys P1 / P2 520, secret key S1 / S2 522, and secret key C 524. The secret keys P1 / P2 520 are the permutation control bytes assigned to the column permutation role and the row permutation role. The secret key S1 / S2 522 is the substitution and bit-shift control bytes assigned to the substitution and bit-shift roles. The secret key C 524 is the diffusion seed bytes assigned to the diffusion role. The three-way role separation of the SPFC map 518 output minimizes cross-correlation among the permutation, substitution, and diffusion control signals.

[0128] The key derivation panel 526 receives the secret keys P1 / P2 528, the secret key S1 / S2 534, and the secret key C 540 from the key generation panel 502 and derives the specific operational keys and control sequences for each stage of the plurality of encryption operations. The secret keys P1 / P2 528 correspond to the secret keys P1 / P2 520 output by the key generation panel 502. From the secret keys P1 / P2 528, the key derivation panel 526 derives a column permutation key (permutation key 1) Pcol 530 and a row permutation key (permutation key 2) Prow 532, enclosed within a dashed subregion in FIG. 5. The permutation key 1 Pcol 530 is the column permutation key used in the first permutation stage 552 to permute the columns of the encoded latent image Ie. The permutation key 2 Prow 532 is the row permutation key used in the second permutation stage 562 to permute the rows of the substituted latent image. Together, Pcol 530 and Prow 532 implement the at least one permutation operation in the ordered encryption sequence.

[0129] The secret key S1 / S2 534 corresponds to the secret key S1 / S2 522 output by the key generation panel 502. From the secret key S1 / S2 534, the key derivation panel 526 derives an S-box selection sequence s1 536 and a bit shift index s2 538. The S-box selection sequence s1 536 takes values in the set {0, 1, 2}, as labelled in FIG. 5, where each value selects one of the three cryptographic substitution boxes used in the chaotic dynamic substitution 558 of the confusion module 554. The bit shift index s2 538 takes values in the set {0, 1, . . . , 7}, as labelled in FIG. 5, specifying the number of bit positions for the circular left-shift applied to each pixel in the bit shift 566 of the diffusion module 560. The secret key C 540 corresponds to the secret key C 524 output by the key generation panel 502. From the secret key C 540, the key derivation panel 526 derives the chaotic seed matrix C256×256 542. The chaotic seed matrix C 542 is a matrix of chaotic byte values arranged to correspond to the byte-domain representation used in the diffusion module 560 for implementing bit-level diffusion across the latent image representation.

[0130] The encryption panel 544 depicts the application of the plurality of encryption operations to the latent image representation produced by the PQAE 548 from the input image I 546. The input image I 546 is the digital image received by the encryption panel 544 as the plaintext input, corresponding to the input image I 102 of the system 100. The PQAE 548 is the hybrid patchwise quantum autoencoder of the system 100 that transforms the input image I 546 into the encoded latent image Ie=ε(I) 550, where ε denotes the quantum encoding function of the PQAE 548. The encoded latent image Ie=ε(I) 550 constitutes the pre-encryption domain that serves as the input to the ordered sequence of the plurality of encryption operations in the encryption panel 544.

[0131] The encryption panel 544 comprises a permutation stage 1 552 and a confusion module 554, connected in sequence. The permutation stage 1 552 implements the at least one permutation operation on columns and receives the encoded latent image Ie=ε(I) 550 as input. The permutation stage 1 552 performs a key-controlled column permutation of the encoded latent image Ie using the permutation key 1 Pcol 530 derived from the key derivation panel 526, rearranging the column indices of the encoded latent image Ie according to the chaotic index sequence of Pcol 530:Iec(:,i)=Ie(:,P1(i))where P1 556 is the column-permuted intermediate latent image output by the permutation stage 1 552. The permutation stage 1 552 removes horizontal spatial correlation in the encoded latent image Le with low computational overhead before the substitution step. The column-permuted intermediate latent image P1 556 is passed to the confusion module 554. The confusion module 554 implements the at least one substitution operation and comprises the chaotic dynamic substitution 558. The chaotic dynamic substitution 558 substitutes values of P1 556 using a dynamically selected substitution box controlled by the S-box selection sequence s1 ∈{0, 1, 2} derived from the key derivation panel 526. In one implementation, each 8-bit value is split into a most-significant nibble index and a least-significant nibble index for lookup in the selected substitution box, introducing key-dependent nonlinearity and confusion. The confusion module 554 produces a substituted intermediate latent image that is passed to the permutation stage 2 562.

[0132] The encryption panel 544 further comprises a permutation stage 2 562 and a diffusion module 560, connected in sequence after the confusion module 554. The permutation stage 2 562 implements the at least one permutation operation on rows and comprises a key-controlled row permutation 564. The key-controlled row permutation 564 permutes the rows of the substituted intermediate latent image using the permutation key 2 Prow 532 derived from the key derivation panel 526, rearranging the row indices according to the chaotic index sequence of Prow 532.

[0133] The substituted image is permuted row-wise using key P2:Ier·(i,:)=Ies·(P2(i),:)

[0134] where P2 is the row-permuted substituted intermediate latent image output by the permutation stage 2 562. The key-controlled row permutation 564 disperses the post-substitution values across both spatial dimensions, complementing the column permutation of the permutation stage 1 552. The row-permuted substituted intermediate latent image P2 is passed to the diffusion module 560. The diffusion module 560 implements the at least one diffusion operation and comprises a bit shift 566 and a bit-XOR with seed matrix 568 connected in sequence. The bit shift 566 circularly left-shifts each pixel value of P2 by a key-dependent number of bit positions s2∈{0, 1, . . . , 7} derived from the key derivation panel 526. The bit-XOR with seed matrix 568 then performs a bitwise exclusive-OR (XOR) of each circularly shifted pixel value with the corresponding entry of the chaotic seed matrix C256×256 542, producing the encrypted representation Ic:Ienc=Shift(Ier)⊕C

[0135] where ⊕ denotes the bitwise XOR operation applied element-wise between the bit-shifted latent image and the chaotic seed matrix C256×256 542. The combination of the bit shift 566 and the bit-XOR with seed matrix 568 implements bit-level diffusion that increases sensitivity of the encrypted representation Ic 570 to changes in the encoded latent image Ie. The encrypted image Ic 570 is the final output of the encryption panel 544 and constitutes the encrypted representation of the digital image produced by the quantum-assisted image encryption algorithm 500.

[0136] FIG. 6 is a flowchart illustrating a method 600 for encrypting a digital image, according to certain embodiments. The method 600 depicts the ordered sequence of steps performed by the system 100 to transform the digital image into an encrypted representation of the digital image. The method 600 comprises four steps executed in sequence, as shown in FIG. 6.

[0137] At step 602, the method 600 includes transforming the digital image into a latent image representation by partitioning the digital image into a plurality of non-overlapping patches. The patchify module 104 of the system 100 partitions the digital image into the plurality of non-overlapping patches to prepare the digital image for latent encoding. Later the quantum-assisted autoencoder of the system 100 encodes the plurality of non-overlapping patches into the latent image representation constituting the pre-encryption domain.

[0138] At step 604, the method 600 includes encoding each of the plurality of non-overlapping patches using a quantum-assisted autoencoder. The quantum encoder 110, comprising the teacher patch autoencoder 106, the adapter layer A 108, and the parameterized quantum circuit (PQC) 112, encodes each of the plurality of non-overlapping patches into a quantum latent vector, assembles the per-patch quantum latent vectors into the latent map Z 114, and serializes the latent map Z 114 into the latent image L 116 that forms the latent image representation.

[0139] At step 606, the method 600 includes generating a chaotic control sequence from at least one cryptographic key using a nonlinear chaotic map. The SPFC encryption module 118 derives the at least one cryptographic key by applying a password-based key derivation function to a password and a salt, splits the derived key material into an encryption key Kenc and an authentication key Kmac, generates a nonce, and produces a pseudorandom byte stream using a cryptographic hash-based pseudorandom number generator to initialize and iterate the sinusoidal-polynomial feedback chaotic (SPFC) map, thereby generating the chaotic control sequence after discarding an initial transient portion of the chaotic map output.

[0140] At step 608, the method 600 includes encrypting the latent image representation by applying a plurality of encryption operations controlled by the chaotic control sequence, wherein the plurality of encryption operations comprises at least one permutation operation, at least one substitution operation, and at least one diffusion operation, thereby producing an encrypted representation of the digital image. The SPFC encryption module 118 deterministically partitions the chaotic control sequence into a first control stream for the at least one permutation operation, a second control stream for the at least one substitution operation and a bit-shift operation, and a diffusion seed matrix for the at least one diffusion operation, and applies the plurality of encryption operations in an ordered sequence comprising permuting columns of the latent image representation, substituting pixel values using a dynamically selected substitution box, permuting rows of the latent image representation, and diffusing pixel values by circularly shifting bits and performing a bitwise exclusive-OR with the diffusion seed matrix, to produce the encrypted representation Ic of the digital image.

[0141] Next, further details of the hardware description of the computing environment according to exemplary embodiments is described with reference to FIG. 7. In FIG. 7, a controller 700 is described is representative of the system in which the controller is a computing device which includes a CPU 701 which performs the processes described above / below. The process data and instructions may be stored in memory 702. These processes and instructions may also be stored on a storage medium disk 704 such as a hard drive (HDD) or portable storage medium or may be stored remotely.

[0142] Further, the present disclosure is not limited by the form of the computer-readable media on which the instructions of the inventive process are stored. For example, the instructions may be stored on CDs, DVDs, in FLASH memory, RAM, ROM, PROM, EPROM, EEPROM, hard disk or any other information processing device with which the computing device communicates, such as a server or computer.

[0143] Further, the present disclosure may be provided as a utility application, background daemon, or component of an operating system, or combination thereof, executing in conjunction with CPU 701, 703 and an operating system such as Microsoft Windows 7, Microsoft Windows 10, UNIX, LINUX, Apple MAC-OS and other systems known to those skilled in the art.

[0144] The hardware elements in order to achieve the computing device may be realized by various circuitry elements, known to those skilled in the art. For example, CPU 701 or CPU 703 may be a Xenon or Core processor from Intel of America or an Opteron processor from AMD of America, or may be other processor types that would be recognized by one of ordinary skill in the art. Alternatively, the CPU 701, 703 may be implemented on an FPGA, ASIC, PLD or using discrete logic circuits, as one of ordinary skill in the art would recognize. Further, CPU 701, 703 may be implemented as multiple processors cooperatively working in parallel to perform the instructions of the inventive processes described above.

[0145] The computing device in FIG. 7 also includes a network controller 706, such as an Intel Ethernet PRO network interface card from Intel Corporation of America, for interfacing with network 760. As can be appreciated, the network 760 can be a public network, such as the Internet, or a private network such as an LAN or WAN network, or any combination thereof and can also include PSTN or ISDN sub-networks. The network 760 can also be wired, such as an Ethernet network, or can be wireless such as a cellular network including EDGE, 3G, 4G, and 5G wireless cellular systems. The wireless network can also be WiFi, Bluetooth, or any other wireless form of communication that is known.

[0146] The computing device further includes a display controller 708, such as a NVIDIA Geforce GTX or Quadro graphics adaptor from NVIDIA Corporation of America for interfacing with display 710, such as a Hewlett Packard HPL2445w LCD monitor. A general purpose I / O interface 712 interfaces with a keyboard and / or mouse 714 as well as a touch screen panel 716 on or separate from display 710. General purpose I / O interface also connects to a variety of peripherals 718 including printers and scanners, such as an OfficeJet or DeskJet from Hewlett Packard.

[0147] A sound controller 720 is also provided in the computing device such as Sound Blaster X-Fi Titanium from Creative, to interface with speakers / microphone 722 thereby providing sounds and / or music.

[0148] The general purpose storage controller 724 connects the storage medium disk 704 with communication bus 726, which may be an ISA, EISA, VESA, PCI, or similar, for interconnecting all of the components of the computing device. A description of the general features and functionality of the display 710, keyboard and / or mouse 714, as well as the display controller 708, storage controller 724, network controller 706, sound controller 720, and general purpose I / O interface 712 is omitted herein for brevity as these features are known.

[0149] The exemplary circuit elements described in the context of the present disclosure may be replaced with other elements and structured differently than the examples provided herein. Moreover, circuitry configured to perform features described herein may be implemented in multiple circuit units (e.g., chips), or the features may be combined in circuitry on a single chipset, as shown on FIG. 8.

[0150] FIG. 8 shows a schematic diagram of a data processing system 800, according to certain embodiments, for performing the functions of the exemplary embodiments. The data processing system is an example of a computer in which code or instructions implementing the processes of the illustrative embodiments may be located.

[0151] In FIG. 8, data processing system 800 employs a hub architecture including a north bridge and memory controller hub (NB / MCH) 825 and a south bridge and input / output (I / O) controller hub (SB / ICH) 820. The central processing unit (CPU) 830 is connected to NB / MCH 825. The NB / MCH 825 also connects to the memory 845 via a memory bus, and connects to the graphics processor 850 via an accelerated graphics port (AGP). The NB / MCH 825 also connects to the SB / ICH 820 via an internal bus (e.g., a unified media interface or a direct media interface). The CPU Processing unit 830 may contain one or more processors and even may be implemented using one or more heterogeneous processor systems.

[0152] For example, FIG. 9 shows one implementation of CPU 830. In one implementation, the instruction register 938 retrieves instructions from the fast memory 940. At least part of these instructions are fetched from the instruction register 938 by the control logic 936 and interpreted according to the instruction set architecture of the CPU 830. Part of the instructions can also be directed to the register 932. In one implementation the instructions are decoded according to a hardwired method, and in another implementation the instructions are decoded according a microprogram that translates instructions into sets of CPU configuration signals that are applied sequentially over multiple clock pulses. After fetching and decoding the instructions, the instructions are executed using the arithmetic logic unit (ALU) 934 that loads values from the register 932 and performs logical and mathematical operations on the loaded values according to the instructions. The results from these operations can be feedback into the register and / or stored in the fast memory 940. According to certain implementations, the instruction set architecture of the CPU 830 can use a reduced instruction set architecture, a complex instruction set architecture, a vector processor architecture, a very large instruction word architecture. Furthermore, the CPU 830 can be based on the Von Neuman model or the Harvard model. The CPU 830 can be a digital signal processor, an FPGA, an ASIC, a PLA, a PLD, or a CPLD. Further, the CPU 830 can be an x86 processor by Intel or by AMD; an ARM processor, a Power architecture processor by, e.g., IBM; a SPARC architecture processor by Sun Microsystems or by Oracle; or other known CPU architecture.

[0153] Referring again to FIG. 8, the data processing system 800 can include that the SB / ICH 820 is coupled through a system bus to an I / O Bus, a read only memory (ROM) 856, universal serial bus (USB) port 864, a flash binary input / output system (BIOS) 868, and a graphics controller 858. PCI / PCIe devices can also be coupled to SB / ICH 820 through a PCI bus 862.

[0154] The PCI devices may include, for example, Ethernet adapters, add-in cards, and PC cards for notebook computers. The Hard disk drive 860 and CD-ROM 866 can use, for example, an integrated drive electronics (IDE) or serial advanced technology attachment (SATA) interface. In one implementation the I / O bus can include a super I / O (SIO) device.

[0155] Further, the hard disk drive (HDD) 860 and optical drive 866 can also be coupled to the SB / ICH 820 through a system bus. In one implementation, a keyboard 870, a mouse 872, a parallel port 878, and a serial port 876 can be connected to the system bus through the I / O bus. Other peripherals and devices that can be connected to the SB / ICH 820 using a mass storage controller such as SATA or PATA, an Ethernet port, an ISA bus, a LPC bridge, SMBus, a DMA controller, and an Audio Codec.

[0156] Moreover, the present disclosure is not limited to the specific circuit elements described herein, nor is the present disclosure limited to the specific sizing and classification of these elements. For example, the skilled artisan will appreciate that the circuitry described herein may be adapted based on changes on battery sizing and chemistry, or based on the requirements of the intended back-up load to be powered.

[0157] The functions and features described herein may also be executed by various distributed components of a system. For example, one or more processors may execute these system functions, wherein the processors are distributed across multiple components communicating in a network. The distributed components may include one or more client and server machines, which may share processing, as shown by FIG. 10, in addition to various human interface and communication devices (e.g., display monitors, smart phones, tablets, personal digital assistants (PDAs)). More specifically, FIG. 10 illustrates client devices including a smart phone 1010, a tablet 1012, a mobile device terminal 1014 and fixed terminals 1016. These client devices may be commutatively coupled with a mobile network service 1020 via a base station 1056, an access point 1054, a satellite 1052 or via an internet connection. The mobile network service 1020 may comprise central processors 1022, a server 1024 and a database 1026. The fixed terminals 1016 and the mobile network service 1020 may be commutatively coupled via an internet connection to functions in cloud 1030 that may comprise a security gateway 1032, a data center 1034, a cloud controller 1036, a data storage 1038 and a provisioning tool 1040. The network may be a private network, such as the LAN or the WAN, or may be the public network, such as the Internet. Input to the system may be received via direct user input and received remotely either in real-time or as a batch process. Additionally, some implementations may be performed on modules or hardware not identical to those described. Accordingly, other implementations are within the scope that may be disclosed.

[0158] The above-described hardware description is a non-limiting example of corresponding structure for performing the functionality described herein.

[0159] Numerous modifications and variations of the present disclosure are possible in light of the above teachings. It is therefore to be understood that the invention may be practiced otherwise than as specifically described herein.

Claims

1. A method for encrypting a digital image, comprising:transforming the digital image into a latent image representation by partitioning the digital image into a plurality of non-overlapping patches;encoding each of the plurality of non-overlapping patches using a quantum-assisted autoencoder;generating a chaotic control sequence from at least one cryptographic key using a sinusoidal-polynomial feedback chaotic map that integrates a sinusoidal modulation, a polynomial nonlinearity, a state-dependent feedback, and a modular wrapping; andencrypting the encoded latent image representation by applying a plurality of encryption operations controlled by the chaotic control sequence,wherein the plurality of encryption operations comprises at least one permutation operation, at least one substitution operation, and at least one diffusion operation, thereby producing an encrypted representation of the digital image.

2. The method of claim 1, further comprising:forming the latent image representation as a structured latent image that is encrypted in place of encrypting individual pixel values of the digital image.

3. The method of claim 1, further comprising:encoding each of the plurality of non-overlapping patches by processing each of the plurality of non-overlapping patches with a parameterized quantum circuit to produce a latent vector.

4. The method of claim 1, further comprising:separating, within the quantum-assisted autoencoder, one or more retained latent components from a plurality of discarded components and suppressing the plurality of discarded components from the latent image representation.

5. The method of claim 1, further comprising:discarding an initial transient portion of chaotic map output generated by the nonlinear chaotic map prior to using the chaotic control sequence.

6. The method of claim 1, further comprising:deriving the at least one cryptographic key by applying a password-based key derivation function to a password and a salt, splitting derived key material into an encryption key and an authentication key, generating a nonce, and generating a pseudorandom byte stream using a cryptographic hash-based pseudorandom number generator.

7. The method of claim 6, further comprising:deterministically partitioning the chaotic map output into:a first control stream for the at least one permutation operation,a second control stream for the at least one substitution operation and a bit-shift operation, anda diffusion seed matrix for the at least one diffusion operation.

8. The method of claim 7, further comprising:performing the plurality of encryption operations in an ordered sequence comprising:permuting columns of the latent image representation using the chaotic control sequence,substituting pixel values using a dynamically selected substitution box controlled by the chaotic control sequence,permuting rows of the latent image representation using the chaotic control sequence, anddiffusing pixel values by circularly shifting bits and performing a bitwise exclusive-OR with the diffusion seed matrix.

9. The method of claim 8, further comprising:selecting the dynamically selected substitution box from a plurality of cryptographic substitution boxes including Advanced Encryption Standard (AES), Camellia, and Khazad substitution boxes.

10. The method of claim 1, further comprising:decrypting the encrypted representation by reversing the at least one permutation operation, the at least one substitution operation, and the at least one diffusion operation using the at least one cryptographic key and the chaotic control sequence.

11. A system for encrypting a digital image, comprising:one or more processors; anda memory storing instructions which, when executed by the one or more processors, cause the system to:transform the digital image into a latent image representation by partitioning the digital image into a plurality of non-overlapping patches;encoding each of the plurality of non-overlapping patches using a quantum-assisted autoencoder;generate a chaotic control sequence from at least one cryptographic key using a nonlinear chaotic map; andencrypt the encoded latent image representation by applying a plurality of encryption operations controlled by the chaotic control sequence,wherein the plurality of encryption operations comprises at least one permutation operation, at least one substitution operation, and at least one diffusion operation, thereby producing an encrypted representation of the digital image, andwherein the nonlinear chaotic map comprises a sinusoidal-polynomial feedback chaotic map integrating a sinusoidal modulation, a polynomial nonlinearity, a state-dependent feedback, and a modular wrapping.

12. The system of claim 11, wherein the latent image representation comprises a structured latent image that is encrypted in place of encrypting individual pixel values of the digital image.

13. The system of claim 11, wherein encoding each of the plurality of non-overlapping patches comprises processing each of the plurality of non-overlapping patches with a parameterized quantum circuit to produce a latent vector.

14. The system of claim 11, wherein the quantum-assisted autoencoder is configured to separate one or more retained latent components from a plurality of discarded components and to suppress the plurality of discarded components from the latent image representation.

15. The system of claim 11, wherein the system is further configured to discard an initial transient portion of chaotic map output prior to using the chaotic control sequence.

16. The system of claim 11, wherein the system is further configured to:derive the at least one cryptographic key by applying a password-based key derivation function to a password and a salt,split derived key material into an encryption key and an authentication key,generate a nonce, andgenerate a pseudorandom byte stream using a cryptographic hash-based pseudorandom number generator.

17. The system of claim 16, wherein the system is further configured to deterministically partition the chaotic map output into:a first control stream for the at least one permutation operation,a second control stream for the at least one substitution operation and a bit-shift operation, anda diffusion seed matrix for the at least one diffusion operation.

18. The system of claim 17, wherein the system is further configured to perform the plurality of encryption operations in an ordered sequence including:permuting columns of the latent image representation using the chaotic control sequence,substituting pixel values using a dynamically selected substitution box controlled by the chaotic control sequence,permuting rows of the latent image representation using the chaotic control sequence, anddiffusing pixel values by circularly shifting bits and performing a bitwise exclusive-OR with the diffusion seed matrix.

Citation Information

Patent Citations

  • Method for generating variable parameter chaos signal and chaos secret communication system

    CN101394266B

  • Digital image encryption method, decryption method and system based on chaotic system

    CN114157408B

  • Method and Apparatus of managing unity data on mobile device and Recording medium using this

    KR100954841B1

  • System and method of training vision transformer on small-scale datasets

    US12417620B2

  • Generation of semantically modified variations of images with transformer networks

    US12469283B2