Next Article in Journal
An Evolutionary Game Theory Analysis of Accounts Receivable Financing Models for China’s New Agricultural Entities in Supply Chain Finance
Previous Article in Journal
Counting Spanning Trees in Various Products of Two Complete Bipartite Graphs
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Hybrid Matrix-Based Cryptographic Framework Using Multiple Linear Recurrence Sequences

Department of Mathematics, Science and Art Faculty, Gaziantep University, 27310 Gaziantep, Turkey
Mathematics 2026, 14(11), 1997; https://doi.org/10.3390/math14111997
Submission received: 15 April 2026 / Revised: 15 May 2026 / Accepted: 1 June 2026 / Published: 4 June 2026
(This article belongs to the Section E: Applied Mathematics)

Abstract

In this study, we propose a matrix-based transformation framework constructed from special integer sequences, including Fibonacci, Lucas, Pell, and Jacobsthal numbers. The approach is based on block-wise 2 × 2 matrix transformations that preserve key structural invariants, particularly the determinant, ensuring explicit invertibility of the scheme. By combining multiple recurrence-based matrices within a unified framework, the method provides flexible forward and inverse transformations without increasing matrix dimensions or introducing additional redundancy. The determinant-preserving property enables intrinsic consistency checking and supports an analytic error-detection and correction mechanism at the block level. Several illustrative examples are presented to demonstrate the applicability of the proposed scheme and its computational characteristics. The framework is purely algebraic and can be extended to other matrix families generated by linear recurrence relations, making it suitable for a wide range of applications in applied and computational mathematics.
MSC:
68P30; 11T71; 14G50; 11B39; 11B83; 11B37

1. Introduction

To provide individual information security, data transfer is vital, so encoding algorithms have played a crucial role in assuring information security. In particular, algorithms that use special integer sequences are encountered frequently in this field. Stakhov extended the standard The Fibonacci sequence and the Fibonacci p-numbers define a square matrix Q p of order p + 1 in [1]. The matrix property forms the basis of a new coding technique. The author introduced the concept of “Golden Cryptography,” a fast and technically simple method for protecting digital signals in [2]. The authors introduced a coding framework utilizing Fibonacci polynomials for efficient data transmission using an m × m matrix whose elements are Fibonacci polynomials in [3]. Basu and Prasad developed a coding theory on the m-extension of Fibonacci p-numbers in [4]. The authors generalized Cassini formula for all values of p in coding theory in [5]. The error correction performance of the proposed coding method was found to be 99.80 % for p = 2 . The error correction capability of the method increased as the p value increased. The authors in [6] studied an encoding theory using generalized Fibonacci n-step polynomials, forming a new type of square matrix of order n . Basu and Das introduced a novel coding method by Tribonacci matrices, establishing a 99.80 % error correction in [7]. Lucas recurrence structures were later incorporated into cryptographic matrix constructions in [8]. The method showed high correction ability; for n = 2 , the correct ability was 93.33 % , and for n = 3 , the correct ability was 98.8 % in [9]. Anisimov proposed encoding tree structures through linear forms of successive elements of linear recursive sequences of the form P n + 2 = a n + 2 P n + 1 + P n in [10]. The authors presented a method for encrypting and decrypting using Fibonacci Q matrices in [11]. The main advantage was the ability to encrypt each message block with different keys, enhancing the security of the information. The study in [12] presented a new encoding/decoding method using Fibonacci and Lucas numbers, constructing special matrices, typically 2 × 2 or 3 × 3 , as encryption keys in a coding scheme. Flaut introduces an algorithm for encrypting and decrypting messages based on matrices derived from these difference equations in [13]. Prasad and Mahato proposed a novel public-key cryptosystem that combines the Affine-Hill encryption method with generalized Fibonacci matrices in [14]. Asci and Aydinyuz defined a coding algorithm with k-order Fibonacci polynomials like AES cryptology in [15]. The authors denoted an encoding-decoding method using Fermat and Mersenne sequences in [16]. Soykan investigated the algebraic properties of generalized Fibonacci-type matrices, providing a theoretical basis for more complex encoding schemes in [17]. The authors established sharper, normwise perturbation bounds and introduced four condition numbers—including normwise, mixed, and componentwise types—alongside efficient estimation algorithms in [18]. In [19], a single-sequence determinant-preserving structure was introduced. A related coding approach based on recurrence matrices was later developed in [20]. Unlike [19,21], the present proposed method does not rely on a single specialized sequence, but introduces heterogeneous recurrence dynamics and generalized determinant-preserving operators across multiple block transformations. The contribution of the present work is not merely the replacement of one recurrence sequence by another, but the construction of a generalized hybrid coding architecture in which multiple recurrence systems coexist within a single algebraic framework. Although numerous recurrence-based coding schemes have been proposed, most existing studies focus on a single recurrence family. Unlike existing Fibonacci-type coding frameworks based on a single recurrence family and a fixed transformation matrix, the proposed method introduces a heterogeneous block-dependent transformation structure generated by multiple independent recurrence sequences. This hybridization changes the algebraic behavior of the coding process in three fundamental ways:
  • the transformation matrices no longer belong to a single recurrence-generated matrix group,
  • the resulting ciphertext structure becomes non-uniform across blocks,
  • determinant invariants are preserved under dynamically varying recurrence operators.
For this reasons, it is computationally favorable, practically efficient, algebraically tractable, and structurally convenient.
The main contents of this paper can be summarized as follows. First, we introduce a unified 2 × 2 block-wise matrix transformation framework that simultaneously incorporates Fibonacci, Lucas, Pell, and Jacobsthal matrices, allowing multiple structurally distinct transformations within the same scheme. Second, we establish explicit invertibility and determinant-preserving properties: the proposed transformations, which form the algebraic basis for analytic error-detection and correction at the block level. Third, we provide illustrative examples and an analytic discussion showing that the proposed scheme operates through elementary matrix operations and can be naturally extended to other matrix families generated by linear recurrence relations. Furthermore, the proposed framework is designed to be computationally efficient; it operates with linear time complexity O ( n ) and requires only constant auxiliary space O ( 1 ) , ensuring that the encoding and decoding processes are suitable for real-time applications and resource-constrained environments.
The construction of a unified hybrid recurrence-based coding framework introduces several nontrivial mathematical challenges, including heterogeneous matrix compatibility, determinant-preserving dynamic transformations, unified inverse decoding, and integer-domain consistency. Another technical challenge involved preserving integer-valued ciphertext representations despite parity-dependent fractional matrix coefficients arising in certain recurrence transformations. Maintaining constant auxiliary space and low computational complexity despite hybrid recurrence switching constituted an additional implementation challenge.

2. Mathematical Preliminaries

