Abstract
This paper presents a feature-aware framework that couples plaintext descriptors with key derivation, chaotic-source selection, spatial permutation, and bidirectional diffusion. Global spatial frequency, local contrast, and block scores are combined with a 256-bit secret root key and a public nonce through SHA-256-based key derivation. A deterministic selector combines a global-feature offset with keyed control information to choose 3D-LMM or 3D-NDHC for each encryption instance. The selected map and SHA-256 jointly generate domain-separated control streams for two-level permutation and anchor-assisted bidirectional diffusion. Block features enter the permutation rules, anchor allocation, and injection values, while explicit inverse operations recover valid encryption outputs under matching numerical conventions. A compact synchronization descriptor records global variation statistics and the ordered scores of blocks, allowing the receiver to reconstruct the controls. Experiments on 30 USC–SIPI images demonstrate byte-exact recovery and mean plaintext-sensitivity values of 99.6106% NPCR and 33.4694% UACI. Ablation and perturbation tests quantify how feature-dependent controls affect differential sensitivity. Packet authentication uses HMAC-SHA256 with a separate key derived by HKDF-SHA256. The receiver recovered the original images from all 108 valid packets and rejected all 264 specified modifications before core decryption. Neither the known-plaintext nor the chosen-plaintext XOR-transfer probe recovered any of the 30 target images.