Skip to Content
SignalsSignals
  • Article
  • Open Access

3 August 2026

28 Pages

A Hybrid Chaotic and Random Grid Visual Cryptography-Based Framework for Secure and Revocable Biometric Template Protection

,
and
1
Laboratory of Electronics and New Technologies (LENT), Larbi Ben M’hidi University, Oum El-Bouaghi 04000, Algeria
2
Laboratory of Electrical Engineering Polytechnic of Constantine (LGEPC), National Polytechnic School of Constantine (ENPC), Constantine 25000, Algeria
3
Laboratory of Signals and Smart Systems (L3S), Echahid Cheikh Laarbi Tebessi University, Tebessa 12002, Algeria
*
Author to whom correspondence should be addressed.

Abstract

Biometric authentication systems are increasingly deployed in critical security applications, yet the irreplaceable nature of biometric traits poses fundamental risks when templates are compromised. Unlike passwords or tokens, biometric data cannot be reissued, making template protection a paramount concern for preserving both security and privacy. This paper presents a novel multilayer framework for biometric template protection that integrates cancellability directly into the feature extraction stage, ensuring non-invertible and revocable templates while maintaining high recognition accuracy. The proposed method employs chaotic projection of Binarized Statistical Image Features (BSIF) filter banks, optimized through Particle Swarm Optimization (PSO), to generate discriminative yet irreversible biometric templates. To strengthen security against statistical and cryptanalytic attacks, dual-layer scrambling and diffusion processes driven by chaotic maps eliminate spatial correlations and produce uniform intensity distributions. Furthermore, Random Grid Visual Cryptography (RGVC) divides the encrypted template into two shares stored in separate databases, ensuring that the compromise of a single repository reveals no biometric information. Extensive experiments conducted on the PolyU multispectral palmprint database demonstrate exceptional authentication performance, achieving Equal Error Rate (EER) values as low as 0.0520% after applying the proposed protection framework, under optimal configurations. Comprehensive empirical security analysis demonstrates favorable statistical security characteristics, including near-zero pixel correlation, near-uniform intensity distributions, high entropy values approaching the theoretical maximum of 8 bits, favorable NPCR and UACI values, and high sensitivity to key variations under the considered experimental settings. The proposed framework satisfies the essential requirements of cancellable biometrics, including diversity, revocability, and non-invertibility, while providing a privacy-preserving biometric template protection approach.

1. Introduction

In the contemporary digital era, automatic human identification systems have become indispensable for securing sensitive infrastructures and safeguarding personal privacy across diverse applications. These systems are extensively deployed to control access at international borders, authenticate users at Automated Teller Machines (ATMs), monitor patient identities in healthcare facilities, and manage entry to restricted zones in governmental and corporate environments [1]. The proliferation of biometric technologies has been driven by the inherent limitations of traditional authentication mechanisms such as passwords, Personal Identification Numbers (PINs), and physical tokens, which are vulnerable to theft, disclosure, loss, and unauthorized transfer [2]. Biometric systems leverage unique physiological and behavioral characteristics including fingerprints, facial features, iris patterns, palmprints, voiceprints, and even electrocardiogram (ECG) signals to establish identity with higher reliability and user convenience [3].
Despite their advantages, biometric systems face critical security and privacy challenges that fundamentally distinguish them from conventional authentication methods. The most significant concern is the irreplaceability of biometric traits. Unlike passwords or cryptographic keys that can be reset or reissued upon compromise, biometric characteristics are permanent and immutable throughout an individual’s lifetime [4]. Once a biometric template is stolen or leaked, the affected individual faces irreversible identity exposure with potentially severe consequences across multiple applications and services. Furthermore, biometric traits are inherently non-secret by nature. Fingerprints can be easily obtained from surfaces, facial images can be captured without consent, and voiceprints can be recorded during conversations [5]. This accessibility makes biometric data particularly vulnerable to unauthorized collection and subsequent misuse. Additionally, the storage of raw or inadequately protected biometric templates in centralized databases creates attractive targets for malicious actors, raising serious concerns about mass surveillance, identity theft, and cross-database matching that violates user privacy [6].
To address these fundamental vulnerabilities, the research community has developed biometric template protection schemes that enable template replacement and ensure privacy without requiring storage of original biometric data [7]. Among these approaches, cancellable biometrics has emerged as a particularly promising paradigm. First introduced by Ratha et al. [8], cancellable biometrics applies intentional, non-invertible transformations to biometric features, ensuring that only distorted templates are stored in databases. The growing significance of this field is evidenced by the consistent increase in scholarly publications addressing cancellable and cancelable biometrics over recent years. The fundamental principle underlying cancellable biometrics is the generation of multiple distinct templates from the same biometric trait by varying transformation parameters, thereby enabling template renewal without requiring user re-enrollment [9].
Effective cancellable biometric systems must satisfy three essential security requirements [10]. First, diversity ensures that templates generated for different applications or services are computationally independent and cannot be cross-matched, thereby preventing unauthorized tracking of individuals across multiple systems. Second, revocability guarantees that compromised templates can be invalidated and replaced by generating new templates through modified transformation parameters, analogous to password reset procedures. Third, non-invertibility requires that the original biometric trait cannot be reconstructed from the protected template, even with complete knowledge of the transformation algorithm, thus preserving biometric secrecy in the event of database breach [11].
Existing approaches to cancellable biometrics generally fall into two categories: biometric salting and non-invertible transformations [12]. Biometric salting methods combine biometric features with auxiliary data such as user-specific passwords, random noise, or synthetic patterns to generate protected templates. While conceptually straightforward, these approaches inherit vulnerabilities from their dependence on external secrets, which themselves become targets for theft or social engineering attacks [13]. Non-invertible transformation methods project feature vectors into new spaces using random matrices or apply geometric distortions to biometric patterns. Although these techniques offer stronger theoretical security, they often suffer from performance degradation due to information loss during transformation and face challenges in achieving accurate template alignment during verification [14].
Despite the considerable progress achieved in cancellable biometrics, designing a template protection framework that simultaneously satisfies recognition accuracy, revocability, diversity, and non-invertibility remains a challenging task. A critical limitation of most existing cancellable biometric schemes is that security mechanisms are applied as post-processing operations after feature extraction. Resulting in two largely independent stages optimized separately. Consequently, improvements in security are frequently obtained at the expense of recognition performance, while methods preserving high accuracy often provide limited protection against sophisticated attacks. This separation creates a potential vulnerability window and limits the integration between recognition performance and security properties [15]. Moreover, many methods struggle to achieve an optimal balance between the competing objectives of maintaining high recognition accuracy and ensuring strong template protection. The integration of security layers frequently introduces noise or information loss that degrades matching performance, forcing system designers to make unfavorable trade-offs between security and usability [16], in addition, many existing frameworks rely on a single protection mechanism, making them more vulnerable to key compromise, statistical analysis, or database leakage. These limitations motivate the development of integrated security architectures capable of jointly optimizing biometric recognition and template protection.
To overcome these limitations, this paper introduces a novel multilayer framework for biometric template protection that embeds cancellability directly into the feature extraction stage. The proposed approach integrates chaotic systems, non-invertible transformations, and visual cryptography into a unified architecture that simultaneously achieves high recognition performance, while improving biometric template protection and privacy preservation. The key technical novelties of this work include the chaotic projection of Binarized Statistical Image Features (BSIF) filter banks optimized using Particle Swarm Optimization (PSO), dual-layer scrambling and diffusion mechanisms driven by chaotic maps, and secure template storage through Random Grid Visual Cryptography (RGVC).
The principal contributions of this research can be summarized as follows: first, the integration of cancellability into feature extraction. Unlike conventional approaches that apply template protection after feature extraction, this framework introduces chaotic projection directly at the BSIF filter bank level, thereby creating non-invertible transformations embedded within the feature generation process itself. Furthermore, Particle Swarm Optimization (PSO) is employed to optimize the chaotic filter design by fine-tuning the chaotic projection parameters, simultaneously maximizing discriminative power while ensuring template diversity and non-invertibility, thus achieving superior recognition performance without sacrificing security.
In addition, to further enhance security, a dual-layer protection scheme is integrated: chaotic scrambling operations are used to destroy spatial correlations among feature pixels, while feedback diffusion mechanisms eliminate statistical patterns, making visual interpretation difficult while reducing exploitable statistical patterns in the protected templates under the experimental conditions considered in this work. Finally, for privacy-preserving secure storage, Random Grid Visual Cryptography is utilized to divide encrypted templates into two shares stored in separate databases, ensuring that the compromise of a single repository reveals no information about the original biometric trait.
The remainder of this paper is organized as follows. Section 2 reviews related work in biometric template protection and cancellable biometrics. Section 3 presents the proposed methodology, including preliminary foundations, chaotic BSIF filter design, security enhancement mechanisms, and RGVC-based secure storage. Section 4 describes the experimental setup and presents the experimental results, including performance evaluation and empirical security analysis. Finally, Section 5 concludes the paper with a summary of contributions and their significance for practical biometric system deployment.