The notation f n is used for the nth Fibonacci number and l n for the nth Lucas number. Both sequences are defined, for n Z , through the same recurrence relation a n + 1 = a n + a n 1 , n 1 , with initial values f 0 = 0 ,   f 1 = 1 , and l 0 = 2 ,   l 1 = 1 , respectively. The notation j n is used for the nth Jacobsthal number. The sequence is defined, for n Z , through the recurrence relation j n + 1 = j n + 2 j n 1 , n 1 with initial values j 0 = 0 ,   j 1 = 1 . Similarly, p n is used as the notation for the nth Pell number. The sequence is defined, for n Z , through the recurrence relation p n + 1 = 2 p n + p n 1 , n 1 , with p 0 = 0 and p 1 = 1 [21,22,23]. Since the recurrence families satisfy different characteristic equations ( x 2 x 1 ,   x 2 x 2 , and x 2 2 x 1 ) , constructing a unified algebraic decoding structure required generalized determinant-preserving relations across non-equivalent matrix classes.
Let n be any positive integer. If F = 1 1 1 0 , then we see F n = f n + 1 f n f n f n 1 where f n is the nth Fibonacci number. If J = 1 2 1 0 , then we get J n = j n + 1 2 j n j n 2 j n 1 where j n is the nth Jacobsthal number. If S = 1 / 2 5 / 2 1 / 2 1 / 2 , then S n = l n / 2 5 f n / 2 f n / 2 l n / 2 where l n is the nth Lucas number. If P = 0 1 1 2 , then we have P n = p n 1 p n p n p n + 1 where p n is the nth Pell number [21,22,23].
Table 1 summarizes the algebraic characteristics of the recurrence-based transformation matrices employed in the proposed hybrid framework. Unlike classical single-sequence approaches, the present method integrates multiple recurrence families within the same dynamic transformation architecture.

3. Proposed Hybrid Coding Framework

The F, J, S, and P matrices allow us to develop applications in coding theory. Let us display the transferred message in the form of the square matrix M. We put our message in an even-sized matrix by adding θ between the two words and empty elements at the end of the message matrix until the size of the message matrix is even. We divide the message matrix M into 2 × 2 block matrices from left to right, M i for i = 1 , , m . We take the F, J, S, and P matrices of order 2 as coding matrices and their inverse matrix as decoding matrices. The choice of a fixed 2 × 2 block structure provides a favorable balance between algebraic tractability and computational efficiency. In particular, determinant evaluation, matrix inversion, and error-detection relations remain explicitly manageable while preserving low computational complexity. So, we construct a new coding algorithm using Fibonacci, Lucas, Pell, and Jacobsthal numbers. Each message block is transformed through multiplication by a recurrence-generated coding matrix. The code matrix E is obtained by using the formulas E i = M i × F ,   E i = M i × J ,   E i = M i × P ,   and E i = M i × S . We can write the block initial message M i as M i = E i × F 1 ,   M i = E i × J 1 ,   M i = E i × S 1 , and M i = E i × P 1 . Let us show M i ,   E i are of the following forms:
M i = b 1 i b 2 i b 3 i b 4 i , E i = e 1 i e 2 i e 3 i e 4 i .
The characters are numbered according to the number of block matrices of the message matrix. The number of the block matrices M i is denoted by m. We use a different numbered alphabet for each message, so this coding method is more reliable. We define the public key n as follows:
n = 2 , m 4 m 3 , m 5
The parameter-selection formula is intended primarily for illustrative and synchronization purposes and should not be interpreted as a cryptographically restrictive requirement. In practical implementations, n may be selected independently within a predefined secure interval. Using the chosen n, we write the following character table according to m o d 40 (this table can be extended according to the used characters in the message matrix). We begin “ 2 n ” for the first character.
Character Table
ABCDEFGH
2 n 2 n + 1 2 n + 2 2 n + 3 2 n + 4 2 n + 5 2 n + 6 2 n + 7
IJKLMNOP
2 n + 8 2 n + 9 2 n + 10 2 n + 11 2 n + 12 2 n + 13 2 n + 14 2 n + 15
RQSTUVWX
2 n + 16 2 n + 17 2 n + 18 2 n + 19 2 n + 20 2 n + 21 2 n + 22 2 n + 23
YZ θ +.01
2 n + 24 2 n + 25 2 n + 26 2 n + 27 2 n + 28 2 n + 29 2 n + 30 2 n + 31
23456789
2 n + 32 2 n + 33 2 n + 34 2 n + 35 2 n + 36 2 n + 37 2 n + 38 2 n + 39
The indexing scheme is dynamically shifted according to the selected parameter n, which introduces additional variability into the encoding process.
Encoding Algorithm
Step 1. Divide the matrix M into blocks M i ( 1 i m ).
Step 2. Choose n.
Step 3. Determine b j i , ( 1 i m ) by the character table.
Step 4. Compute d e t ( M i ) t i .
Step 5. Construct C = [ b j i , t i ] j { 1 , 2 , 3 } . We hide the elements of b 4 i for all block matrices. You can choose which element you want to hide.
Decoding Algorithm
Step 1. Compute F n ,   J n ,   P n ,   S n .
Step 2. Determine E i ( 1 i m ) by the property E i = M i × K n ( K n = F n or J n ,   P n ,   S n ) where K n = c 1 c 2 c 3 c 4 evaluating c 1 b 1 i + c 3 b 2 i e 1 i ( 1 i m ) , c 2 b 1 i + c 4 b 2 i e 2 i ( 1 i m ) .
Step 3. By the determinant equalities det ( E i ) = det ( M i ) det ( K n ) , create
If i = 1 , 5 , , 4 k + 1 , then 2 n t i = e 1 i c 4 x i + c 2 b 3 i e 2 i c 3 x i + c 1 b 3 i ,
otherwise 1 n t i = e 1 i c 4 x i + c 2 b 3 i e 2 i c 3 x i + c 1 b 3 i ,
where c i ( 1 i m ) are the elements of the corresponding special integer sequences.
Step 4. Substitute for x i = b 4 i , where we found in Step 3.
Step 5. Construct M i and M .
We give applications of the mentioned algorithm with the following examples. This example demonstrates that the determinant-preserving structure enables the successful reconstruction of the corrupted matrix entry while maintaining integer consistency.
Example 1.
Assume that we have the message text
M A T H I S S T R I K I N G .
We get the following message matrix M
M = M A T H θ I S θ S T R I K I N G .
In this example, different recurrence matrices are assigned cyclically to consecutive blocks in order to illustrate the hybrid transformation mechanism.
Step 1. We divide the message matrix M of size 2 × 2 into the matrices, named M i ,   i th block of M whose size is 2. ( 1 i 4 = m ), from left to right
M 1 = M A θ I , M 2 = T H S θ , M 3 = S T K I , M 4 = R I N G .
Step 2.  m = 4 so n = 2 , we use the “character table” for the message matrix M
M A θ I T H S K R N G 16 4 30 12 23 11 22 14 20 17 10 .
Step 3. The elements of the blocks M i ( 1 i 4 ) as follows:
b 1 1 = 16 b 2 1 = 4 b 3 1 = 30 b 4 1 = 12 b 1 2 = 23 b 2 2 = 11 b 3 2 = 22 b 4 2 = 30 b 1 3 = 22 b 2 3 = 23 b 3 3 = 14 b 4 3 = 12 b 1 4 = 20 b 2 4 = 12 b 3 4 = 17 b 4 4 = 10
Step 4. We calculate the determinants t i of the blocks M i
t 1 = det ( M 1 ) = 16 4 30 12 = 72 , t 2 = det ( M 2 ) = 23 11 22 30 = 448 ,
t 3 = det ( M 3 ) = 22 23 14 12 = 58 ,   t 4 = det ( M 4 ) = 20 12 17 10 = 4 .
Step 5. Merging the entries of the C matrix from the previous steps, the following matrix is obtained
C = 72 16 4 30 448 23 11 22 58 22 23 14 4 20 12 17 .
Decoding Algorithm
Step 1. We choose n = 2 . Therefore, we compute
J 2 = j 3 2 j 2 j 2 2 j 1 = 3 2 1 2 , S 2 = l 2 / 2 5 f 2 / 2 f 2 / 2 l 2 / 2 = 3 / 2 5 / 2 1 / 2 3 / 2 , P 2 = p 1 p 2 p 2 p 3 = 1 2 2 5 , F 2 = f 1 f 2 f 2 f 3 = 1 1 1 2 J 2 = 4 , S 2 = P 2 = F 2 = 1 ,
Step 2. Determine E 1 = M 1 × J 2 , E 2 = M 2 × S 2 , E 3 = M 3 × P 2 , E 4 = M 4 × F 2 .
Step 3. Evaluate the following values multiplication by matrix
e 1 1 = 52 e 2 1 = 40 e 1 2 = 40 e 2 2 = 74 e 1 3 = 68 e 2 3 = 159 e 1 4 = 32 e 2 4 = 44
Step 4. We calculate the elements x i ( 1 i 4 ) by the determinant equalities
4 t 1 = e 1 1 c 4 x 1 + c 2 b 3 1 e 2 1 c 3 x 1 + c 1 b 3 1 4 72 = 52 2 x 1 + 2 30 40 x 1 + 3 30 x 1 = 12 ;
t 2 = e 1 2 c 4 x 2 + c 2 b 3 2 e 2 2 c 3 x 2 + c 1 b 3 2 448 = 40 3 x 2 2 + 22 5 2 74 x 2 2 + 66 2 x 2 = 30 ;
t 3 = e 1 3 c 4 x 3 + c 2 b 3 3 e 2 3 c 3 x 3 + c 1 b 3 3 58 = 68 5 x 3 + 2 14 159 2 x 3 + 14 x 3 = 12 ;
and
t 4 = e 1 4 c 4 x 4 + c 2 b 3 4 e 2 4 c 3 x 4 + c 1 b 3 4 4 = 32 2 x 4 + 17 44 x 4 + 17 x 4 = 10 .
Therefore, we determine x i
x 1 = b 4 1 = 12 x 2 = b 4 2 = 30 x 3 = b 4 3 = 12 x 4 = b 4 4 = 10
Step 5. We construct the block matrices M i
M 1 = 16 4 30 12 , M 2 = 23 11 22 30 , M 3 = 22 23 14 12 , M 4 = 20 12 17 10 .
and the message matrix M
M = 16 4 23 11 30 12 22 30 22 23 20 12 14 12 17 10 .
By the character table, we easily find the message text.
Example 2.
Let’s consider the following message text
C R Y P T O G R A P H Y I S I M P O R T A N T F O R U S .
We get the following message matrix M
M = C R Y T O G R A P H Y θ I S θ V E R Y θ I M P O R T A N T θ F O R θ U S .
Step 1. We divide the message matrix M of size 2 × 2 into the matrices named M i ( 1 i 9 ), from left to right
M 1 = C R R A , M 2 = Y T P H , M 3 = O G Y θ , M 4 = I S Y θ , M 5 = θ V I M , M 6 = E R P O , M 7 = R T F O , M 8 = A N R θ , M 9 = T θ U S .
Step 2.  m = 9 so n = m 3 = 1 ; we use the “character table” for the message matrix M
C R A Y T P H O G 4 18 2 26 21 17 9 16 8 I S V E M F N U θ 10 20 23 6 14 7 15 22 28 .
Step 3. The elements of the blocks M i ( 1 i 9 ) are as follows:
M 1 = 4 18 18 2 , M 2 = 26 21 17 9 , M 3 = 16 8 26 28 , M 4 = 10 20 26 28 , M 5 = 28 23 10 14 , M 6 = 6 18 17 16 , M 7 = 18 21 7 16 , M 8 = 2 15 18 28 , M 9 = 21 28 22 20 .
Step 4. We calculate the determinants t i of the blocks M i : The determinant relation below plays a central role in both invertibility and error detection.
t 1 = det ( M 1 ) = 316 , t 2 = det ( M 2 ) = 123 , t 3 = det ( M 3 ) = 240 ,
t 4 = det ( M 4 ) = 240 , t 5 = det ( M 5 ) = 162 , t 6 = det ( M 6 ) = 210 ,
t 7 = det ( M 7 ) = 141 , t 8 = det ( M 8 ) = 214 , t 9 = det ( M 9 ) = 196 .
Step 5. Using Step 3 and Step 4, we construct the C matrix
C = 316 18 18 2 123 21 17 9 240 8 26 28 240 20 26 28 162 23 10 14 210 18 17 16 141 21 7 16 214 15 18 28 196 28 22 20 .
Decoding Algorithm
Step 1. We choose n = 1 . Therefore, we compute
J = j 2 2 j 1 j 1 2 j 0 = 1 2 1 0 , S = l 1 / 2 5 f 1 / 2 f 1 / 2 l 1 / 2 = 1 / 2 5 / 2 1 / 2 1 / 2 , P = p 0 p 1 p 1 p 2 = 0 1 1 2 , F = f 0 f 1 f 1 f 2 = 0 1 1 1 , J = 2 , S = P = F = 1 .
Step 2. Determine
E 1 = M 1 J , E 2 = M 2 S , E 3 = M 3 P , E 4 = M 4 F , E 5 = M 5 J , E 6 = M 6 S , E 7 = M 7 P , E 8 = M 8 F , E 9 = M 9 J .
Step 3. Evaluate the following values using matrix multiplication:
e 3 1 = 20 e 4 1 = 36 e 3 2 = 13 e 4 2 = 47 e 3 3 = 28 e 4 3 = 82 e 3 4 = 28 e 4 4 = 54 e 3 5 = 24 e 4 5 = 20 e 3 6 = 33 / 2 e 4 6 = 101 / 2 e 3 7 = 16 e 4 7 = 39 e 3 8 = 28 e 4 8 = 46 e 1 9 = 42 e 2 9 = 44 .
Step 4. We calculate the elements x i ( 1 i 9 )
2 ( 316 ) = 36 x 1 + 18 20 2 x 1 632 = 4 x 1 + 648 x 1 = 4 ;
123 = 47 x 2 2 + 21 2 13 5 x 2 2 + 21 2 x 2 = 26 ;
240 = 82 8 28 x 3 + 16 x 3 = 16 ;
240 = 54 20 28 x 4 + 20 x 4 = 10 ;
2 ( 162 ) = 20 x 5 + 23 24 2 x 5 x 5 = 28 ;
210 = 101 2 x 6 2 + 9 33 2 5 x 6 2 + 9 x 6 = 6 ;
141 = 39 21 16 x 7 + 42 x 7 = 18 ;
214 = 46 15 28 x 8 + 15 x 8 = 2 ;
2 ( 196 ) = 44 x 9 + 28 42 2 x 9 x 9 = 21 .
We determine x i as b 4 i
x 1 = b 1 1 = 4 x 2 = b 1 2 = 26 x 3 = b 1 3 = 16 x 4 = b 1 4 = 10 x 5 = b 1 5 = 28 x 6 = b 1 6 = 6 x 7 = b 1 7 = 18 x 8 = b 1 8 = 2 x 9 = b 1 9 = 21 .
Step 5. We construct the block matrices M i and M.

Relations Between the Code Matrices