3. Proposed Method

The proposed framework establishes a comprehensive multilayer architecture for biometric template protection that integrates cancellability directly into the feature extraction process. Unlike conventional approaches that apply security transformations as post-processing operations on extracted features, this method embeds non-invertible transformations at the filter bank level of the Binarized Statistical Image Features (BSIF) descriptor. This fundamental architectural choice enables simultaneous optimization of discriminative power and security properties, avoiding the performance degradation typically associated with separated security layers. The framework combines the inherent unpredictability of chaotic dynamical systems with cryptographic scrambling, diffusion mechanisms, and visual cryptography to create a robust defense-in-depth strategy. By leveraging Particle Swarm Optimization (PSO) to fine-tune transformation parameters, the system achieves optimal balance between recognition accuracy and template protection strength. The overall architecture, illustrated in Figure 1, comprises four distinct yet synergistic layers: chaotic projection of BSIF filters, spatial scrambling, statistical diffusion, and secure share generation through Random Grid Visual Cryptography. Each layer addresses specific security vulnerabilities while preserving the biometric discriminative information necessary for accurate authentication.
Figure 1. Overall architecture of the proposed biometric template protection framework.

3.1. Preliminary Foundations

Before presenting the proposed security framework, we establish the mathematical foundations of the underlying feature extraction method and the chaotic systems employed throughout the architecture. These preliminary concepts provide the theoretical basis for understanding how cancellability, non-invertibility, and revocability are achieved in the integrated system.

3.1.1. Binarized Statistical Image Features (BSIF)

The Binarized Statistical Image Features method, introduced by Kannala and Rahtu [32], has emerged as a robust and computationally efficient approach for texture analysis and local pattern description. BSIF generates compact binary codes that encode texture information by linearly projecting local image patches onto a learned subspace whose basis vectors are derived from natural image statistics through Independent Component Analysis (ICA). Unlike hand-crafted descriptors such as Local Binary Patterns (LBP), BSIF learns optimal filters directly from training data, enabling superior discriminative capability for texture classification tasks.
The BSIF encoding process operates on overlapping or non-overlapping image patches of size l × l p i x e l s . Given an input image I and a set of n linear filters { W i } i = 1 n , each of the same spatial dimensions l × l , the filter response S i at pixel location ( u , v ) is computed as the inner product between the image patch whose upper-left corner is located at ( u , v ) and the filter W i :
S i ( u , v ) = ∑ x = 0 l − 1 ∑ y = 0 l − 1 W i ( x , y ) · I ( u + x , v + y ) ,
Here, I denotes the grayscale biometric image with pixel intensities in the range [ 0 , 255 ] , where W i ( x , y ) denotes the real filter coefficient at position ( x , y ) within the i-th filter, and I ( u + x , v + y ) represents the pixel intensity value in the image patch. The summation spans all spatial locations within the l × l neighborhood. In order to preserve spatial dimensions during convolution symmetric padding is applied at image boundaries.
Each filter response S i ( u , v ) is then binarized by thresholding at zero to produce a binary feature bit b i ( u , v ) :
b i ( u , v ) = 1 if S i ( u , v ) > 0 . 0 otherwise .
The collection of n binary responses at each pixel location forms an n-bit binary code that characterizes the local texture pattern. These binary codes can be represented as a feature image F of the same spatial dimensions as the input image I, where each pixel value corresponds to the decimal interpretation of its n-bit binary string:
F ( u , v ) = ∑ i = 1 n b i ( u , v ) · 2 i − 1 .
This encoding produces integer values in the range [ 0 , 2 n − 1 ] , creating a compact representation of local texture patterns. For practical biometric recognition systems, the feature image F is typically partitioned into non-overlapping blocks, and histograms of the binary codes within each block are computed and concatenated to form the final feature descriptor H :
H = [ h 1 , h 2 , … , h M ] ,
where h j represents the histogram of binary codes within the j-th block, and M denotes the total number of blocks. The histogram representation provides spatial locality while maintaining computational efficiency and robustness to minor spatial variations.
Two critical parameters govern BSIF performance: the filter size l × l and the number of filters n. Larger filter sizes capture more contextual information but increase computational complexity, while a greater number of filters provides finer texture discrimination at the cost of longer code strings and potential overfitting. In this work, these parameters are empirically optimized through systematic evaluation on the target biometric modality, as detailed in Section 4.

3.1.2. Chaotic Maps and Dynamical Systems

Chaotic dynamical systems exhibit several properties that make them particularly suitable for cryptographic applications: extreme sensitivity to initial conditions, pseudo-random behavior, ergodicity, and deterministic generation from simple nonlinear equations. These characteristics enable the creation of unpredictable yet reproducible transformation sequences ideal for biometric template protection. In this framework, chaotic maps serve multiple roles including generation of random projection matrices, scrambling permutations, and diffusion key streams.
The one-dimensional logistic map, one of the most studied chaotic systems, is defined by the recurrence relation:
u n + 1 = μ u n ( 1 − u n ) ,
where u n ∈ [ 0 , 1 ] represents the system state at iteration n, and μ ∈ [ 0 , 4 ] is the control parameter. The map exhibits chaotic behavior when μ ∈ [ 3.57 , 4 ] , producing sequences that appear random despite being deterministically generated. The initial condition u 0 and control parameter μ together constitute the secret key, where even infinitesimal variations in these parameters lead to drastically different trajectories.
The sine map provides an alternative one-dimensional chaotic system with similar properties:
v n + 1 = m sin ( π v n ) ,
where v n ∈ [ 0 , 1 ] and the control parameter m ∈ [ 0 , 1 ] determines the dynamical regime. The sine map exhibits chaotic behavior across a broader parameter range compared to the logistic map, offering enhanced flexibility in key space design [33].
Despite their simplicity and widespread use, one-dimensional chaotic maps suffer from limited complexity and vulnerability to phase space reconstruction attacks, where adversaries can predict future states by analyzing short sequences. To address these limitations, higher-dimensional coupled chaotic systems have been developed. The two-dimensional Sine-Logistic Modulation Map (2D-SLMM), proposed by Hua et al. [34], combines the sine and logistic maps with cross-coupling to achieve enhanced chaotic performance:
x i + 1 = α ( sin ( π y i ) + β ) x i ( 1 − x i ) y i + 1 = α ( sin ( π x i + 1 ) + β ) y i ( 1 − y i ) ,
where x i , y i ∈ [ 0 , 1 ] are the two coupled state variables, α and β are control parameters, and the index i denotes the iteration number. The modulation term ( sin ( π · ) + β ) introduces nonlinearity that enhances the randomness of the logistic map component. The two output sequences { x i } and { y i } are mutually dependent through the coupling terms, making trajectory prediction significantly more difficult compared to independent one-dimensional maps. When β is set near 3, the 2D-SLMM demonstrates excellent chaotic properties including large Lyapunov exponents and uniform distribution in phase space. In this work, we adopt β = 3 for all experiments involving the 2D-SLMM.
The security of chaotic cryptographic systems fundamentally depends on the size and complexity of the key space, defined by the precision and range of initial conditions and control parameters. For implementation in finite-precision computing environments, the effective key space must account for floating-point representation limitations while maintaining sufficient entropy to resist brute-force attacks.

3.2. BSIF-Oriented Security Through Chaotic Projection

The first security layer, illustrated in the leftmost component of Figure 1, embeds cancellability directly into the BSIF feature extraction process by projecting the standard filter bank onto chaotic random matrices. This approach fundamentally differs from conventional template protection schemes that apply transformations after feature extraction. By modifying the filters themselves rather than the extracted features, the system ensures that the feature generation process is inherently non-invertible, as the transformed filters cannot be recovered without knowledge of the chaotic parameters serving as secret keys.
Let { W i orig } i = 1 n denote the original set of n BSIF filters of size l × l learned through ICA from natural image statistics. To introduce cancellability and prevent direct reconstruction of biometric traits, each filter W i orig is element-wise multiplied by a pseudorandom projection matrix R i of identical dimensions:
W i sec = R i ⊙ W i orig ,
where ⊙ denotes the Hadamard (element-wise) product, and W i sec represents the secured filter used for actual feature extraction. The projection matrices { R i } i = 1 n are generated from chaotic sequences produced by the logistic map (Equation (5)) initialized with secret parameters.
The generation process for each projection matrix R i proceeds as follows. First, a chaotic sequence S = [ s 1 , s 2 , … , s l 2 ] of length l 2 is produced by iterating the logistic map:
s j = μ s j − 1 ( 1 − s j − 1 ) , j = 1 , 2 , … , l 2 ,
where s 0 = x 0 is the initial condition serving as part of the secret key, and μ ∈ [ 3.57 , 4 ] is the control parameter. To ensure independence among projection matrices for different filters, the initial condition for generating R i is derived from the base secret key through a deterministic function:
x 0 ( i ) = mod ( x 0 + i · ϵ , 1 ) ,
where ϵ is a small constant (e.g., ϵ = 10 − 8 ) that ensures sufficient separation in the chaotic phase space. The chaotic sequence S is then reshaped into the two-dimensional projection matrix:
R i = reshape ( S , l , l ) .
This operation transforms the one-dimensional sequence into an l × l matrix where element ( p , q ) of R i corresponds to the value s p · l + q + 1 from the chaotic sequence.
The secured filters { W i sec } i = 1 n are then employed in place of the original filters in the BSIF feature extraction pipeline described in Equations (1)–(4). Specifically, the modified filter response becomes:
S i sec ( u , v ) = ∑ x = 0 l − 1 ∑ y = 0 l − 1 W i sec ( x , y ) · I ( u + x , v + y ) .
The subsequent binarization and encoding steps proceed identically using the secured responses S i sec ( u , v ) , producing a feature image F sec that embodies the chaotic transformation at its core.
This chaotic projection achieves cancellability through parameter variation. To generate a new template for the same biometric trait (e.g., after compromise), the system simply changes the chaotic parameters ( x 0 , μ ) to produce different projection matrices { R i ′ } , which in turn yield distinct secured filters { W i sec ′ } and ultimately different protected templates. Importantly, this revocation process requires no user re-enrollment, as the transformation is applied to the fixed original filters rather than the biometric sample itself.
However, arbitrary chaotic projections may degrade recognition performance by disrupting the discriminative structure carefully learned during ICA training. To address this challenge, the framework employs Particle Swarm Optimization (PSO) to identify chaotic parameters that maximize discriminative power while maintaining security properties.