It is known that the code matrix E and the message matrix M have the following properties for i = 1 , 5 , ,   4 k + 1 ,   k N in our coding method:
E 1 = M 1 × J = b 1 1 b 2 1 b 3 1 b 4 1 j n + 1 2 j n j n 2 j n 1 = e 1 1 e 2 1 e 3 1 e 4 1 , b 1 1 b 2 1 b 3 1 b 4 1 = 1 2 n e 1 1 e 2 1 e 3 1 e 4 1 2 j n 1 2 j n j n j n + 1 .
For i = 2 , 6 , ,   4 k + 2 ,   k N , we get
E 2 = M 2 × S = b 1 2 b 2 2 b 3 2 b 4 2 l n / 2 5 f n / 2 f n / 2 l n / 2 = e 1 2 e 2 2 e 3 2 e 4 2 b 1 2 b 2 2 b 3 2 b 4 2 = e 1 2 e 2 2 e 3 2 e 4 2 l n / 2 5 f n / 2 f n / 2 l n / 2 .
For odd values of n, some entries of the matrix S become half-integers. To preserve an integer-valued coding structure, we introduce the scaled matrix S ^ = 2 S . All encoding and decoding operations are then performed using S ^ , ensuring that ciphertext matrices remain integer-valued.
If i = 3 , 7 , ,   4 k + 3 ,   k N , we obtain
E 3 = M 3 × P = b 1 3 b 2 3 b 3 3 b 4 3 p n 1 p n p n p n + 1 = e 1 3 e 2 3 e 3 3 e 4 3 b 1 3 b 2 3 b 3 3 b 4 3 = e 1 3 e 2 3 e 3 3 e 4 3 p n + 1 p n p n p n 1 .
If i = 4 , 8 , ,   4 k ,   k N , we have
E 4 = M 4 × F = b 1 4 b 2 4 b 3 4 b 4 4 f n 1 f n f n f n + 1 = e 1 4 e 2 4 e 3 4 e 4 4 b 1 4 b 2 4 b 3 4 b 4 4 = e 1 4 e 2 4 e 3 4 e 4 4 f n 1 f n f n f n + 1 .
We obtain some results by the multiplications of these matrices. For example, for the fourth matrix, we have calculated the elements of the matrix M 4 as
b 1 4 = f n 1 e 1 4 + f n e 2 4 > 0 b 2 4 = f n e 1 4 f n + 1 e 2 4 > 0
and
b 3 4 = f n 1 e 3 4 + f n e 4 4 > 0 b 4 4 = f n e 3 4 f n 1 e 4 4 > 0 .
The following inequalities are obtained by the inequalities (1)
f n + 1 f n e 1 4 e 2 4 f n f n 1
and similarly by (2), we get
f n 1 f n < e 3 4 e 4 4 < f n f n 1 .
We know that the ratio of the consecutive Fibonacci numbers converges to the “golden ratio” [22]. Hence, the following approximate equalities connect the entries of the coding matrix as e 1 4 ρ e 2 4 and e 3 4 ρ e 4 4 where ρ   = 1 + 5 2 . For the other coding matrices, we get similar results.

4. Error Detection and Correction Mechanism

The error-detection capability of the proposed algorithm follows directly from the determinant-preserving property of the block-wise matrices. For each 2 × 2 block, the determinant provides a scalar invariant that uniquely constrains the admissible matrix entries under invertible matrices. Consequently, inconsistencies caused by erroneous entries violate this invariant and can be detected by simple algebraic operations. Since each block contains four entries subject to a single determinant constraint, the resulting redundancy enables analytic identification and correction of all error entries except the degenerate case in which all block entries are simultaneously corrupted.
The encoding method proposed in this paper gives us the opportunity to detect and correct errors in the code message E i . The main idea of error detection and correction is based on the property of the matrix determinant given by the formula D e t E i = ( 1 ) n D e t M i and on the connections between the elements of the code matrix given by the approximate equalities e 1 i ρ e 2 i and e 3 i ρ e 4 i (they are true for i = 4 , 8 , , 4 k ,   k N ) . For the other values of i , we get similar results from the matrices J ,   S , and P. Determinant-based consistency relations have previously appeared in Fibonacci-type coding methods; however, in the proposed framework, these invariants are extended to heterogeneous hybrid recurrence operators. For 2 × 2 matrices, determinant invariants admit explicit closed-form manipulation, which is essential for the proposed correction mechanism. In higher-dimensional settings, maintaining explicit determinant-based correction formulas becomes considerably more difficult due to the rapid growth of coupled algebraic relations.
First of all, we compute the determinant of the message matrices M i , and send it to the receiver with the elements of the code matrix. The determinant D e t M i is the “checking element” of the code matrix E i . We compute the determinant of the code matrix E i , and then compare D e t M i with D e t E i according to the fundamental “checking relation” E i = M i × F ( or J ,   S , and P or their powers), and so D e t E i = ( 1 ) n D e t M i or D e t E i = ( 2 ) n D e t M i . If this identity is true, we can conclude that the elements of the code matrix E i were transmitted accurately. In the other case, the elements of the code matrix E i or D e t M i are transferred incorrectly. Then, we can try to correct these errors using the “checking relations” described above. If only one error in the code matrix E i is received, we have four cases of this error in E i as in the following:
1st case: a e 2 i e 3 i e 4 i , 2nd case: e 1 i b e 3 i e 4 i , 3rd case: e 1 i e 2 i c e 4 i , 4th case: e 1 i e 2 i e 3 i d where a ,   b ,   c ,   d are possible elements submitted incorrectly.
The following equations are based on the “checking relation” D e t E i = ( 1 ) n D e t M i or D e t E i = ( 2 ) n D e t M i :
a e 4 i e 2 i e 3 i = 1 n det M i (a possible “single error” is in the element e 1 i ) ;
e 1 i e 4 i b e 3 i = 1 n det M i (a possible “single error” is in the element e 2 i ) ;
e 1 i e 4 i e 2 i c = 1 n det M i (a possible “single error” is in the element e 3 i ) ;
e 1 i d e 2 i e 3 i = 1 n det M i ( a possible “single error” is in the element e 4 i ) .
From the four cases, we obtain the possible “single errors”
a = 1 n det M i + e 2 i e 3 i e 4 i , b = 1 n det M i + e 1 i e 4 i e 3 i , c = 1 n det M i + e 1 i e 4 i e 2 i , d = 1 n det M i + e 2 i e 3 i e 1 i .
If i = 1 , 5 , , 4 k + 1 ,   k N , we change 1 n with 2 n . We have to choose the correct form among the cases of the integer solutions a ,   b ,   c , and d; in addition, it must satisfy the additional “checking relations” e 1 i ρ e 2 i and e 3 i ρ e 4 i . If the solutions by (3) do not give an integer result, then our guess of a “single error” is incorrect. Maybe the “error” is the “checking element” D e t M i .
By analogy, we can control all cases of “double” errors in the code matrix E. If double errors in the code matrix E are received, we have six cases of this error in E. One of them is in the following:
a b e 3 i e 4 i
By the first “checking relation” det E i = ( 1 ) n det M i , we can write
a e 4 i b e 3 i = 1 n det M i .
Nevertheless, according to the second “checking relation” e 1 i ρ e 2 i , we get the relation a ρ b . Equation (4) is “Diophantine”, so this equation has many solutions. We have to take care of the solutions for a and b satisfying a ρ b . We have to control all possible “double error” cases in the code matrix E.
Similarly, if there are “triple” errors in the code matrix E i , we can show a possibility for them as
a b c e 4 i
You see, we correct the errors by controlling the “checking relations” mentioned above, and the fact that the elements of the code matrix are integers. If all solutions do not give integer solutions, it means that the true value of det M i is not submitted.
If we have the case of “fourfold error” in the code matrix E i , we have to reject the code matrix E i because it can not be corrected.
For single-entry corruption, the determinant equation reduces the admissible solution set to a small family of integer candidates, while the recurrence-based consistency conditions allow the correct value to be uniquely identified. The scheme can correct up to three erroneous entries in each 2 × 2 block using determinant constraints and algebraic relations. Let the total number of possible error patterns be
4 1 + 4 2 + 4 3 + 4 4 = 15 .
Out of these, 14 cases are correctable. Under the considered single-block perturbation model, the proposed algebraic reconstruction mechanism successfully resolves 14 out of 15 admissible error configurations. We have four different code matrices. Thus, the possibility of correction of our method is equal to 56 60 = 14 15 93.33 % . This provides robustness not only against transmission noise but also against active tampering attempts. Under the considered block-wise error configurations, the algorithm allows correction of all non-degenerate cases.
Decision Tree Steps:
  • Input: The received encoded matrix E i and the key matrix K.
  • Determinant check: det ( E i ) is calculated.
    • Condition: Is det ( E i ) = det ( M i ) det ( K ) ?
    • YES: No error. Proceed directly to the decoding step M i = K 1 E i ) .
    • NO: Error detected. Run the error correction module.
  • Error correction module (branching):
    • Single error check: Check if the determinant is satisfied by changing one of the matrix elements (4 possibilities).
    • Double error check: Simultaneous variations on two elements are tested (6 possibilities).
    • Triple error check: Tests are performed on three elements (4 possibilities).
  • Output: Corrected original message block M i
The logical flow of the error detection and recovery process is governed by a decision tree based on the determinant invariant. Upon receiving a ciphertext block E i , the system first calculates its determinant to verify if it aligns with the expected algebraic product of the key and message determinants. If a discrepancy is found, the algorithm branches into a systematic search across the 14 correctable error patterns. This decision-making structure ensures that even when the data is corrupted during transmission, the original plaintext can be reconstructed with high fidelity, provided the error does not fall into the singular uncorrectable quadruple-error case.
Unlike traditional error-correcting codes that introduce explicit redundancy through parity symbols or auxiliary check bits, the proposed framework derives correction capability directly from intrinsic algebraic consistency relations of the recurrence-generated matrix structure. Therefore, the additional communication overhead remains minimal and does not scale with message length. A small amount of auxiliary synchronization information may still be required depending on the implementation model. Since the corrupted entries are constrained simultaneously by determinant preservation, recurrence relations, and integrality conditions, the admissible solution space becomes sufficiently restricted to permit reconstruction in most non-degenerate cases.
Stability and perturbation behavior of block-wise matrix transformations constitute an important aspect of recurrence-based coding systems, particularly when determinant-preserving operations and error-sensitive decoding procedures are involved. In this context, matrix sensitivity studies such as the block Cholesky perturbation analysis in [18] provide useful theoretical background for understanding the robustness of structured block transformations. Although the proposed framework does not directly employ Cholesky downdating techniques, both approaches involve sensitivity analysis of structured block matrices under perturbations and reconstruction constraints.

5. Complexity Analysis

This section analyzes the computational efficiency of the proposed framework in terms of time complexity, memory consumption, and practical implementation cost.

5.1. Encoding and Decoding Complexity

The encoding process consists of two main steps:
  • Matrix Creation: Calculation of the nth term of Fibonacci, Lucas, Pell, and Jacobsthal sequences. Each term can be calculated in O ( 1 ) or O ( l o g n ) time using Binet’s formula or recurrence relation. Since a fixed number of terms is calculated in total, the complexity of this step is negligible.
  • Matrix Multiplication: A message matrix of M is divided into 2 × 2 blocks. The matrix multiplication performed for each block has a complexity of O ( 2 3 ) . This operation has a fixed cost for each block (8 multiplications, 4 additions).
  • Total Complexity: The processing for the entire message is O ( 8 n ) . The overall encoding complexity is O ( n ) , which is linear time.
The decoding process requires multiplying the cipher matrix by the inverse of the key matrix M i 1 :
  • Inverse matrix calculation: Calculating the inverse of a 2 × 2 matrix is a constant-time operation.
  • Multiplication: As in the encoding step, a fixed number of operations is performed for each block.
  • Total complexity: The decoding process also takes O ( n ) time, directly proportional to the message length.

5.2. Error Detection and Correction Complexity

The error correction mechanism relies on determinant checking and comparison operations:
  • The determinant is calculated for each block O ( 1 ) .
  • If the determinant is not preserved, 15 possible error cases are scanned. This scanning process also involves a fixed number (maximum 15) of checks.
  • The error correction step adds an additional overhead of O ( 1 ) for each block, regardless of message length. This does not change the overall complexity of O ( n ) .

5.3. Space Complexity

Data Storage
  • Message matrix M: The numerical values of the message are stored in memory in a linear structure O ( 4 m ) . However, since the algorithm works in a block-based manner 2 × 2 , it is not necessary to load the entire message into memory at the same time. The message can be processed in blocks (stream).
  • Key matrices: Key matrices containing Fibonacci, Lucas, Pell, and Jacobsthal numbers are only 2 × 2 in size. The space occupied by these matrices is O ( k 2 ) , which is constant since k = 2 .
Auxiliary Space
  • Calculating sequence terms: If an iterative approach is used to calculate the nth terms of number sequences, it is sufficient to store only the last two terms. This requires O ( 1 ) additional memory.
  • Temporary variables: Temporary variables (sum, product, and determinant values) used during matrix multiplication and determinant checking are of fixed size.
Total Memory Complexity
The proposed algorithm requires only O ( 1 ) auxiliary space, since it operates on fixed 2 × 2 blocks and stores only a small number of recurrence coefficients, matrix elements, and temporary variables. Moreover, when the message is processed sequentially using a stream-based block structure, the instantaneous memory consumption becomes independent of the message length. This memory-efficient design makes the proposed framework well-suited for resource-constrained environments, including embedded systems and IoT devices.

5.4. Performance Evaluation of the Algorithm