Particle Swarm Optimization for Filter Parameter Tuning

Particle Swarm Optimization is a population-based metaheuristic algorithm inspired by the collective behavior of bird flocking and fish schooling [35]. In the context of optimizing chaotic projection parameters, each particle in the swarm represents a candidate solution comprising the initial condition x 0 and control parameter μ for the logistic map. The swarm explores the parameter space by balancing individual experience (cognitive component) with collective knowledge (social component).
Let the swarm consist of N p particles, where the k-th particle at iteration t is characterized by its position vector x k ( t ) = [ x 0 ( k ) , μ ( k ) ] T in the two-dimensional parameter space. Each particle maintains a velocity vector v k ( t ) that determines its movement through the search space. The particle also records its personal best position p k (the position that yielded the best fitness value encountered by this particle) and has access to the global best position g (the position that achieved the best fitness across the entire swarm).
The fitness function J quantifies the quality of a given parameter set by combining the False Rejection Rate (FRR) and False Acceptance Rate (FAR) measured on a validation dataset:
J ( x ) = W F R R · FRR ( x ) + W F A R · FAR ( x ) ,
where W F R R and W F A R are weighting coefficients satisfying W F R R + W F A R = 1 , that balance the relative importance of the two error types. In high-security applications, W F A R may be set higher to prioritize minimization of false acceptances, while convenience-oriented systems may favor lower W F R R to reduce user frustration from false rejections. For the experiments reported in this work, we employ equal weighting W F R R = W F A R = 0.5 to achieve balanced performance.
At each iteration, particle velocities and positions are updated according to:
v k ( t + 1 ) = w · v k ( t ) + c 1 · r 1 · ( p k − x k ( t ) ) + c 2 · r 2 · ( g − x k ( t ) ) ;
x k ( t + 1 ) = x k ( t ) + v k ( t + 1 ) .
where w is the inertia weight controlling the influence of the previous velocity, c 1 and c 2 are cognitive and social acceleration coefficients respectively, and r 1 , r 2 ∼ U ( 0 , 1 ) are random numbers sampled independently at each iteration to introduce stochastic exploration. Typical parameter settings include w ∈ [ 0.4 , 0.9 ] , c 1 = c 2 = 2.0 , which have been shown to provide good convergence properties across diverse optimization problems.
The optimization terminates after a predefined number of iterations or when the improvement in global best fitness falls below a threshold, indicating convergence. The final optimized parameters x ∗ = [ x 0 ∗ , μ ∗ ] are then employed as the secret projection key K p r o j for generating the chaotic projection matrices in the operational system. This PSO-based tuning ensures that the chaotic projection achieves non-invertibility and revocability without sacrificing recognition accuracy, addressing a critical limitation of many existing cancellable biometric schemes as discussed in Section 2. In the implemented PSO configuration, the swarm size was set to 30 particles and the maximum number of iterations was fixed at 100. The inertia weight was initialized to w = 0.7 , while the cognitive and social acceleration coefficients were set to c 1 = c 2 = 2.0 . The chaotic control parameters were optimized within experimentally predefined bounded intervals corresponding to the valid operating ranges of the employed chaotic maps. The optimization process was terminated either when the maximum number of iterations was reached or when successive fitness improvements became negligible.

3.3. Security Enhancement Through Scrambling and Diffusion

While chaotic projection of BSIF filters provides cancellability and non-invertibility at the feature extraction stage, the resulting feature images F sec may still retain recognizable spatial structures and statistical patterns that could be exploited by sophisticated attackers. To eliminate these residual vulnerabilities, the framework incorporates two additional cryptographic transformations, shown in the middle components of Figure 1: chaotic scrambling to destroy spatial correlations and feedback diffusion to achieve statistical uniformity.

3.3.1. Chaotic Scrambling

Scrambling operations permute the spatial positions of pixels in the feature image, breaking spatial adjacency relationships and rendering visual patterns unrecognizable. The proposed framework employs the two-dimensional Sine-Logistic Modulation Map (2D-SLMM) defined in Equation (7) to generate permutation indices with strong chaotic properties.
Given a feature image F sec of dimensions n × m , the scrambling process begins by generating a chaotic sequence of length N = n × m using the 2D-SLMM. Starting from initial conditions ( x 0 , y 0 ) and control parameters ( α , β ) that collectively serve as the scrambling key K scr = ( x 0 , y 0 , α , β ) , the map is iterated N times to produce two sequences:
X = [ x 1 , x 2 , … , x N ] , Y = [ y 1 , y 2 , … , y N ] .
To generate the scrambling permutation, one of these sequences (e.g., X ) is selected and sorted in ascending order. The permutation vector is obtained as:
π = argsort ( X ) ,
where argsort ( X ) returns the indices that would sort the sequence X in ascending order. Accordingly, π ( j ) denotes the original index of the element that occupies position j in the sorted sequence. The feature image F sec is first vectorized into a one-dimensional array f by concatenating its rows and then permuted according to:
f scr ( j ) = f ( π ( j ) ) , j = 1 , 2 , … , N .
Finally, the scrambled vector f scr is reshaped back into a two-dimensional image F ˜ of dimensions n × m :
F ˜ = reshape ( f scr , n , m ) .
This scrambling transformation is bijective and can be inverted using the inverse permutation π − 1 during template verification, provided the correct scrambling key K scr is available. The use of 2D-SLMM ensures that the permutation exhibits strong randomness and resists statistical analysis, as the two-dimensional coupling prevents phase space reconstruction attacks that could compromise simpler one-dimensional maps.

3.3.2. Feedback Diffusion

While scrambling disrupts spatial structures, it does not alter pixel intensity distributions. An attacker analyzing the histogram of a scrambled image can still observe the statistical properties of the original feature image. To address this vulnerability, the framework applies a feedback diffusion mechanism that spreads intensity changes throughout the image, achieving a near-uniform histogram that reveals minimal information about the underlying features.
The diffusion process operates on the scrambled image F ˜ by modifying each pixel intensity through a combination of three components: the original pixel value, a chaotic key stream value, and the previously encrypted pixel value. Let P denote the scrambled image F ˜ linearized into a one-dimensional array P = [ P 1 , P 2 , … , P N ] , where N = n × m is the total number of pixels. The encrypted pixel sequence C = [ C 1 , C 2 , … , C N ] is computed iteratively using:
C i = ( P i + C i − 1 + K i ) mod 256 ,
where P i is the i-th plaintext pixel value, C i is the corresponding ciphertext pixel, C i − 1 is the previous ciphertext pixel (initialized as C 0 = 0 for i = 1 ), K i is the i-th value in the chaotic key stream, and the modulo operation ensures pixel values remain in the valid range [ 0 , 255 ] for 8-bit grayscale images.
The key stream { K i } i = 1 N is generated from a chaotic map initialized with a diffusion key K diff independent of the scrambling key. The logistic map (Equation (5)) is employed for this purpose:
k i = μ diff · k i − 1 ( 1 − k i − 1 ) , K i = ⌊ k i × 256 ⌋ ,
where k 0 = x 0 diff is the initial condition, μ diff is the control parameter, and ⌊ · ⌋ denotes the floor function that converts the real-valued chaotic output to an integer in [ 0 , 255 ] .
The feedback term C i − 1 in Equation (20) creates an avalanche effect where changes in any plaintext pixel propagate to all subsequent pixels in the sequence. This interdependency ensures that even minor modifications to the input (such as single-pixel changes) result in drastically different encrypted outputs, satisfying the diffusion property critical for secure cryptographic systems.
The decryption process during template verification applies the inverse transformation:
P i = ( C i − C i − 1 − K i + 256 ) mod 256 .
The inverse transformation recovers recovers the scrambled image F ˜ when provided with the correct diffusion key K diff . The scrambled image is then descrambled using π − 1 to obtain the secured feature image F sec , which can be matched against enrollment templates using standard biometric comparison metrics.
The combination of scrambling and diffusion provides defense-in-depth against multiple attack vectors. Scrambling prevents visual recognition and spatial analysis, while diffusion eliminates statistical patterns observable through histogram analysis, entropy measurement, or correlation computation. Together, these layers significantly increase the computational effort required for successful cryptanalysis, as detailed in the security analysis of Section 4.