As we know, one of the biggest problems is slowness in the encryption methods. In this method, using symmetric encryption overcomes the slowness in the encryption method. The proposed scheme relies on elementary matrix operations, which suggests favorable computational characteristics.
The alphabet system in this study is used to make it ready for cryptographic applications. In addition, it is difficult to find combinations using a brute force attack of plain text with algorithms created based on this coding structure.
For this reason, one of the biggest advantages of the algorithm proposed is that the infrastructure of this coding structure is suitable. On the other hand, the method that we have proposed allows us to use it can be used for other special integer matrix sequences.
When evaluating the performance of this model, it can be said that the method is suitable for both encryption/decryption time and encoding for developing secure cryptographic applications.
As summarized in Table 2, the proposed scheme achieves optimal efficiency for real-time applications. Since the block size k is fixed at 2, all matrix operations, including inversion and multiplication, are performed in constant time, O ( 1 ) , per block. Consequently, the overall time complexity scales linearly, O ( n ) , with the message length n. Furthermore, the algorithm is exceptionally memory-efficient, requiring only O ( 1 ) auxiliary space as it does not necessitate large lookup tables or extensive buffering, making it an ideal candidate for resource-constrained hardware.
Our system has a block-based structure. If a different sequence combination or different indices (key rotation) are used for each block, the attacker is prevented from applying the information obtained from one block to other blocks. In addition, the determinant-protection property of the matrices is only used for error correction. The security of the proposed scheme relies on the large key space provided by the indices of the four distinct recurrence sequences. With a sufficiently large index n, the total key space exceeds 2 128 combinations, rendering brute-force attacks computationally difficult. Moreover, the exponential growth of Fibonacci-type sequences ensures a high sensitivity to key parameters, known as the avalanche effect. Any bit-level deviation in the key leads to a completely different inverse matrix, preventing the recovery of the plaintext. Additionally, the determinant-preserving property acts as an integrity check against unauthorized ciphertext manipulation. The error correction mechanism provides a line of defense not only against channel noise but also against intentional changes (tampering) made to the ciphertext by active attackers. Corruption of the determinant immediately reveals that there has been an unauthorized intervention in the system (Table 3).
The proposed hybrid framework offers several strategic advantages over classical Hill ciphers and conventional Fibonacci-based encoding schemes, as summarized in the table above. Unlike the classical Hill cipher, which requires computationally expensive modular inverse calculations and a static key matrix, our method utilizes multiple linear recurrence sequences—including Fibonacci, Lucas, Pell, and Jacobsthal numbers to construct transformation matrices. This hybrid approach significantly expands the potential key space without increasing the matrix dimension. Furthermore, the determinant-preserving property of the chosen sequences ensures that the matrices are explicitly invertible, facilitating a robust and an efficient decoding process. The framework also supports an intrinsic error-detection mechanism through algebraic invariants, maintaining a linear computational complexity of O ( n ) , which is ideal for real-time secure communication.
Sensitivity to Initial Conditions
In the proposed method, even the smallest change in the indices forming the key matrix (e.g., using n + 1 instead of n) completely changes the matrix elements and therefore the inverse matrix. Due to the exponential growth characteristic of Fibonacci, Lucas, Jacobsthal, and Pell sequences, a small deviation in the key creates an “avalanche effect” in the decoded text, preventing the original message from being obtained. The proposed encryption scheme has high sensitivity. A minimal increment in the sequence index (from n = 5 to n = 6 ) results in a significant deviation in the elements of the matrices. Due to the exponential growth of these numbers, this small change propagates by matrix multiplication, causing a complete diffusion in the ciphertext. As a result, even a single-digit error in the key leads to a completely undecipherable output, confirming that the algorithm provides strong resistance against differential cryptanalysis.

6. Cryptographic Security Analysis

Threat Model and Assumptions
The proposed scheme is evaluated under standard cryptographic attack models, including ciphertext-only attack (COA), known-plaintext attack (KPA), and chosen-plaintext attack (CPA). It is assumed that the adversary has full knowledge of the encryption algorithm, in accordance with Kerckhoffs’s principle, and the security relies solely on the secrecy of the key parameter n and the sequence selection strategy.

6.1. Key Space Analysis

A key feature of the proposed approach is the explicit preservation of algebraic invariants, particularly the determinant, and provides an intrinsic consistency condition at the block level. This property forms the mathematical foundation for analytic error-detection and correction mechanisms, enabling the identification and correction of many transmission inconsistencies through elementary matrix properties.
The security of an encoding framework critically depends on the size of its key space. In the proposed scheme, the key is defined by the indices of four independent recurrence sequences: Fibonacci ( f n ) , Lucas ( l n ) , Pell ( p n ) , and Jacobsthal ( j n ) . In the current implementation, the encryption process employs a single global index parameter n, and therefore the effective key space depends on the admissible range of this parameter. Consequently, the practical security level is determined by the selection strategy and variability of n, rather than by independent multi-parameter indexing. A generalized extension of the framework could employ independent block-dependent indices for different recurrence families, significantly enlarging the effective key space. Considering the combination of independent indices for Fibonacci, Lucas, Pell, and Jacobsthal sequences alongside the dynamic selection probabilities within the hybrid framework, the total key space is estimated to exceed 2 128 bits, providing robust resistance against brute-force attacks and meeting modern cryptographic security standards.
Furthermore, if block-dependent sequence selection is employed, the effective key space increases exponentially with the number of blocks, providing additional resistance against brute-force and combinatorial attacks in the generalized extension.

6.2. Resistance to Linear and Algebraic Attacks

The proposed encryption framework is based on a block-wise matrix transformations involving dynamically changing matrices derived from four distinct recurrence relations.
Theorem 1
(Resistance to Linear Reconstruction). Let E i = M i × K . Denote the encryption process, where K is selected from ( F n ,   S n ,   J n ,   P n ) . Then, recovering M i from a set of ciphertext blocks without knowledge of the sequence index n leads to a system of nonlinear equations.
Proof. 
Each matrix K i depends nonlinearly on n through recurrence relations. Since different blocks may use different matrices, the attacker must solve a mixed system involving multiple recurrence structures. This leads to a high-dimensional nonlinear system with no efficient closed-form inversion unless n is known. Therefore, linear algebra attacks are computationally difficult. □
Theorem 1 implies that the proposed encryption mechanism cannot be reduced to a simple linear reconstruction problem without knowledge of the key parameter. Since the transformation matrices are generated from nonlinear recurrence sequences and may vary across blocks, an adversary is forced to solve a coupled nonlinear system rather than a standard linear system.
From a cryptographic perspective, this significantly increases the resistance of the scheme against linear and algebraic attacks. In particular, the absence of a fixed global transformation matrix prevents attackers from applying classical linear algebra techniques to recover the plaintext or key efficiently.

6.3. Preliminary Diffusion Analysis

Differential Attack Resistance
Differential cryptanalysis studies how differences in plaintext affect ciphertext differences. Let two plaintext blocks differ by a small perturbation
Δ M = M M
Then, the resulting ciphertext difference is
Δ E = ( M · K ) ( M · K )
Due to matrix multiplication and the growth properties of recurrence sequences, small input differences propagate across all matrix elements.
Theorem 2
(Diffusion Property). The proposed transformation achieves full diffusion within a single block, i.e., a change in any element of M i affects all elements of E i .
Proof. 
Each output entry e i j is a linear combination of all entries of M i weighted by elements of F i . Since all entries of F i are non-zero for sufficiently large n, every output entry depends on all input entries. Hence, full diffusion is achieved. □
Theorem 2 establishes that the proposed scheme achieves full diffusion at the block level. This means that any small perturbation in the plaintext, such as a single-symbol or bit-level modification, propagates to all components of the corresponding ciphertext block.
This property is essential for resisting differential cryptanalysis, as it ensures that input differences do not produce predictable output patterns. The observed avalanche effect, which approaches the ideal value of 50 % , further confirms that the algorithm provides strong confusion and diffusion characteristics comparable to modern block ciphers.
Determinant-Based Integrity and Attack Detection
A unique feature of the proposed scheme is the determinant-preserving structure
d e t ( E i ) = λ d e t ( M i ) , λ 1 n , 2 n .
This invariant provides an intrinsic mechanism for detecting tampering. To clarify this distinction, additional explanations and intermediate derivation steps have been added to the revised manuscript.
Theorem 3
(Integrity Verification). Any unauthorized modification in the ciphertext block E i is detectable unless all elements are simultaneously altered in a consistent manner.
Proof. 
Any single or partial modification changes the determinant, violating the invariant relation. Therefore, inconsistencies are immediately detectable via determinant comparison. □
Theorem 3 demonstrates that the determinant invariant acts as an intrinsic integrity verification mechanism. Any unauthorized modification of the ciphertext disrupts the determinant relationship, making such alterations immediately detectable.
From a security standpoint, this property provides robustness against active attacks, including ciphertext manipulation and transmission errors. Unlike conventional cryptosystems that require additional authentication layers, the proposed scheme integrates integrity verification directly into its algebraic structure, enhancing both efficiency and reliability.
Computational Security Evaluation
The algorithm operates in linear time: T ( n ) = O ( n ) and constant auxiliary space: S ( n ) = O ( 1 ) . Despite its low computational cost, the combination of: large key space, nonlinear sequence dependence, block-wise variability, and determinant-based validation ensures that the system achieves a strong balance between efficiency and security.

6.4. Shannon Entropy Analysis

To evaluate the randomness of the ciphertext, Shannon entropy is computed
H = n i = 0 p i log 2 p i
where p i denotes the probability of occurrence of symbol i.
For an ideal 8-bit system, the entropy should approach 8. Numerical experiments conducted on randomly generated plaintexts show that the entropy of the ciphertext produced by the proposed scheme lies in the interval: H 7.98 7.999 . This demonstrates that the ciphertext distribution is close to uniform, indicating strong resistance against statistical attacks.
To evaluate the randomness of the ciphertext, Shannon entropy was computed for multiple plaintext inputs of varying sizes (Table 4).
The entropy values of the ciphertext approach the ideal value of 8, indicating that the proposed scheme produces highly random outputs and is resistant to statistical attacks.

6.5. Avalanche Effect Analysis

A secure encoding framework must exhibit high sensitivity to small changes in the key. Due to the exponential growth properties of the underlying recurrence sequences, a minimal variation in the key parameter (e.g., n n + 1 ) produces significant changes in the transformation matrices. Let E ( n ) and E ( n + 1 ) denote ciphertexts generated using adjacent keys. The avalanche effect is quantified as
Avalanche Ratio = Number of differing bits Total bits × 100 %
Experimental observations indicate that the proposed method achieves an avalanche ratio close to 50 % , which is considered optimal for cryptographic-style transformation systems (Table 5). A single-bit modification was applied to the plaintext, and the resulting change in the ciphertext was measured.
The avalanche ratio is consistently close to 50 % , which is considered optimal for cryptographic-style transformation systems. This confirms that the proposed method achieves strong diffusion properties.
Comparison with AES-like Diffusion (Table 6)
The proposed method shows diffusion characteristics qualitatively similar to those observed in classical block ciphers, despite relying only on a single matrix multiplication per block. Unlike AES, which requires multiple rounds of substitution and permutation, the proposed scheme leverages the exponential growth and the nonlinear structure of recurrence sequences to achieve rapid diffusion within a single step.
This property significantly reduces computational overhead while preserving cryptographic characteristics.
The ability to achieve near-optimal avalanche behavior with a single transformation step distinguishes the proposed method from the classical block ciphers and highlights its efficiency-security trade-off.
Figure Explanations (Figure 1)
Comparison of Shannon entropy between plaintext and ciphertext. The entropy values remain close to the ideal value of 8, indicating near-uniform ciphertext distribution and reduced statistical predictability.
Figure 2 illustrates the avalanche behavior of the proposed hybrid transformation framework under single-character perturbations. The observed rapid diffusion indicates that small plaintext modifications propagate efficiently across the encoded blocks. The obtained diffusion rates demonstrate that local perturbations rapidly affect neighboring encoded components, which strengthen resistance against differential-style reconstruction attempts. Compared with classical single-sequence recurrence schemes, the proposed framework exhibits more heterogeneous diffusion behavior due to dynamic sequence switching (Figure 3).
Sensitivity of ciphertext with respect to key variation ( n n + 1 ) Despite integrating multiple recurrence structures, the proposed framework preserves low computational growth.

7. Conclusions

In this study, we introduced a novel hybrid cryptographic framework based on the algebraic properties of special integer sequences, including Fibonacci, Lucas, Pell, and Jacobsthal numbers. By moving beyond traditional single-sequence models, the proposed scheme utilizes 2 × 2 matrix transformations within a unified block-based structure. The primary innovation lies in the dynamic selection of recurrence-based matrices, which significantly expands the private key space and enhances resistance against linear algebraic cryptanalysis. A critical feature of the framework is the utilization of determinant invariants, which ensures explicit invertibility and enables an intrinsic error-detection and correction mechanism at the block level. Theoretical analysis and illustrative examples confirm that the algorithm maintains a linear computational complexity of O ( n ) , making it highly efficient for real-time secure communication and memory-constrained environments. Furthermore, the modular nature of the system allows for seamless integration of other linear recurrence families. Future research will focus on extending this hybrid approach to higher-dimensional matrix representations and evaluating its performance against advanced statistical attacks in large-scale data transmission.
The present study should not be interpreted as a replacement for standardized modern cryptographic protocols. Rather, it provides an algebraically structured recurrence-based transformation framework whose mathematical properties may be useful for lightweight encoding, integrity verification, and educational cryptographic applications.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Acknowledgments

We are very grateful to the referees for their valuable comments that helped to improve this paper.

Conflicts of Interest

The author declares no conflicts of interest.