3.4. Privacy-Preserving Secure Storage via Random Grid Visual Cryptography

The final security layer, depicted in the rightmost component of Figure 1, addresses the critical vulnerability of centralized template storage. Even with encrypted templates, storing all biometric data in a single database creates an attractive target for attackers. Database breaches, insider threats, and compromised authentication servers pose serious risks to user privacy. To mitigate these concerns, the proposed framework employs Random Grid Visual Cryptography (RGVC) to split each encrypted template into two shares, stored in separate physical or logical databases, (See Figure 2). Each share, when considered separately, does not reveal any information about the protected template.
Figure 2. Visual cryptography pixel expansion.
Visual cryptography [36] is a secret sharing scheme that divides a secret image into multiple shares such that the secret can only be revealed by superimposing a sufficient number of shares. Traditional visual cryptography schemes suffer from pixel expansion, where each pixel in the original image is encoded into multiple pixels in each share, increasing storage requirements. Random Grid Visual Cryptography, proposed by Kafri and Keren, eliminates pixel expansion by encoding each secret pixel into exactly one pixel in each share, maintaining the original image dimensions.

3.4.1. RGVC Encoding for Grayscale Templates

Let T denote the encrypted template image (the output of the diffusion stage) with dimensions n × m and pixel values in the range [ 0 , 255 ] . The RGVC algorithm generates two share images S 1 and S 2 of identical dimensions such that:
1.
Each share, when considered individually, exhibits a random noise-like appearance and does not reveal meaningful information about T under the assumption of uniformly generated randomness during the share construction process.
2.
The secret image T can be reconstructed by combining S 1 and S 2 through a simple Boolean operation.
For binary images where T ( i , j ) ∈ { 0 , 1 } , the classical RGVC encoding rule is:
  • If T ( i , j ) = 0 (black pixel): Generate S 1 ( i , j ) randomly as 0 or 1 with equal probability, then set S 2 ( i , j ) = S 1 ( i , j ) .
  • If T ( i , j ) = 1 (white pixel): Generate S 1 ( i , j ) randomly as 0 or 1 with equal probability, then set S 2 ( i , j ) = 1 − S 1 ( i , j ) .
Reconstruction is performed by computing T ( i , j ) = S 1 ( i , j ) ⊕ S 2 ( i , j ) , where ⊕ denotes the XOR operation. When the secret pixel is black ( T ( i , j ) = 0 ), both shares have the same value, yielding 0 ⊕ 0 = 0 or 1 ⊕ 1 = 0 . When the secret pixel is white ( T ( i , j ) = 1 ), the shares have opposite values, yielding 0 ⊕ 1 = 1 or 1 ⊕ 0 = 1 .
For grayscale images with 8-bit pixel values, the encoding must be extended to handle 256 intensity levels. The proposed implementation processes each bit plane independently, generating two shares per bit plane and subsequently combining them to form the final grayscale shares. Specifically, each pixel intensity T ( i , j ) ∈ [ 0 , 255 ] is decomposed into its 8-bit binary representation:
T ( i , j ) = ∑ k = 0 7 b k ( i , j ) · 2 k ,
where b k ( i , j ) ∈ { 0 , 1 } is the k-th bit (with k = 0 being the least significant bit). For each bit plane k, binary RGVC is applied to generate share bit planes S 1 k and S 2 k :
G k ( i , j ) ∼ U ( 0 , 1 ) ,
where G k ( i , j ) is a uniformly distributed random variable used to introduce randomness in the share generation process for the k-th bit plane. Let T 0 = 0.5 denote a fixed decision threshold. The generation of the two binary share bit planes S 1 k and S 2 k is defined as follows:
S 1 k ( i , j ) = 1 , if b k ( i , j ) = 1 and G k ( i , j ) > T 0 ; 0 , if b k ( i , j ) = 1 and G k ( i , j ) ≤ T 0 ; 0 , if b k ( i , j ) = 0 and G k ( i , j ) ≤ T 0 ; 1 , if b k ( i , j ) = 0 and G k ( i , j ) > T 0 .
S 2 k ( i , j ) = 1 − S 1 k ( i , j ) , if b k ( i , j ) = 1 ; S 1 k ( i , j ) , if b k ( i , j ) = 0 .
This encoding rule ensures that when the secret bit b k ( i , j ) equals one, the two share bits are complementary, whereas, when b k ( i , j ) equals zero, the share bits are identical. As a result, neither share alone conveys any information about the underlying secret bit, since both values occur with equal probability. The reconstruction of the k-th bit plane is achieved through a bitwise exclusive OR operation:
b ^ k ( i , j ) = S 1 k ( i , j ) ⊕ S 2 k ( i , j ) ,
where b ^ k ( i , j ) denotes the reconstructed bit. The final reconstructed grayscale template T ^ is obtained by recombining the recovered bit planes:
T ^ ( i , j ) = ∑ k = 0 7 b ^ k ( i , j ) · 2 k .
The resulting shares S 1 and S 2 are grayscale images of the same dimensions as the original encrypted template T and can be expressed as:
S 1 ( i , j ) = ∑ k = 0 7 S 1 k ( i , j ) · 2 k S 2 ( i , j ) = ∑ k = 0 7 S 2 k ( i , j ) · 2 k .
Each share individually exhibits a uniform noise-like appearance with near-maximal entropy, rendering it statistically indistinguishable from random noise. Consequently, possession of a single share does not allow reconstruction of any meaningful information regarding the encrypted biometric template, under the experimental conditions considered in this work.

3.4.2. Security and Privacy Implications of RGVC-Based Storage

The integration of Random Grid Visual Cryptography into the proposed framework provides an additional layer of privacy protection beyond conventional encryption-based storage approaches. Since the reconstruction of the encrypted template requires simultaneous access to both shares, the compromise of a single database does not reveal any usable biometric information. This property directly addresses the threat of large-scale biometric data breaches and thereby enhancing biometric template privacy in distributed storage environments.
Several deployment configurations are supported by the proposed RGVC-based storage model. In one scenario, the two shares are stored in physically or administratively separate databases, such as servers operated by independent entities. In another configuration, one share may be retained by the user on a personal device or smart card, while the second share is stored by the authentication server. A third option involves delegating one share to a trusted third party, enabling controlled verification workflows while preserving user privacy. In all cases, authentication is only possible when the required shares are correctly combined, ensuring that unauthorized access to partial information cannot compromise the system.
Importantly, RGVC does not introduce pixel expansion or additional spatial distortion, preserving the original resolution and dimensionality of the encrypted template. This property makes the scheme particularly suitable for biometric systems, where template size and computational efficiency are critical considerations. Moreover, the RGVC encoding and reconstruction operations involve only simple logical and arithmetic operations, imposing minimal computational overhead and making the approach viable for real-time authentication systems.
During the enrollment phase, the input biometric sample is transformed into a protected template using the proposed multilayer framework. The corresponding secret keys ( K p r o j , K s c r , K d i f f ) are securely maintained by the authentication server throughout the enrollment and verification processes. The original biometric sample is securely retained in a protected local repository for revocation purposes, while the resulting encrypted template is subsequently decomposed into two RGVC shares, where one share may be stored on the authentication server and the second share is retained on a user-controlled device such as a smart card or mobile device. During verification, the required shares are first combined to reconstruct the encrypted template. The inverse diffusion and inverse scrambling operations are then applied using the corresponding secret keys to recover the protected template. In parallel, the same process is applied to the query biometric sample before matching is performed in the protected domain. In the event of template or key compromise, new optimized chaotic parameters are generated to derive a new secret projection key K p r o j , while new secret scrambling and diffusion keys ( K s c r and K d i f f ) are also generated. The retained biometric sample is then reprocessed through the complete protection pipeline using the renewed keys to generate a new protected template without requiring replacement of the user’s original biometric trait, thereby supporting revocability and template update capabilities. The revocability mechanism assumes that the original biometric sample remains securely stored in a protected local repository managed by the enrollment authority or authentication provider. Access to this repository is restricted to authorized enrollment and revocation operations. Consequently, the revocation capability of the proposed framework remains valid only while this retained biometric sample is securely preserved and available.

3.5. Proposed System Algorithm

Algorithm 1 summarizes the template protection process during the enrollment stage of the proposed framework. Starting from an input biometric sample, it describes the sequence of operations leading to the generation of two Random Grid Visual Cryptography (RGVC) shares. The verification and revocation procedures are described separately in Section 3.4.2. The process begins by embedding cancellability directly into the feature extraction stage through chaotic projection of the original BSIF filter bank. By modifying the filters themselves using chaos-driven projection matrices, the resulting feature representation becomes inherently non-invertible and revocable. The secured filters are then applied to the biometric image to generate a protected BSIF feature image, which is further hardened through chaotic scrambling that eliminates spatial correlations. Feedback diffusion subsequently enforces statistical uniformity by propagating pixel-level changes across the entire template, resulting in favorable statistical security characteristics, as demonstrated by the experimental results in Section 4. Finally, Random Grid Visual Cryptography decomposes the fully encrypted template into two noise-like shares, each of which individually reveals no information about the biometric data. Authentication is only possible when the required shares are correctly combined, thereby mitigating risks associated with centralized template storage. This tightly coupled sequence of operations is designed to jointly enhance security, recognition performance, and privacy preservation within a single coherent framework.
Algorithm 1 Proposed Multilayer Biometric Template Protection Framework
Require: Input biometric image I, original BSIF filter bank { W i o r i g } i = 1 n , projection key K p r o j , scrambling key K s c r , diffusion key K d i f f .
Ensure: Secure visual cryptographic shares S 1 and S 2 .
  1:
Stage 1: Chaotic Projection of BSIF Filters
  2:
for  i = 1 to n do
  3:
      Generate chaotic sequence S i using the Logistic map and key K p r o j (Equation (9)).
  4:
      Construct projection matrix R i = reshape ( S i , l , l ) (Equation (11)).
  5:
      Compute secured filter W i s e c = R i ⊙ W i o r i g (Equation (8)).
  6:
end for
 
 
  7:
Stage 2: Secured BSIF Feature Extraction
  8:
for each secured filter W i s e c  do
  9:
      Convolve W i s e c with I to obtain the filter response (Equation (12)).
10:
      Generate the binary response according to (Equation (2)).
11:
end for
12:
Construct the protected BSIF feature image F s e c using (Equation (3)).
 
 
13:
Stage 3: Chaotic Scrambling
14:
Generate chaotic sequences ( X , Y ) using the 2D-SLMM with key K s c r (Equation (7)).
15:
Compute the permutation vector π = argsort ( X ) (Equation (17)).
16:
Vectorize F s e c and scramble it using (Equation (18)).
17:
Reshape the scrambled vector to obtain F ˜ (Equation (19)).
 
 
18:
Stage 4: Feedback Diffusion
19:
Generate the chaotic keystream { K i } from key K d i f f using (Equation (21)).
20:
Initialize C 0 = 0 .
21:
for  i = 1 to N do
22:
      Compute C i = ( P i + C i − 1 + K i ) mod 256 (Equation (20)).
23:
end for
24:
Obtain the encrypted template T = C .
 
 
25:
Stage 5: Random Grid Visual Cryptography
26:
Decompose T into eight binary bit planes (Equation (23)).
27:
for  k = 0 to 7 do
28:
      Generate the random grid G k (Equation (24)).
29:
      Generate the share bit planes S 1 k and S 2 k according to (Equations (25) and (26)).
30:
end for
31:
Combine the bit planes to construct grayscale shares S 1 and S 2 (Equation (29)).
32:
return  S 1 , S 2

4. Experimental Results

To assess the robustness of the proposed framework, a series of experimental tests were conducted. The obtained results, along with their interpretation and analysis, are presented in the following section.

4.1. Database

The evaluation of the proposed biometric system was conducted using the palmprint database created by the Polytechnic University of Hong Kong (PolyU) [37]. This database comprises multispectral palmprint images collected from 250 volunteers, including students and staff, with ages ranging between 20 and 60 years. Each participant contributed images in two sessions, providing approximately 12 images per palm (six images per session), with an average interval of nine days between sessions. All images were captured under varying illumination conditions using a multispectral palmprint acquisition device.
The database contains four spectral bands: Red (R), Green (G), Blue (B), and Near Infrared (NIR), resulting in 6000 images per band and a total of 24,000 images. Original images had dimensions of 352 × 288 pixels and a resolution below 100 dpi; for analysis, images were cropped to 128 × 128 pixels at 96 ppi. The R, G, and B bands capture palm-skin features (palmprint, PLM), whereas the NIR band captures palm-vein patterns (PLV). For the experiments reported here, only the NIR band was utilized.
A dataset of 500 NIR palm images, with 12 images per palm, was employed to evaluate the system. The dataset, comprising 6000 images in total, was split into two groups: 25% (1500 images, 3 per palm) for enrollment and 75% (4500 images, 9 per palm) for testing. This split resulted in 4500 genuine match scores and 1,122,750 impostor match scores, for a total of 1,127,250 comparisons.
System performance was evaluated under the following scenarios:
  • Biometric recognition performance under normal operating conditions, in which enrollment and verification used the same correct keys and configuration.
  • Robustness against wrong-key authentication attempts, assessing system behavior when verification keys did not match those used during enrollment.
  • Statistical security analysis of the protected templates.
This evaluation ensures an empirical assessment of the system’s reliability and security.

4.2. Results and Discussion

In all biometric systems, feature extraction methods have a significant impact on system performance. To optimize the chosen method, a series of empirical tests is usually performed to adjust the parameters for maximal effectiveness. For the BSIF method, performance depends on two parameters: (i) the number of filters n and (ii) the filter size l × l . A series of experiments was conducted to determine the optimal configuration of these parameters. Various vectors of biometric characteristics (templates) were generated by varying the number and size of the filters, enabling empirical selection of parameters that maximize recognition precision.
Seven predefined filter numbers ( n ∈ { 5 , 6 , 7 , 8 , 9 , 10 , 11 } ) and seven filter sizes ( l × l ∈ { 5 × 5 , 7 × 7 , 9 × 9 , 11 × 11 , 13 × 13 , 15 × 15 , 17 × 17 } ) were tested. Two classifiers, Support Vector Machine (SVM) and k-Nearest Neighbors (KNN), were employed, and Equal Error Rate (EER) was used as the performance metric. The results are illustrated in Figure 3a,b.
Figure 3. EER curves obtained for different BSIF filter numbers and filter sizes using two classifiers: (a) SVM-based classifier (b) KNN-based classifier.
Figure 3a illustrates the influence of both the BSIF filter size and the number of filters on the recognition performance achieved with the SVM classifier. A clear tendency can be observed: (i) increasing the filter size generally improves recognition accuracy, (ii) whereas increasing the number of filters beyond an optimal value leads to a gradual degradation in performance. This behavior can be explained by the ability of larger convolution filters to capture more discriminative palmprint texture information. In contrast, an excessive number of filters introduces redundant feature information, which slightly reduces interclass separability and consequently affects the classification performance. The optimal result was obtained with 5 filters of size 15 × 15 at a decision threshold of T 0 = 0.3025 , yielding an EER of 0.0444% and Genuine Acceptance Rate (GAR) of 99.9556%. Although this configuration achieves the lowest EER, a slight overlap between genuine and impostor score distributions remains observable, indicating that perfect class separation is not completely achieved.
Considering both recognition accuracy and computational efficiency, configurations employing a moderate number of filters provide a more balanced solution. For example, configurations using 6 filters of size 17 × 17 or 7 filters of 15 × 15 achieved an EER of 0.0445%, while configurations employing 8 to 11 filters produced noticeably higher EER values (greater than 0.3%) with Genuine Acceptance Rates (GAR) below 97%. These observations indicate that increasing the descriptor dimensionality does not necessarily improve recognition performance and may even introduce redundant information that negatively affects the system accuracy. Consequently, the proposed framework adopts five BSIF filters of size 15 × 15 as an effective compromise between recognition accuracy and computational complexity. This configuration achieved an EER of 0.0444%, making it particularly suitable for the subsequent security evaluation.
The performance obtained with the KNN classifier, illustrated in Figure 3b, follows the same general tendency observed for SVM. In particular, larger filter sizes combined with a limited number of filters continue to provide the most discriminative feature representation. This consistency demonstrates that the observed performance improvements originate from the feature extraction stage rather than from the classification algorithm itself. Considering the EER values, six convolution filters of size 15 × 15 provided the best KNN performance, achieving an EER of 0.0667%. Although KNN exhibits slightly lower overall performance than SVM over most parameter configurations, it still provides competitive recognition accuracy.
The two BSIF configurations that yielded the highest classification performance with the SVM and KNN classifiers, namely, 5 filters of size 15 × 15 and 6 filters of size 15 × 15, respectively were selected as the foundation of the proposed secure BSIF framework. The filter banks used in the secure BSIF scheme are generated by projecting the original BSIF filters onto chaotic projection matrices derived from the logistic map using the secret key K p r o j , as defined in Equation (5). To preserve the discriminative capability of the original system, the Particle Swarm Optimization (PSO) algorithm is employed to determine the optimal value of K p r o j . This optimization identifies the projection matrices that guarantee the minimum possible performance degradation while maintaining the enhanced security provided by the projection process.
It is important to note that the optimization performed by PSO plays a vital role in the accuracy of the results to be obtained in the series of tests to be conducted. Rather than relying on randomly generated chaotic projection parameters, PSO searches for the optimal projection key x ∗ = [ x 0 ∗ , μ ∗ ] combination that minimizes the authentication error ERR. Consequently, the generated secure BSIF filters preserve the discriminative characteristics of the original biometric system while simultaneously supporting the revocability mechanism introduced by the chaotic projection stage. To further investigate the robustness of the proposed framework, two authentication scenarios were considered. The first corresponds to normal operating conditions, where identical projection keys are employed during enrollment and verification. The second simulates a template compromise scenario in which enrollment is performed using the original key K p r o j 1 , whereas verification is attempted with a different chaotic key K p r o j 2 . This second experiment is specifically designed to evaluate the revocability and security properties of the proposed cancellable biometric framework under unauthorized authentication attempt.
The authentication performance depends on the degree of separation between the genuine and impostor score distributions at a fixed threshold. A larger separation results in lower False Acceptance Rate (FAR) and False Rejection Rate (FRR), whereas any overlap between the two distributions directly negatively affects the Equal Error Rate (EER). The operating threshold must be selected to achieve an appropriate balance between security and recognition performance according to the application requirements.
The authentication performance of the proposed framework under normal operating conditions and wrong-key attack scenarios is illustrated in Figure 4 and Figure 5 for the SVM and KNN classifiers, respectively. In the SVM case, the optimized solution obtained via PSO, defined by x ∗ = [ x 0 ∗ = 0.7952 , μ ∗ = 3.8510 ] is employed as the secret key for the generation of projection matrices. After applying the proposed protection framework, the SVM classifier achieved an EER of 0.0520% at the decision threshold T O S V M = 0.2980 , under normal operating conditions using the same projection key K p r o j 1 during enrollment and verification producing a clear separation between genuine and impostor score distributions, as shown in Figure 4a. This result demonstrates that the proposed PSO-optimized chaotic BSIF projection successfully preserves the discriminative information of the original BSIF system despite the addition of the template protection stages. The obtained EER of 0.0520% indicates that the security transformations introduce only a slight degradation in biometric recognition performance.
Figure 4. SVM score distributions under different operating conditions: (a) score distribution under normal operating conditions and (b) score distribution under attack conditions.
Figure 5. KNN score distributions under different operating conditions: (a) score distribution under normal operating conditions and (b) score distribution under attack conditions.
A completely different behavior is observed when authentication is attempted using an incorrect chaotic key. As illustrated in Figure 4b, the genuine score distribution shifts entirely toward the impostor distribution, while the impostor scores remain practically unchanged. The new distribution crosses the original operating threshold, reaching T 1 S V M = 0.3060 . This displacement confirms that the generated biometric templates are intrinsically dependent on the chaotic projection parameters. Consequently, even if an attacker possesses the original biometric sample, successful authentication becomes impossible without the correct transformation key. Maintaining the original threshold T O S V M is therefore sufficient to reject all authentication attempts performed with an incorrect key.
These observations provide strong experimental evidence of the revocability property of the proposed framework. Whenever a protected template is suspected to be compromised, a new secure template can be generated simply by changing the chaotic projection parameters without requiring the user to provide a new biometric sample. This capability represents one of the principal advantages of cancellable biometrics compared with conventional biometric systems, where compromised biometric traits cannot be replaced.
Figure 5 presents the corresponding experiments using the KNN classifier. The overall behavior remains consistent with that observed for the SVM classifier, confirming that the proposed template protection mechanism operates independently of the selected classification algorithm. Under normal authentication, the KNN classifier achieved an EER of 0.0903% at threshold T 0 K N N = 0.6011 using the optimal solution obtained through PSO, expressed as x ∗ = [ x 0 ∗ = 0.6023 , μ ∗ = 3.6482 ] . Although the obtained recognition accuracy is slightly lower than that achieved by SVM, the separation between genuine and impostor distributions remains sufficiently large to provide reliable user authentication.
During wrong-key verification, the genuine score distribution shifts further toward the impostor distribution, reaching a new operating threshold of T 1 K N N = 0.6206 , as illustrated in Figure 5b. This behavior confirms that the proposed chaotic transformation consistently invalidates protected templates generated using different projection parameters. Consequently, the protected templates remain unusable whenever the correct transformation key is unavailable, thereby significantly limiting the impact of template leakage or database compromise.
Comparing Figure 4 and Figure 5, the SVM classifier provides better separation between genuine and impostor score distributions under normal conditions, resulting in lower EER values than KNN. Nevertheless, both classifiers demonstrate the same fundamental security property: successful authentication is only possible when identical chaotic projection keys are employed during enrollment and verification. This consistency confirms that the proposed multilayer framework effectively preserves recognition performance while simultaneously ensuring template revocability through key-dependent biometric transformations.
Overall, the authentication experiments demonstrate that the proposed framework successfully balances two conflicting requirements of biometric template protection: preserving high recognition accuracy under normal operating conditions while immediately invalidating protected templates generated with different transformation keys. The combination of accuracy preservation and revocability represents a key advantage of the proposed multilayer security architecture and provides an effective mechanism for mitigating the consequences of biometric template compromise.

4.3. Security and Statistical Analysis of the Proposed System

To evaluate the security of the proposed multilayer biometric template protection framework, a series of statistical and cryptographic analyses were conducted on the encrypted palmprint templates. Unlike recognition experiments, which evaluate the concept of biometric discriminability, the following analyses investigate the ability of the proposed framework to hide the statistical characteristics of the original biometric images and to resist various cryptanalytic attacks. The evaluation includes correlation analysis, information entropy, histogram analysis, differential attack analysis using the NPCR and UACI metrics. Together, these complementary analyses provide an experimental assessment of the confidentiality, randomness, and privacy-preserving capability of the proposed multilayer framework.

4.3.1. Correlation Analysis

Correlation analysis measures the dependency between adjacent pixels in both the original and encrypted images. Strong correlation is typical in natural images, reflecting spatial redundancy, whereas low correlation in encrypted images indicates effective pixel decorrelation, a key requirement for secure encryption. Correlation coefficients were computed along three directions: horizontal, vertical, and diagonal. Mathematically, for two adjacent pixels x and y, the correlation coefficient ρ is defined as:
ρ = cov ( x , y ) σ x σ y = E [ ( x − μ x ) ( y − μ y ) ] σ x σ y ,
where μ x and μ y are the means, and σ x and σ y the standard deviations of x and y. The covariance cov ( x , y ) measures the degree to which x and y vary together.
As reported in Table 1, original images exhibit strong horizontal, vertical, and diagonal correlations, with coefficients exceeding 0.82 in all evaluated samples. In contrast, the encrypted templates produced by the proposed framework exhibit correlation coefficients very close to zero in all the directions. This remarkable reduction demonstrates the effectiveness of the combined chaotic scrambling and feedback diffusion stages in eliminating the spatial redundancy present in original images. Consequently, adjacent pixels become weakly correlated, making it more difficult for an attacker to infer structural information from the encrypted templates.
Table 1. Correlation Coefficients of Original and Encrypted Images.
Furthermore, 2D scatter plots of adjacent pixels pairs reinforce this conclusion (Figure 6). In original images, pixel intensities cluster along the diagonal, reflecting the strong correlation characteristic, whereas, after applying the proposed protection framework, the scatter plots become uniformly distributed over the entire intensity range, indicating that the encrypted templates exhibit random statistical behavior. Overall, the correlation analysis confirms that the proposed encryption process destroys successfully the intrinsic spatial relationships of the original images, while preserving the possibility of accurate authentication after authentic reconstruction.
Figure 6. 2D distribution of adjacent pixels: horizontal, vertical, and diagonal correlations for original and encrypted images.

4.3.2. Entropy Analysis

Entropy quantifies the degree of randomness or unpredictability in an image. For an image with gray levels L = { 0 , 1 , … , 255 } , the entropy H is calculated as:
H = − ∑ i = 0 255 p i log 2 p i ,
where p i is the probability of gray level i. Higher entropy reflects a more uniform pixel distribution and stronger encryption. A high entropy value indicates a uniform gray-level distribution and therefore a low amount of exploitable statistical information. For 8-bit grayscale encrypted image, the ideal theoretical entropy approaches 8 bits, corresponding to a perfectly random distribution.
The entropy of encrypted images shown in Table 2 is above 7.98 for all samples, and it is very close to the ideal value of 8 for 8-bit images, confirming that the chaotic scrambling and diffusion schemes successfully distribute pixel intensities uniformly across all gray scale levels, considerably increasing the uncertainty associated with the encrypted template, and effectively eliminates statistical patterns and enhances randomness. Furthermore, the high entropy values demonstrate that the proposed encryption stage effectively complements the revocable template generation process. While chaotic projection guarantees template diversity and revocability, the subsequent encryption stage maximizes statistical randomness, providing an additional layer of protection against information leakage.
Table 2. Entropy of Original and Encrypted Images.

4.3.3. Differential Attack Analysis: NPCR and UACI

To evaluate the sensitivity of the proposed encryption framework to small variations in the plaintext, differential attack analysis was performed using the Number of Pixels Change Rate (NPCR) and the Unified Average Changing Intensity (UACI) metrics, defined as:
NPCR = ∑ i , j D ( i , j ) M × N × 100 % , D ( i , j ) = 0 , I 1 ( i , j ) = I 2 ( i , j ) . 1 , I 1 ( i , j ) ≠ I 2 ( i , j ) .
UACI = 1 M × N ∑ i , j | I 1 ( i , j ) − I 2 ( i , j ) | 255 × 100 % ,
where I 1 and I 2 are ciphertext images differing by a single pixel in the plaintext, and M × N is the image size. A robust image encryption algorithm should exhibit a strong avalanche effect, modifying a single pixel of the original image should produce significant changes throughout the encrypted template. High NPCR values together with UACI values close to their theoretical expectations indicate good resistance against differential cryptanalysis.
The obtained NPCR and UACI shown in Table 3 demonstrate that one-pixel modification in the original image propagates throughout the encrypted template, producing significant changes in pixel values after encryption [38]. Consequently, attackers cannot infer the encryption parameters by analyzing small differences between plaintext and ciphertext pairs. Moreover, the obtained NPCR and UACI values remain close to the theoretical expectations reported for secure image encryption algorithms, confirming the robustness of the the combined scrambling and feedback diffusion strategy against differential attacks.
Table 3. Differential Attack Analysis of Encrypted Images.

4.3.4. Histogram Analysis

Histogram analysis provides a visual evaluation of the gray-level distribution before and after encryption. As shown in Figure 7, the histogram of the original image is mainly concentrated within the range of 60 to 120, with a dominant peak around the value 90. Such statistical regularities reveal useful information to an attacker. Therefore, an effective encryption algorithm should eliminate such regularities by producing a uniformly distributed histogram, thereby enhancing resistance against statistical attacks. The histogram of the encrypted template becomes nearly uniform over the gray-level range. This behavior demonstrates that the proposed diffusion method effectively masks the statistical characteristics of the original image. Unlike the original histogram, no dominant peaks or repetitive intensity distributions remain visible after encryption.
Figure 7. Normalized histograms of original and encrypted images.

4.3.5. Random Grid Visual Cryptography (RGVC)

To strengthen security, Random Grid Visual Cryptography (RGVC) was employed. Two shares are generated such that no individual share reveals information about the original image. The original image can only be reconstructed by combining both shares using a bitwise XOR operation.
Visual examples of RGVC shares and reconstructed images are shown in Figure 8. The system demonstrates excellent reconstruction fidelity while maintaining security, as individual shares reveal no information.
Figure 8. Random Grid Visual Cryptography: share and reconstructed image examples.
The combined statistical and visual analyses confirm that the proposed encryption and RGVC framework achieves:
  • High decorrelation: Near-zero correlation coefficients in encrypted images confirm elimination of spatial redundancies.
  • High randomness: Entropy values close to the ideal demonstrate uniform pixel distribution.
  • Resistance to differential attacks: NPCR and UACI values approach theoretical maxima, indicating strong sensitivity to small plaintext changes.
  • Robust visual cryptography: RGVC successfully reconstructs the original image while individual shares remain secure.
These results collectively demonstrate that the proposed system exhibits favorable statistical properties and provides high-quality reconstruction, thereby supporting biometric privacy protection under the evaluated experimental conditions.
The security of the proposed framework also depends on the size and sensitivity of the employed chaotic key space. The projection, scrambling, and diffusion stages rely on multiple floating-point chaotic parameters and initial conditions, including control parameters and initialization seeds associated with the logistic and 2D-SLMM chaotic maps. Assuming a computational precision of approximately 10 − 15 for each floating-point parameter, the combined key space becomes sufficiently large, providing a very large number of possible key combinations under the adopted parameter precision. Furthermore, experimental observations indicate strong key sensitivity, where very small variations in the chaotic initialization parameters generate significantly different encrypted templates and matching score distributions, confirming the high sensitivity of the proposed framework to the secret chaotic parameters.

5. Conclusions

In this work, we presented a novel framework for biometric template protection that seamlessly integrates cancellability, security, and privacy within a unified architecture. Unlike conventional approaches that apply template protection after feature extraction, our method embeds security directly within the BSIF filter generation stage through chaotic projections optimized using Particle Swarm Optimization (PSO). This design not only preserves high discriminative capability but also makes reconstruction of the original biometric traits computationally difficult without access to the required keys and shares, enabling template diversity and revocability.
To further enhance security, the proposed framework incorporates chaotic scrambling and diffusion mechanisms, which effectively eliminate spatial correlations and generate statistically uniform encrypted templates. In addition, Random Grid Visual Cryptography (RGVC) is employed to partition the protected template into two shares, ensuring that no meaningful information can be recovered unless both shares are combined. This storage strategy reduces the risks associated with single-database compromise.
Extensive experiments on the PolyU palmprint database demonstrate that the framework maintains excellent recognition performance, achieving extremely low Equal Error Rate (EER) values while exhibiting robust empirical behavior under the evaluated attack scenarios, including key-substitution and statistical attacks. The high entropy values and near-zero correlations between adjacent pixels in encrypted templates further validate the effectiveness of the encryption layers.
Overall, the proposed framework provides an effective approach for privacy-preserving biometric template protection while maintaining high recognition performance under the evaluated experimental conditions. Its integration of cancellability, chaos-based template protection, and visual cryptography establishes a solid foundation for future research in revocable and privacy-aware biometric systems.

Author Contributions

Conceptualization, A.F., A.M. and A.F.M.; methodology, A.F.; software, A.F. and A.M.; validation, A.F.M. and A.M.; formal analysis, A.F. and A.M.; writing—review and editing, A.F.; supervision, A.F.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors on request.

Acknowledgments

Regarding the use of Generative Artificial Intelligence (GenAI) tools, we confirm that OpenAI’s ChatGPT (GPT-5 series) was occasionally used solely to assist English language editing, grammar correction, some sentences rephrasing and clarty. We confirm that the GenAI tool was not used to generate scientific results, perform experiments, analyze data, develop the methodology, or draw conclusions. All scientific content, experimental work, analyses, interpretations, and conclusions were conceived, conducted, verified, and approved by the authors. The authors carefully reviewed, edited, and validated all AI-assisted text and take full responsibility for the content, accuracy, and integrity of the manuscript.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
RGVCRandom Grid Visual Cryptography
BSIFBinarized Statistical Image Features BSIF
EEREqual Error Rate
VCVisual cryptography
PSOParticle Swarm Optimization
SVMSupport Vector Machines
KNNK-Nearest Neighbors
GARGenuine Acceptance Rate
NPCRNumber of Pixels Change Rate
UACIUnified Average Changing Intensity

References

  1. Abdullahi, S.M.; Sun, S.; Wang, B.; Wei, N.; Wang, H. Biometric template attacks and recent protection mechanisms: A survey. Inf. Fusion 2024, 103, 102144. [Google Scholar] [CrossRef] [Scilit]
  2. Vallabhadas, D.K.; Sandhya, M.; Reddy, S.D.; Satwika, D.; Prashanth, G.L. Biometric template protection based on a cancelable convolutional neural network over iris and fingerprint. Biomed. Signal Process. Control. 2024, 91, 106006. [Google Scholar] [CrossRef] [Scilit]
  3. Sumalatha, U.; Prakasha, K.K.; Prabhu, S.; Nayak, V.C. A comprehensive review of unimodal and multimodal fingerprint biometric authentication systems: Fusion, attacks, and template protection. IEEE Access 2024, 12, 64300–64334, Correction in IEEE Access 2025, 13, 136995–136995. https://doi.org/10.1109/ACCESS.2025.3595616. [Google Scholar] [CrossRef] [Scilit]
  4. Kim, J.; Jung, Y.G.; Teoh, A.B.J. Multimodal biometric template protection based on a cancelable SoftmaxOut fusion network. Appl. Sci. 2022, 12, 2023. [Google Scholar] [CrossRef] [Scilit]
  5. Baghel, V.S.; Ali, S.S.; Prakash, S. A non-invertible transformation based technique to protect a fingerprint template. IET Image Process. 2023, 17, 3645–3659. [Google Scholar] [CrossRef] [Scilit]
  6. Khan, M.S.; Li, H.; Zhao, C. Deep secure PalmNet: A novel cancelable palmprint template protection scheme with deep attention net and randomized hashing security mechanism. Comput. Secur. 2024, 142, 103863. [Google Scholar] [CrossRef] [Scilit]
  7. Xie, T.; Kang, W. A random-binding based bio-hashing template protection method for palm vein recognition. IEEE Trans. Inf. Forensics Secur. 2025, 20, 4243–4255. [Google Scholar] [CrossRef] [Scilit]
  8. Vallabhadas, D.K.; Sandhya, M. Securing multimodal biometric template using local random projection and homomorphic encryption. J. Inf. Secur. Appl. 2022, 70, 103339. [Google Scholar] [CrossRef] [Scilit]
  9. Prakasha, K.K.; Sumalatha, U. Privacy-preserving techniques in biometric systems: Approaches and challenges. IEEE Access 2025, 13, 32584–32616. [Google Scholar] [CrossRef] [Scilit]
  10. Khan, M.S.; Zhong, T.; Li, H.; Zhou, F. Multimodal biometric recognition with cancelable template protection using deep learning and an optimized bloom filter. Appl. Intell. 2026, 56, 6. [Google Scholar] [CrossRef] [Scilit]
  11. Rachapalli, D.R.; Dondeti, V.; Kalluri, H.K. Multimodal cancellable biometric template protection and person verification in transformed domain. IEEE Access 2024, 12, 173557–173582. [Google Scholar] [CrossRef] [Scilit]
  12. Menakadevi, B.; Kumar, D.S.; Nagasaratha, P.; Parimalam, K. Biometric System Attacks-A Case Study. In Proceedings of the 2025 International Conference on Computer, Electrical & Communication Engineering (ICCECE); IEEE: New York, NY, USA, 2025; pp. 1–7. [Google Scholar] [CrossRef] [Scilit]
  13. Imran, M.; Umar, M.S.; Ahmad, F. A non-invertible secure template generation using AES encrypted MCC and random triangle projection. IEEE Access 2025, 13, 78194–78213. [Google Scholar] [CrossRef] [Scilit]
  14. Ryu, R.; Yeom, S.; Herbert, D.; Dermoudy, J. From Fusion to Adaptation: Investigation on Enhancing Multimodal Biometric Authentication Systems. IEEE Access 2025, 13, 146169–146188. [Google Scholar] [CrossRef] [Scilit]
  15. Es-Sobbahi, H.; Radouane, M.; Nafil, K. Multimodal Biometrics: A Review of Handcrafted and AI–Based Fusion Approaches. IET Biom. 2025, 2025, 5055434. [Google Scholar] [CrossRef] [Scilit]
  16. Arepalli, G.S.; Boobalan, P. An Integration of Security Measures and the Generation of Facial Biometric Cancellable Templates. In ICT for Intelligent Systems; Chaudri, J., Mahalle, P.N., Perumal, T., Joshi, A., Eds.; Springer Nature: Singapore, 2026; Volume 1519, pp. 89–99. [Google Scholar] [CrossRef] [Scilit]
  17. Rizvi, S.; Roger, C.; Zuchelli, A. The Use of Biometrics to Prevent Identity Theft. In Intelligent Systems Technologies and Applications 2016; Rodriguez, J.M.C., Mitra, S., Thampi, S.M., El-Alfy, E.-S., Eds.; Springer International Publishing: Cham, Switzerland, 2016; Volume 530, pp. 367–381. [Google Scholar] [CrossRef] [Scilit]
  18. Jami, S.K.; Chalamala, S.R.; Jindal, A.K. Biometric template protection through adversarial learning. In 2019 IEEE International Conference on Consumer Electronics (ICCE); IEEE: New York, NY, USA, 2019; pp. 1–6. [Google Scholar] [CrossRef] [Scilit]
  19. Nagar, A.; Nandakumar, K.; Jain, A.K. Biometric template transformation: A security analysis. In Media Forensics and Security II; SPIE: Bellingham, WA, USA, 2010; Volume 7541, p. 237. [Google Scholar] [CrossRef] [Scilit]
  20. Ratha, N.K.; Chikkerur, S.; Connell, J.H.; Bolle, R.M. Generating cancelable fingerprint templates. IEEE Trans. Pattern Anal. Mach. Intell. 2007, 29, 561–572. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  21. Lacharme, P.; Plateaux, A. PIN-based cancelable biometrics. Int. J. Autom. Identif. Technol. (IJAIT) 2011, 3, 75–79. [Google Scholar]
  22. Zuo, J.; Ratha, N.K.; Connell, J.H. Cancelable iris biometric. In 2008 19th International Conference on Pattern Recognition; IEEE: New York, NY, USA, 2008; pp. 1–4. [Google Scholar] [CrossRef] [Scilit]
  23. Pillai, J.K.; Patel, V.M.; Chellappa, R.; Ratha, N.K. Secure and robust iris recognition using random projections and sparse representations. IEEE Trans. Pattern Anal. Mach. Intell. 2011, 33, 1877–1893. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  24. Hämmerle-Uhl, J.; Pschernig, E.; Uhl, A. Cancelable Iris Biometrics Using Block Re-mapping and Image Warping. In Information Security; Samarati, P., Yung, M., Martinelli, F., Ardagna, C.A., Eds.; Springer: Berlin/Heidelberg, Germany, 2009; Volume 5735, pp. 135–142. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  25. Rathgeb, C.; Breitinger, F.; Busch, C.; Baier, H. On application of bloom filters to iris biometrics. IET Biom. 2014, 3, 207–218. [Google Scholar] [CrossRef] [Scilit]
  26. Teoh, A.B.; Kuan, Y.W.; Lee, S. Cancellable biometrics and annotations on biohash. Pattern Recognit. 2008, 41, 2034–2044. [Google Scholar] [CrossRef] [Scilit]
  27. Paul, P.P.; Gavrilova, M. Multimodal Cancelable Biometrics. In 2012 IEEE 11th International Conference on Cognitive Informatics and Cognitive Computing; IEEE: New York, NY, USA, 2012; pp. 43–49. [Google Scholar] [CrossRef] [Scilit]
  28. Zheng, S.; Liu, X. A novel multi-image encryption algorithm using chaotic map with GJO-assisted variables design and Rubik’s cube-inspired image scrambling. Expert Syst. Appl. 2026, 327, 132814. [Google Scholar] [CrossRef] [Scilit]
  29. Maiorana, E. Biometric cryptosystem using function based on-line signature recognition. Expert Syst. Appl. 2010, 37, 3454–3461. [Google Scholar] [CrossRef] [Scilit]
  30. Nazari, S.; Moin, M.; Kanan, H.R. A face template protection approach using chaos and GRP permutation. Secur. Commun. Netw. 2016, 9, 4957–4972. [Google Scholar] [CrossRef] [Scilit]
  31. Dong, N.; Zhang, L.; Yan, S.; Tang, H.; Tang, J. Erasing, Transforming, and Noising Defense Network for Occluded Person Re-Identification. IEEE Trans. Circuits Syst. Video Technol. 2023, 34, 4458–4472. [Google Scholar] [CrossRef] [Scilit]
  32. Kannala, J.; Rahtu, E. Bsif: Binarized statistical image features. In Proceedings of the 21st International Conference on Pattern Recognition (ICPR2012); IEEE: New York, NY, USA, 2012; pp. 1363–1366. Available online: https://ieeexplore.ieee.org/abstract/document/6460393/ (accessed on 1 July 2026).
  33. Rahman, Z.; Yi, X.; Billah, M.; Sumi, M.; Anwar, A. Enhancing AES using chaos and logistic map-based key generation technique for securing IoT-based smart home. Electronics 2022, 11, 1083. [Google Scholar] [CrossRef] [Scilit]
  34. Hua, Z.; Zhou, Y.; Pun, C.-M.; Chen, C.P. 2D Sine Logistic modulation map for image encryption. Inf. Sci. 2015, 297, 80–94. [Google Scholar] [CrossRef] [Scilit]
  35. Kennedy, J.; Eberhart, R. Particle swarm optimization. In Proceedings of the ICNN’95-International Conference on Neural Networks; IEEE: New York, NY, USA, 1995; Volume 4, pp. 1942–1948. [Google Scholar] [CrossRef] [Scilit]
  36. Blundo, C.; De Santis, A.; Naor, M. Visual cryptography for grey level images. Inf. Process. Lett. 2000, 75, 255–259. [Google Scholar] [CrossRef] [Scilit]
  37. Zhang, D.; Kong, W.-K.; You, J.; Wong, M. Online palmprint identification. IEEE Trans. Pattern Anal. Mach. Intell. 2003, 25, 1041–1050. [Google Scholar] [CrossRef] [Scilit]
  38. Saidi, R.; Cherrid, N.; Bentahar, T.; Mayache, H.; Bentahar, A. Number of Pixel Change Rate and Unified Average Changing Intensity for Sensitivity Analysis of Encrypted inSAR Interferogram. Ing. Syst. D’Inform. 2020, 25, 601–607. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.