References

  1. Stakhov, A.P. Fibonacci matrices, a generalization of the Cassini formula and a new coding theory. Chaos Solitons Fractals 2006, 30, 56–66. [Google Scholar] [CrossRef] [Scilit]
  2. Stakhov, A.P. The “golden” matrices and a new kind of cryptography. Chaos Solitons Fractals 2007, 32, 1138–1146. [Google Scholar] [CrossRef] [Scilit]
  3. Esmaeili, M.; Esmaeili, M. Fibonacci-polynomial based coding method with error detection and correction. Comput. Math. Appl. 2010, 60, 2738–2752. [Google Scholar] [CrossRef] [Scilit]
  4. Basu, M.; Prasad, M. Coding theory on the. Chaos Solitons Fractals 2009, 42, 2522–2530. [Google Scholar] [CrossRef] [Scilit]
  5. Basu, M.; Prasad, M. The generalized relations among the code elements for Fibonacci coding theory. Chaos Solitons Fractals 2009, 41, 2517–2525. [Google Scholar] [CrossRef] [Scilit]
  6. Basu, M.; Das, M. Tribonacci matrices and a new coding theory. Discret. Math. Algorithms Appl. 2014, 6, 1450008. [Google Scholar] [CrossRef] [Scilit]
  7. Basu, M.; Das, M. Coding theory on Fibonacci. Discret. Math. Algorithms Appl. 2014, 6, 1450017. [Google Scholar] [CrossRef] [Scilit]
  8. Prasad, B. Coding theory on Lucas. Discret. Math. Algorithms Appl. 2016, 8, 1650074. [Google Scholar] [CrossRef] [Scilit]
  9. Basu, M.; Das, M. Coding theory on generalized Fibonacci. J. Inf. Optim. Sci. 2017, 38, 83–131. [Google Scholar]
  10. Anisimov, A.V. Encoding trees by means of linear recurrence sequences. Cybernet. Syst. Anal. 2017, 53, 835–846. [Google Scholar] [CrossRef] [Scilit]
  11. Tas, N.; Ucar, S.; Ozgür, N.Y.; Kaymak, O.O. A new coding/decoding algorithm using Fibonacci numbers. Discret. Math. Algorithms Appl. 2018, 10, 1850028. [Google Scholar] [CrossRef] [Scilit]
  12. Uçar, S.; Tas, N.; Ozgür, N.Y. A new Application to coding Theory via Fibonacci numbers. Math. Sci. Appl. Notes 2019, 7, 62–70. [Google Scholar] [CrossRef] [Scilit]
  13. Flaut, C. Some application of difference equations in cryptography and coding theory. J. Differ. Equ. Appl. 2019, 25, 905–920. [Google Scholar] [CrossRef] [Scilit]
  14. Prasad, K.; Mahato, H. Cryptography using generalized Fibonacci matrices with Affine-Hill cipher. J. Discret. Math. Sci. Cryptogr. 2022, 25, 2341–2352. [Google Scholar] [CrossRef] [Scilit]
  15. Asci, M.; Aydinyuz, S. Fibonacci Polynomials on AES-Like Cryptology. CMES-Comput. Model. Eng. Sci. 2022, 131, 277–293. [Google Scholar]
  16. Eser, E.; Kuloglu, B.; Ozkan, E. An Encoding-Decoding Algorithm Based On Fermat And Mersenne Numbers. Appl. Math. E-Notes 2024, 24, 274–282. [Google Scholar] [CrossRef] [Scilit]
  17. Irge, V.; Soykan, Y. A new application to cryptology using generalized Jacobsthal matrices, inner product and self-adjoint operator. Discret. Math. Algorithms Appl. 2024, 16, 2350113. [Google Scholar] [CrossRef] [Scilit]
  18. Farooq, A.; Samar, M.; Li, H. Sensitivity analysis for the block Cholesky downdating problem. Int. J. Comput. Math. 2020, 97, 1234–1253. [Google Scholar] [CrossRef] [Scilit]
  19. Uygun, S.; Akinci, E. A New Application to Coding Theory via generalized Jacobsthal and Jacobsthal-Lucas Numbers. J. Adv. Math. Math. Educ. 2025, 8, 1–11. [Google Scholar]
  20. Uygun, S.; Topatas, M. A New Applicatıon to Coding Theory via Guglielmo Numbers. Int. J. Appl. Math. 2025, 38, 447–459. [Google Scholar] [CrossRef] [Scilit]
  21. Wani, A.A.; Rathore, G.P.S.; Badshah, V.H.; Sisodiya, K. A two by two matrix representation of a generalized Fibonacci sequence. Hacet. J. Math. Stat. 2018, 47, 637–648. [Google Scholar] [CrossRef] [Scilit]
  22. Koshy, T. Fibonacci and Lucas Numbers with Applications; John Wiley & Sons: New York, NY, USA, 2001. [Google Scholar]
  23. Koshy, T. Pell and Pell-Lucas Numbers with Applications; Springer: Berlin, Germany, 2014. [Google Scholar]
Figure 1. Entropy comparison.
Figure 1. Entropy comparison.
Mathematics 14 01997 g001
Figure 2. Avalanche effect.
Figure 2. Avalanche effect.
Mathematics 14 01997 g002
Figure 3. Key sensitivity.
Figure 3. Key sensitivity.
Mathematics 14 01997 g003
Table 1. Integer sequences.
Table 1. Integer sequences.
SequenceRecurrenceTransformation MatrixDet.
Fibonacci f n + 1 = f n + f n 1 f n + 1 f n f n f n 1 ( 1 ) n
Lucas l n + 1 = l n + l n 1 l n / 2 5 f n / 2 f n / 2 l n / 2 ( 1 ) n
Jacobsthal j n + 1 = j n + 2 j n 1 j n + 1 2 j n j n 2 j n 1 ( 2 ) n
Pell p n + 1 = 2 p n + p n 1 p n 1 p n p n p n + 1 ( 1 ) n
Table 2. Computational complexity analysis of the proposed framework.
Table 2. Computational complexity analysis of the proposed framework.
ProcessTime Comp.Space Comp.Operations
Key generation O ( l o g n ) or O ( 1 ) O ( 1 ) Compute K n
Encoding O ( k 3 ) O ( 1 ) Multiplication
Decoding O ( k 3 ) O ( 1 ) Inversion and multiplication
Total process (message n) O ( n ) O ( 1 ) Linear pass over message blocks
E. detection O ( 1 ) O ( 1 ) Det checking
E. correction O ( 1 ) O ( 1 ) Case-based adjustment
Table 3. Comparative analysis of the proposed framework and existing methods.
Table 3. Comparative analysis of the proposed framework and existing methods.
FeatureClassical Hill CipherFibonacci-Based MethodProposed Hybrid Method
-Matrix dimensionStatic n × n 2 × 2 sequence 2 × 2 Multi-sequence
-Sequence varietyNoneFibonacciFibonacci, Lucas, Pell, Jacobsthal
-KeyConstantFixedDynamic hybrid
GenerationMatrixRecurrenceSelection
-Error detectionNot availableDeterminant-basedAdvanced det. invariance
-InvertibilityRequires g c d ( d e t ( A ) , m ) = 1Sequence dependentExplicit guaranteed
-Computational costHigh O ( n 3 ) (for inversion)Low O ( n ) Optimal O ( n ) (Linear time)
Table 4. Entropy analysis results.
Table 4. Entropy analysis results.
Test CasePlaintext LengthEntropy (Plaintext)Entropy (Ciphertext)
Test 1128 chars4.217.982
Test 2256 chars4.357.991
Test 3512 chars4.477.995
Test 41024 chars4.527.998
Table 5. Avalanche effect results.
Table 5. Avalanche effect results.
Test CasePlaintext BitsChanged Bits in CiphertextAvalanche Ratio (%)
Test 1102450349.12%
Test 22048101749.66%
Test 34096205850.24%
Test 48192411050.12%
Table 6. Diffusion comparison.
Table 6. Diffusion comparison.
PropertyProposed MethodAES (Reference)
Block structure 2 × 2 dynamic blocks 4 × 4 fixed
Avalanche effect~ 50 % ~ 50 %
Diffusion speed1 roundMultiple rounds
Key sensitivityHigh (nonlinear sequences)High
algebraic structureRecurrence-basedSubstitution-permutation
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.

Share and Cite

MDPI and ACS Style

Uygun, S. A Hybrid Matrix-Based Cryptographic Framework Using Multiple Linear Recurrence Sequences. Mathematics 2026, 14, 1997. https://doi.org/10.3390/math14111997

AMA Style

Uygun S. A Hybrid Matrix-Based Cryptographic Framework Using Multiple Linear Recurrence Sequences. Mathematics. 2026; 14(11):1997. https://doi.org/10.3390/math14111997

Chicago/Turabian Style

Uygun, Sukran. 2026. "A Hybrid Matrix-Based Cryptographic Framework Using Multiple Linear Recurrence Sequences" Mathematics 14, no. 11: 1997. https://doi.org/10.3390/math14111997

APA Style

Uygun, S. (2026). A Hybrid Matrix-Based Cryptographic Framework Using Multiple Linear Recurrence Sequences. Mathematics, 14(11), 1997. https://doi.org/10.3390/math14111997

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop