1. Introduction
Data communication in terms of data transmission and reception is an essential area of computing. It involves data exchange, resource sharing, system integration, remote connection, etc. Superfast computing facilities are required because of the rapid growth in information exchange in the current era of digitalization [
1]. In all the above, data has been the significant part that is exchanged in different forms. As a result, data security emerges as an important task, as it involves safeguarding the data in terms of transmitted and received messages. This typically keeps the data secure from unauthorized access, manipulations, interceptions, etc. Hence, for reliable communication, the data has to be accurate and consistent during the exchange [
2].
Whenever two entities communicate with each other, confidentiality, authentication, and integrity are significant. The area of cryptography and network security address these requirements. Cryptography protects data during transmission by providing encryption and decryption methods that keep communication private. This ensures that the message stays confidential between the sender and the receiver [
3]. Most secure computing facilities implement encryption guidelines in the system to ensure confidentiality. Cryptography is classified into two categories: symmetric key cryptography and asymmetric key cryptography. Symmetric key cryptography uses the same key to encrypt and decrypt data [
4]. Symmetric cryptographic algorithms like Data Encryption Standard (DES), Advanced Encryption Standard (AES), and Blowfish are widely used. However, using them alone does not guarantee maximum security. To enhance the maximum security of symmetric cryptographic algorithms, they are often combined with block cipher modes of operation. The purpose of using the block cipher modes is to prevent pattern-revealing attacks and introduce randomness into the ciphertext [
5]. The block cipher modes divide the plaintext into various equal size blocks, and each block is encrypted separately [
3]. There are different levels of security for each block cipher mode; it is important to pick the right one for the job. The CBC and PCBC modes are more secure, but they take up more processing power. The ECB mode is simpler and less secure [
6].
Depending on how block cipher modes manage the encryption and decryption process, block cipher modes can be either probabilistic or deterministic [
7]. The deterministic block cipher mode uses the same key and algorithm to encrypt the plaintext blocks, which means that the ciphertext block stays the same, while the attacker can quickly find repeated plaintext blocks by comparing ciphertext blocks. Therefore, deterministic modes are more prone to attack and provide a lower security level than probabilistic modes [
8]. The use of probabilistic block cipher modes makes the ciphertext random and creates different ciphertext blocks for the identical plaintext blocks. Probabilistic modes have sufficient security to eliminate the possibility of the attacker seeing repeated patterns within the plaintext [
8,
9].
Today’s digital world requires encryption methods that are both secure and fast. In addition, modern apps like real-time video conferencing, online banking, and healthcare data exchange need confidentiality and authentication, but they also need to be fast and flexible [
4,
10]. These restrictions become even more important as embedded systems, IoT networks, and mobile devices proliferate [
11].
As more Parallel Architectures become common such as Multi-Core CPUs, GPU’s, and FPGA’s; Researchers are working to develop or amend Cryptographic Methods for Parallel Operating Systems. The literature has clearly shown that it is possible to utilize Parallel Architectures to enhance Encryption Speed [
12,
13,
14]. Recent studies conducted by Lee et al. indicated that AES-CTR performance can be accelerated on CUDA platforms via GPU’s by 60–80% [
15].
Table 1 illustrates the different types of popular block cipher modes and emphasizes the need for more efficient cipher modes.
The Kerberos protocol(V4) uses the PCBC mode for the authentication of messages [
16]. According to the IEEE 1619 standard, full-disk encryption, particularly for disc storage devices, frequently uses the XTS mode [
17]. Counter (CTR) mode, on the other hand, is a good option for implementations with multiple cores or GPUs because it enables full parallel encryption and decryption. Counter (CTR) mode is better suited for multi-core and GPU implementations than CBC because it allows full parallel encryption and decryption. Galois/Counter Mode (GCM), approved by NIST in 2007, combines counter mode encryption with a polynomial hash for authentication, making it fast and efficient for modern processors [
18,
19]. Further, consider the flaws in deterministic encryption, paying special attention to its encryption formula given here.
C: Ciphertext Block, E: Encryption Algorithm, K: Key, P: Plaintext Block.
It is evident from Equation (
1) that the same ciphertext is produced under the same key and plaintext. This deterministic quality shows the attackers patterns and blocks occur redundantly. Because of this, attackers may be able to see patterns in the encrypted data, which could compromise confidentiality. To lower this risk, probabilistic encryption adds randomness so that the same plaintexts encrypted with the same key produce different ciphertexts. This makes the data more secure [
20].
and
are random numbers that are made up at the time of encryption. The probabilistic nature greatly enhances the system’s security against pattern-revealing attacks [
21,
22].
According to
Table 2, RSA decryption time increases sharply as key size increases, especially for larger file sizes. The decryption time of RSA increases significantly with the increase in key size, leading to performance limitations on constrained platforms [
11]. While longer keys do improve security by making cryptographic brute-force attacks more difficult [
23]. It is well-established that larger key sizes significantly enhance cryptographic strength by making brute-force attacks impractical and providing better resistance against factoring-based attacks [
24].
Larger key sizes improve security but introduce impractical computational overhead. Therefore, the central challenge and goal of this work is to design a block cipher mode that delivers strong security even with a smaller key size [
25]. Therefore, the challenge is to design a new block cipher mode that supports concurrent (parallel) processing, introduces inherent randomness, offers resilience against various attacks, and provides high security even with smaller key sizes.
This paper introduces Secure and Efficient Block Cipher Mode (SEBCM), which aims to connect the strong security found in theory with the practical needs of real-world use. SEBCM guarantees high-speed, safe communication over a wide spectrum of applications by including header randomization, tailored key-based transformations, and parallel-friendly design. As technology gets better, these kinds of flexible, lightweight, and safe block cipher methods are likely to become the new standard for cryptographic infrastructure in both high-performance and low-performance computing settings.
2. Related Work
Modern cryptography is one of the main mechanisms that enable secure communications. It keeps data safe even in an insecure environment. There are three main types of cryptographic algorithms: symmetric key cryptography, asymmetric key cryptography, and hash-based methods (
Figure 1). The sender and receiver use a single shared key in symmetric (secret-key) cryptography to encrypt and decrypt data. Asymmetric cryptography uses a public/private key pair, where data encrypted with one key can only be decrypted with the other. Hash-based cryptography produces a fixed-length hash value from a plaintext, which is one-way that is computationally infeasible to invert [
26]. There are two types of symmetric key cryptography: block ciphers and stream ciphers. Block ciphers work with blocks of bits that are always the same size, while stream ciphers work with data as a continuous stream, either bit by bit or byte by byte. There are two types of stream ciphers: synchronous, where the keystream is generated independently of the plaintext, and self-synchronizing, where the keystream is derived from previous ciphertext bits [
10]. In general, stream ciphers can handle more data at once, but they are more likely to be attacked in certain ways than block ciphers. In real-world situations like TLS, Bluetooth, 4G, and so on, stream ciphers are faster but are also more vulnerable to cryptanalytic attacks [
27].
2.1. Standard Block Cipher Modes
The National Institute of Standards and Technology (NIST) has set out a number of standard modes, each of which offers different security services, such as authentication, confidentiality, or both [
6]. Block cipher modes tell the computer how to encrypt each block of plaintext and how to connect the blocks to each other. In total, there are around 14 standardized block cipher modes that are broadly grouped into three categories: (1) Confidentiality-only modes, e.g., Electronic Codebook (ECB), Cipher Block Chaining (CBC), Cipher Feedback (CFB), Output Feedback (OFB), Counter (CTR), as well as more specialized modes like XTS (disk encryption) and format-preserving encryption modes FF1/FF3. (2) Authentication-only mode—Cipher-based Message Authentication Code (CMAC), the sole standard mode dedicated to message authentication. (3) Authenticated encryption (AE) modes, for example, authenticated encryption (AE) modes combine the processes of keeping data secret and verifying its authenticity in a single step, including methods such as Counter with CBC-MAC (CCM), Galois/Counter Mode (GCM), Key Wrap (KW and its variations KWP, TKW), and Offset Codebook Mode (OCB). Rogaway et al. developed OCB, which was a significant thing since it was a secure technique to encrypt and authenticate data in one pass [
28]. It became standard in later versions (OCB2, OCB3). NIST was validated GCM in 2007. It uses a polynomial hash for authentication and counter-mode encryption (the full form of GCM). Its architecture makes it fast and efficient for modern processors [
18]. Likewise, CCM (counter mode encryption combined with CBC-MAC), first proposed by Ferguson et al., was designed for efficiency in constrained environments (the Wi-Fi standard 802.11 employs CCM) [
29]. Another important mode, XTS, was developed to enhance the security of data storage by incorporating a tweak, which is typically the disk sector number, into the encryption process. This method makes sure that the same plaintext blocks create different ciphertext block for various sectors, which helps keep data safe in block storage systems [
4]. Each of these standard modes has certain strengths and weaknesses, and extensive surveys by NIST and others catalog their security properties and limitations. For example, NIST SP 800-38A offers an in-depth review of confidentiality modes (ECB, CBC, CFB, OFB, and CTR), discussing the security features and flaws of each [
6].
2.2. Traditional Modes
The balance of performance versus security is a recurring issue with most classic modes. For example, with a mode like CBC (Cipher Block Chaining), PCBC (Propagating Cipher Block Chaining), CFB (Cipher Feedback), and OFB (Output Feedback), each block’s encryption is dependent on the previous block; this serializes the mode and therefore prohibits parallel processing when encrypting/decrypting message blocks [
30]. Therefore, CBC will always be about three times slower than CTR (Counter Mode) due to using the last ciphertext block as input to the next block, which prevents parallel processing from occurring. CBC mode’s slower performance makes CTR mode the best choice for many applications because it balances both speed and security. CFB mode turns a block cipher into a self-synchronizing stream cipher. This is possible using the block cipher for both encryption and decryption to save space in the code [
31]. For example, CBC is widely used and works with probabilities, but it cannot encrypt blocks at the same time, so it is slower. The performance test shows that CTR is the best choice for many applications because it balances speed and security. CBC, on the other hand, is about three times slower because it relies on the previous ciphertext block, which stops parallel processing.
2.3. Parallelization and High Performance
To address the slowdowns of traditional methods, researchers have suggested new ways and techniques that allow parallel encryption, as well as parallel versions of existing ciphers. Youssef and Tavares proposed a new mode of operation with a novel chaining method that removes sequential dependencies, enabling secure parallel encryption [
30]. Park and Van Oorschot proposed the All-or-Nothing Transform (AONT), a pre-processing technique employed prior to encryption to enhance security, despite increasing computational workload [
32]. In addition to adding new modes, a lot of work is being done to make encryption algorithms run in parallel at the implementation level. Durad et al. uses MPI to speed up the NIST-standard AES encryption and decryption by running it on computer systems with distributed memory in parallel, making it much faster [
12]. Zhang et al. achieved similar performance gains using graphics processing units (GPUs) with CUDA to run AES in parallel, far outperforming a serial AES implementation [
13]. Lee et al. built on these findings by improving AES-CTR and AES-ECB on GPUs, reducing some extra work (like recalculating round keys) and increasing speed by up to 63% [
15]. Li and Zhang also showed that using GPUs to run block ciphers in parallel can make encryption much faster than the regular method, and it is better at resisting certain side-channel attacks because of how GPUs are built [
33]. Bernstein et al. created the eBACS benchmarking platform, which offers a consistent setting and measurements for assessing how fast cryptographic methods work and how much time and memory they use [
34]. The implementation of hardware to accelerate AES encryption illustrates how hardware acceleration can deliver results very quickly. In this regard, the work of Homsirikamol et al. illustrates how FPGAs were able to provide significant performance improvements for both whole-block and message-based AES encryption over the same encryption modes as their respective software implementations [
35]. The findings also support the potential for accelerated hardware encryption algorithms to effectively address real-time encryption challenges, whether they be in whole-block or message-based formats. Sahi et al. suggested a Parallel Block Cipher (PBC) mode that gets rid of inter-block dependency [
36].
2.4. Authenticated Encryption and Novel Modes
In addition to basic confidentiality, modern applications often need authenticated encryption (AE) to make sure that data is both private and safe. Encryption and authentication (for example, encrypt with CBC and then authenticate with CBC-MAC) are used in traditional methods. But newer single-pass modes can do both at once. Guenther et al. created ACORN, a lightweight authenticated encryption algorithm (AEAD) that only needs one key to encrypt and verify messages [
37]. ACORN makes it easier to manage keys by using the same key for two things. It also offers security that is similar to other AE schemes. Song et al. reviews block cipher modes and their challenges in modern computing environments [
38]. Morgari et al. created Zorro, a fast and flexible block cipher mode that aims to solve practical problems like the need for plaintext padding and the fact that some modes are hard to run in parallel [
22]. Zorro avoids padding overhead and permits parallel processing, resulting in improved encryption/decryption speeds over classical modes. Similarly, ciphertext stealing (CTS), proposed by Rogaway et al., is capable of encrypting non-aligned plaintext, as it also avoids padding [
39]. For instance, Markowitch and Nakahara examined how an attacker can manipulate specific bits of plaintext or ciphertext to distinguish between different modes or even decrypt data referred as bit-flip attacks [
40].
2.5. Chaos-Based and Specialized Encryption Techniques
Neural networks, chaos theory, and other unconventional methods are used in a parallel line of research to design cryptography. For batched image data, Zhou et al. [
41] developed a parallel encryption algorithm based on chaos. By exploiting chaotic maps and multi-core processors, this method encrypts large image sets efficiently in parallel, yielding improved performance and security. Noura et al. [
42] proposed an efficient chaotic encryption scheme (operating in OFB mode) that achieves high speed and strength by using fewer rounds and a variable S-box construction. Their cipher is resistant to differential, linear, statistical, and brute-force attacks. It also does better than algorithms like DES, 3DES, and even AES in some ways. However, its effective key space is smaller than that of standard AES, which is a known trade-off. This paper discusses the chaotic OFB-mode cipher and stresses that chaotic methods can provide high security at a low cost. Another approach to parallel encryption was presented by Zhang et al. [
13] who explored GPU-based acceleration of the AES algorithm using CUDA. Their implementation processes independent AES blocks in parallel, achieving substantially higher encryption throughput than conventional serial CPU-based approaches. Dhall et al. [
43] proposed a probabilistic block cipher for image encryption that utilizes random bits to increase the ciphertext size, thereby incorporating additional randomness into the output. This probabilistic encryption makes it much harder to break the code, but it also makes the ciphertext bigger. This is an acceptable trade-off in situations like image storage where security is very important. These bio-inspired and chaos-based approaches demonstrate the creativity inherent in cryptographic research for niche domains such as secure multimedia encryption. Experiments also indicate that they can effectively defend against statistical and correlation attacks. Kimura et al. [
44] introduced a neural-network-based evaluation tool for assessing the pseudo-randomness of stream cipher outputs, highlighting the effectiveness of learning-based techniques in cryptographic analysis.
2.6. Lightweight Cryptography and IoT
As computing moves to IoT devices, sensors, and wearables, encryption schemes that use less memory, power and computing are in demand. Many traditional modes and ciphers are not practical on devices with limited resources to handle large keys, long initialization vectors, and heavy computations. Performance frameworks like FELICS-AEAD allow consistent benchmarking of AEAD schemes in IoT contexts [
45]. Gulen et al. discuss these limitations in the context of wireless sensor nodes [
46]. To address this, researchers have developed modes optimized for low-resource environments. Butin et al. introduced TinyCrypt, a lightweight cryptography library tailored for IoT platforms [
47]. TinyCrypt provides effective implementation of widely utilized algorithms for devices in low-energy environments requiring low power consumption (e.g., medical sensors, smart meters and wearables) and deploying techniques for side-channel attack prevention. In addition to TinyCrypt, Cui and Katz suggested developing Spix, a stateless AEAD Mode of operation designed especially for IoT devices that may not maintain state between sessions [
48]. Spix does away with persistent counts or unique peculiarities for each message. This lowers the danger of nonce reuse or mishandling and makes it easier to deploy on hardware with limited resources. Kaps [
49] created ChaiTEA, a lightweight block cipher based on the TEA algorithm, for wireless sensor networks. It changes the cipher and mode of operation to function well with limited memory and power. ChaiTEA strikes a great balance between security and resource use in sensor network contexts by reducing key scheduling and using shorter block lengths.
2.7. Security Against Misuse and Attacks
A nonce or initialization vector (IV) is a public, non-secret value used to introduce randomness into probabilistic encryption schemes. In block cipher modes such as CTR and GCM, the nonce/IV must be unique for each encryption under the same secret key. This uniqueness requirement is essential to prevent leakage of relationships between ciphertext blocks and to preserve confidentiality [
50].
Nonce/IV management is therefore a critical aspect of secure system design. Modes such as CTR and GCM require a fresh nonce for each encryption instance; if a nonce is reused, either accidentally or adversarially, confidentiality can be completely compromised. Song et al. identify this risk in their analysis of block cipher modes and note that even high-performance implementations remain vulnerable when nonce generation or synchronization is unreliable [
38]. Ensuring correct nonce/IV generation is particularly challenging in distributed, high-throughput, or parallel environments.
To mitigate such risks, Bellare and Tackmann propose robust authenticated encryption (AEAD) constructions that remain secure even when nonces repeat. Their approach allows nonce reuse without catastrophic failure by introducing internal randomness and carefully composing cryptographic primitives [
51]. Similarly, Rogaway et al. introduced Synthetic Initialization Vector (SIV) modes, which provide deterministic authenticated encryption without requiring a fresh IV for each encryption instance [
28]. In SIV-based constructions, identical plaintexts encrypt to identical ciphertexts under the same key only when no additional randomness is supplied. Security against chosen-plaintext and chosen-ciphertext attacks is achieved because the synthetic IV is derived as a pseudorandom function of the plaintext and associated data, causing any ciphertext modification or forgery to be detected during decryption [
28].
More generally, Bellare and Rogaway argue that symmetric encryption schemes should be designed to tolerate certain classes of misuse and to fail gracefully rather than catastrophically under imperfect operating conditions [
28]. In this work, we adopt these principles by designing SEBCM to maintain confidentiality under nonce misuse scenarios while preserving parallelizability. Integrity protection is intentionally left outside the scope of this mode and can be achieved by combining SEBCM with a standard message authentication mechanism.
2.8. Post-Quantum and Future Threats
Modern cryptography must also consider emerging threats, notably the advent of quantum computing. In general, symmetric-key cryptographic algorithms are considered more resilient to known quantum attacks than asymmetric algorithms, provided sufficiently large key sizes are used [
52]. In particular, Grover’s algorithm offers at most a quadratic speedup for brute-force attacks, effectively reducing the security of an n-bit symmetric key to approximately n/2 bits, whereas widely deployed public-key schemes can be completely broken by Shor’s algorithm on a sufficiently powerful quantum computer [
53,
54,
55]. Researchers are working on quantum-safe modes that keep efficiency while adding more security. Hosoyamada et al. [
56] suggest the first provably secure construction of tweakable block ciphers that can withstand quantum superposition attacks using a basic mode termed LRWQ, built from quantum-safe block ciphers and proven secure. Another improvement in Tweakable Enciphering Scheme with Tweak (TET), which offers strong security in settings with few resources [
57,
58]. TET enhances a block cipher’s security by utilizing tweaks, which are public, non-secret inputs that diversify the encryption transformation for each invocation. Unlike an initialization vector that randomizes encryption probabilistically, a tweak deterministically modifies the block cipher’s permutation, ensuring that identical plaintext blocks encrypt differently across distinct contexts without increasing key management complexity. Farfalle is a permutation-based cryptographic construction proposed by Bertoni et al. [
59] that enables the design of pseudorandom functions and authenticated encryption schemes with inherent parallelism. By relying on a single underlying permutation and domain separation, Farfalle supports high-throughput and hardware-friendly implementations, making it suitable for modern cryptographic applications requiring both efficiency and flexibility. Recent work by Ananth, Qian, and Yuen explores constructing pseudorandom quantum states to bolster encryption against quantum adversaries [
60].
2.9. Formal Verification and Theoretical Foundations
Formal security analysis has become more important as encryption mechanisms are used in more and more important systems, such as those used in cars and medical devices.
Researchers use tools like ProVerif and CryptoVerif to mathematically show that the suggested modes are secure against several types of attacks, such as the chosen plaintext attack (IND-CPA) and the chosen ciphertext attack (IND-CCA) [
61,
62]. Blanchet et al. (2013) demonstrated how to use ProVerif to check block cipher modes and make sure that each one protects privacy and integrity even when attackers are trying to crack it [
61]. Formal methods are useful in discovering small anomalies that would typically go unnoticed in practical tests and provide a level of assurance to users about the mode’s design. The safety-critical areas include systems like self-driving cars; thus, they depend heavily on the existence of formal security criteria and adversary models to measure new cipher modes.
As far as block cipher mode designs go, there is currently a move away from traditional schemes to adaptive designs that are both parallelizable and lightweight [
63]. Current ongoing research focuses on providing enhanced security guarantees while not compromising key size and performance. A new block cipher mode is proposed, based on these insights. The cipher mode proposed in this paper is designed to be secure yet efficient, supporting parallel processing and providing robust protection against both classical attacks (e.g., cryptanalysis and bit-flips). Our approach offers a good balance for modern secure communication systems. As it addresses the limitations present in prior work, like using very large keys, a lot of randomization, or strict sequential processing [
50,
64].
Despite the advances in encryption techniques and mode design surveyed above, many real-world cryptographic failures stem from weaknesses in implementation or improper use of these modes. In the next section, some of the most well-known attacks on cipher modes and implementations are discussed.
2.10. Cipher Attacks vs. Block Cipher Modes
The susceptibility of various block cipher modes to common attacks are summarized in
Table 3. As listed in
Table 3, different block cipher modes are vulnerable to different types of cryptographic attacks. It covers six cipher modes, namely CBC, PCBC, CFB, OFB, CTR, and XTS. Then, models are subjected to four types of attacks: bit-flip, IV manipulation, replay attacks, and nonce/IV reuse vulnerabilities. A bit-flip attack affects all the modes, which shows that they all have a weakness when it comes to changing plaintext through ciphertext manipulation [
65]. IV manipulation can affect CBC and PCBC, but not CFB, OFB, CTR, or XTS. Replay attacks work on all modes except PCBC, which is used in Kerberos authentication. This is because PCBC is serial in both encryption and decryption [
66]. Also, CFB, OFB, CTR, and XTS can have problems with nonce/IV reuse. This indicates the need to handle IVs appropriately and utilize them just once for each encryption session [
67].
The block cipher modes are classified into two categories based on encryption: Encryption Over Plaintext (Chaining-Based Modes) and Encryption Over IV/Random Number (Stream-Cipher-Like Modes) [
68]. The efficacy of any encryption method is fundamentally determined by the computational resources necessary for an adversary to breach the encryption key.
Table 2 shows that increasing the key size makes the execution time longer. However, this trade-off makes security much better and makes the system more resistant to brute-force and cryptanalytic attacks. Hence, a longer key size and longer block might be more secure. This happens because handling a 128-bit key on a 64-bit processor requires two 64-bit CPU registers to be used to perform the computations and represent a 128-bit number. Therefore, we propose SEBCM to achieve high security without large keys or heavy randomness overhead and to support parallel processing.
4. Security Model and Analysis of SEBCM
This section formalizes the security objectives of the proposed Secure and Efficient Block Cipher Mode (SEBCM). Rather than making informal claims such as “tamper-proof” or “guaranteed security,” we describe the precise threat model, the adversarial capabilities, and the cryptographic properties targeted by the proposed design.
4.1. Threat Model
We consider a probabilistic polynomial-time (PPT) adversary who has full access to the encryption algorithm of SEBCM. The adversary may adaptively query an encryption oracle with plaintexts of its choice and observe the corresponding ciphertexts (chosen-plaintext attack setting).
The adversary is assumed to:
Observe all ciphertexts and headers transmitted over the channel.
Attempt to infer information about plaintexts or detect structural patterns.
Attempt to distinguish encryptions of chosen messages.
The adversary is not assumed to have access to the decryption oracle in the primary security goal. Protection against active attacks such as ciphertext forgery, replay filtering, or message authentication is not the primary focus of this work.
4.2. Primary Security Goal
The main security goal of SEBCM is to achieve confidentiality under chosen-plaintext attacks (IND-CPA-style security) while supporting parallel encryption and decryption.
Informally, this means that an adversary should not be able to distinguish the encryptions of two chosen plaintexts of equal length, even after observing polynomially many encryptions of other plaintexts. This definition follows the standard indistinguishability-based framework used for symmetric encryption schemes in the modern cryptography literature.
4.3. SEBCM Randomization Structure
SEBCM introduces probabilistic behavior using three fresh random values generated independently for each encryption session. These values serve as the source of randomness for the entire message and are embedded into the ciphertext through the encrypted header blocks .
For each plaintext block
, SEBCM computes a block-specific transformation value:
and applies masking before block cipher encryption:
This construction ensures that:
Identical plaintext blocks at different positions encrypt differently.
Identical plaintext blocks in different encryption sessions encrypt differently.
Each block is independently randomized, enabling parallel processing.
4.4. On the Role of the Transformation Function
In SEBCM, the transformation value is derived as a deterministic function of session-level random values and the block index i. The primary purpose of this construction is to introduce block-level diversification and to prevent deterministic repetition of ciphertext blocks.
It is emphasized that is not claimed to be a cryptographically secure pseudorandom function (PRF) in the formal sense. Instead, it serves as a lightweight masking mechanism designed to eliminate visible plaintext patterns and to enable fully parallel encryption and decryption.
The randomness tests reported in
Section 5.1 provide empirical evidence that this mechanism introduces strong practical diffusion and randomness. However, these tests do not constitute a formal indistinguishability proof. A PRF-based derivation of
with formal security guarantees is left as future work.
4.5. Intuition for Confidentiality
The confidentiality of SEBCM relies on three main components:
- 1.
Fresh Random Header: The values introduce per-session randomness, preventing deterministic encryption.
- 2.
Per-Block Transformation: The function ensures that each block is masked with a distinct value, removing structural repetition and enabling independent block processing.
- 3.
Key-Derived Dynamic S-box: The S-box is generated from the secret key using cryptographic hashing and nonlinear permutations, increasing key sensitivity and resistance to structural analysis.
Under the assumption that the underlying block cipher behaves as a pseudorandom permutation (PRP) and that the transformation values are computationally unpredictable to the adversary, SEBCM aims to achieve IND-CPA-style confidentiality.
4.6. What SEBCM Does Not Claim
SEBCM, as specified, does not provide:
Ciphertext Integrity (INT-CTXT): SEBCM does not detect or reject modified ciphertexts.
Authenticated Encryption (AEAD): SEBCM does not include authentication tags.
Replay Protection: Replay resistance must be implemented at the protocol level.
Chosen-Ciphertext Security (IND-CCA): The scheme is not claimed to be IND-CCA secure.
4.6.1. Relation to XTS Mode
XTS is a standardized tweakable encryption mode primarily intended for sector-based disk encryption, where the tweak is derived from the sector number. XTS mode can be only used in disk storage applications, whereas SEBCM is intended for session-oriented encryption with randomized headers.
4.6.2. Limitation of Predictable
Since the transformation value is implemented as a lightweight masking mechanism rather than a formal pseudorandom function, its security contribution is limited to obfuscation. If an adversary is able to predict or reconstruct the sequence of values, the masking layer can be effectively removed under chosen-plaintext queries, reducing the security of the mode to that of the underlying block cipher. While this does not compromise the security of the block cipher itself, it may eliminate additional mode-level masking benefits and weaken resistance to structural distinguishers. Strengthening using a PRF- or KDF-based construction is therefore identified as a direction for future work.
The design primarily focuses on confidentiality, randomness, and parallelizability. For applications requiring integrity and authenticity, SEBCM can be combined with a standard message authentication code (MAC) using an encrypt-then-MAC paradigm, which is left as future work.
4.6.3. Dependence on Randomness and Nonce Reuse
SEBCM relies on the randomness of the session parameters to ensure probabilistic encryption and to prevent pattern reuse across messages. As with other randomized encryption modes such as CBC and CTR, the security of SEBCM assumes the availability of a sufficiently strong random or pseudorandom number generator. Reuse of the same values across different sessions would reduce the effective randomness of the whitening process and may lead to information leakage through repeated whitening patterns. However, this limitation is not unique to SEBCM and reflects a common assumption in nonce-based encryption schemes. The current design therefore assumes proper nonce generation, and analysis of misuse-resistant variants under nonce reuse is identified as future work.
4.7. Error Localization Property
Unlike chaining-based modes such as CBC, SEBCM processes blocks independently. As a result, a modification in a ciphertext block affects only the corresponding plaintext block upon decryption. This property is referred to as error localization.
It is emphasized that error localization does not imply integrity or tamper detection; it merely prevents error propagation across blocks.
4.8. Summary
SEBCM is a probabilistic, parallelizable encryption mode targeting IND-CPA-style confidentiality. Its design combines session-level randomness, block-level masking, and a dynamic key-derived S-box to prevent pattern leakage and enable high-throughput implementations. Formal treatment of integrity and authenticated encryption is left as future work.
5. Results and Discussion
This work focuses on confidentiality-preserving block cipher modes that provide pattern hiding and inherent parallelism. Modern authenticated encryption modes such as GCM, CCM, OCB, and SIV additionally provide integrity and authenticity, which are orthogonal to the design objectives of SEBCM. Therefore, a direct runtime comparison with AEAD modes is outside the scope of the present study and is left for future work.
SEBCM mode provides thread-level parallelism. Each block can be executed in parallel by using threads on a GPU or multi-core CPU. The S-box generation and the transformation values can be pre-computed and stored, further speeding up the encryption if memory permits. Since the key-derived S-box is a deterministic function of the secret key, it can be generated offline at key installation time and reused across multiple encryption sessions, similar to round-key precomputation in standard block ciphers. As a result, the 4032-iteration S-box generation process is not executed per message and does not lie on the online encryption critical path. The online cost of SEBCM therefore consists of a constant header-processing phase followed by fully parallel block encryption.
The execution times reported in
Table 5 and
Table 6 represent full end-to-end measurements and include the complete cost of key-derived S-box generation, header processing, and block encryption. Therefore, the reported results correspond to a conservative cold-start evaluation.
Let
denote the constant-time header processing cost and
denote the steady-state per-block encryption time after initialization. With a pre-computed S-box, the total runtime for encrypting
N blocks can be expressed as
For small messages, the constant initialization overhead dominates, resulting in higher latency compared to traditional modes. For medium-to-large messages or long-lived sessions, this cost is amortized and the benefits of block-level parallelism become evident. This behavior is consistent with the empirical results reported in
Table 5 and
Table 6.
5.1. Empirical Randomness and Diffusion Analysis
This section presents an empirical evaluation of the statistical randomness and diffusion properties of SEBCM. These tests aim to demonstrate practical pattern hiding and block-level diversification, rather than to provide a formal cryptographic indistinguishability proof.
The primary objective of employing block cipher modes is to prevent pattern-revealing attacks and to introduce sufficient randomness into the resulting ciphertext.
Figure 10 presents a randomness analysis of various block cipher modes applied in image encryption, offering a comparative visualization of their effects on a sample image. The original image is encrypted using the Data Encryption Standard (DES) symmetric encryption algorithm across three distinct modes: Electronic Codebook (ECB), Cipher Block Chaining (CBC), and Secure and Efficient Block Cipher Mode (SEBCM). As shown, ECB mode shows visible patterns from the original image. Due to its deterministic nature, the same plaintext blocks will always produce the same ciphertext blocks. However, both CBC and SEBCM modes make encrypted images that look pretty random, which hides the real image information well. SEBCM will eliminate pattern-revealing attacks, so it is great for encryption.
5.2. S-Box Security Evaluation
Two main methods of cryptanalysis were utilized in testing the proposed S-box design (linear and differential). In addition to this, a thorough analysis of all security properties including key sensitivity, randomness, bijectivity, and inter-key differences was performed in order to demonstrate the S-box construction’s complete cryptographic strength.
Figure 11 illustrates the cryptographically nonlinear distribution of 100,000 different S-Boxes that were generated from 100,000 distinct keys. The center of the distribution is tightly focused around the range of 104–105, which confirms a uniform level of cryptographic robustness across this S-box design.
5.2.1. Resistance to Linear Cryptanalysis
To quantify the level of non-linearity present in a large number of independently generated S-box instances created with random secret keys, we evaluated 100,000 randomly generated S-boxes. Nonlinearity is defined by the lowest Hamming distance between the sets of output Boolean functions produced by an S-box and the closest affine functions. A high degree of nonlinearity is critical to providing protection against linear cryptanalysis. The findings show that the strength and stability of the above-mentioned S-box’s cryptographic performance is considered very strong; with an average value of 104.50, a minimum value of 102, a maximum value of 106, and a standard deviation of 1.32, the suggested S-box consistently provides strong levels of resistance (as a minimum) when compared with the industry-standard S-box constructions.
For comparison, the AES S-box achieves a nonlinearity value of 112, which is the maximum attainable for 8 × 8 bijective S-boxes. While the proposed S-boxes do not reach this optimal value, the observed average nonlinearity of 104.5 remains high and indicates strong resistance to linear cryptanalysis.
5.2.2. Resistance to Differential Cryptanalysis
Differential uniformity was used to evaluate the performance of the new S-box designs. Differential uniformity measures how many times an output value can repeat from pairing it with the same input values, which is extremely important in resisting differential attack techniques. Each of the Sbox designs produced results exhibiting a low level of differential uniformity, with a mean of approximately 6.0, a low of 4.0, a high of 8.0, and a standard deviation of less than 1.0. The results provide clear evidence of the high degree of randomness and effective diffusion characteristics of these S-box designs, which result in the very low likelihood of being able to reliably forecast the output for a given input.
5.2.3. Practical Security Tests
Key Sensitivity Test
To determine the degree of influence that modifying one bit of the secret key would have on the output of the S-box design, it was necessary to analyze 255 entries out of 256 that changed as a result of the change to the key. This indicates that the key had a high degree of sensitivity. Such a high degree of sensitivity is essential to ensure that related-key and key recovery attacks do not succeed.
Randomness and Bijectivity Test
To provide for cryptographically secure systems, all generated S-boxes must have perfect bijections (i.e., they must be a permutation of 256 unique values). The analysis of all S-box designs produced confirmed this requirement for complete bijections and complete randomization, thereby ensuring the safety of the replacement and lack of vulnerability to fixed-point or repeating-mapping attacks.
Inter-Key Variation Test
To present a realistic dynamic encryption environment, an analysis was completed comparing 100 pairs of distinct keys. The average difference between the S-box pair entries produced generated reports of 254.95 entries on average, with a difference of between 251 and 256 entries, and a standard deviation of 0.96 entries. The findings indicate there is an extremely low level of inter-key correlation, which is an important characteristic of a dynamic encryption environment where there are frequent key changes. The boxplot of inter-key variation can be viewed in
Figure 12. The boxplot presented in
Figure 12 clearly illustrates consistently consistent high variation (close to 255 differing entries out of 256). This indicates inherent features, illustrating the robustness and effective potential unpredictability of the proposed S-box design in cryptographic applications.
5.2.4. Conclusion of Security Analysis
Considering the cryptographic strength taken as an inference from the evaluated tests, it is possible to mention that unpredictability is high with a noticeable responsiveness to key changes. Hence, the proposed S-box design can be considered appropriate for the modern cryptographic algorithms in order to secure communication protocols. Both the cryptographic and the respective runtime metrics demonstrate balanced security and efficiency.
5.3. Encryption Time Analysis
The encryption performance of three cipher modes (CBC, CTR, and SEBCM) is evaluated using the five symmetric cryptographic algorithms: AES-128, AES-192, AES-256, DES, and TDES.
Table 5 illustrates the time taken in seconds for the encryption process. Plaintext of sizes 100, 1K, and 10K are referred to as small file, while the remaining plaintext of sizes 100K and 1M are considered as large file.
Figure 13 shows the pictorial representation for
Table 5. The performance gap between the cipher modes is negligible for the small files, whereas it is significant for the large files, as evident from
Table 5. The SEBCM-based cipher modes support both competitive performance relative to CTR for some applications and a greatly improved level of security over CBC. The AES-128 has the fastest performance of all AES algorithm families, as the size of the encryption key increases, the time to encrypt increases. The SEBCM has a much shorter encryption time when encrypting large file sizes compared to CBC mode. The exceptional benefit of SEBCM is that it reduces the total time needed to encrypt large files from 1673.73 s to 203.56 s, showing that SEBCM has the capacity to provide shorter encryption times even for complex algorithms like TDES.
The analysis of the SEBCM indicates that it provides consistent performance for all five different algorithms in terms of throughput. This guarantees that SEBCM will work well for encrypting large sets of files. The analysis of the encryption times for a large file of 1M demonstrates these characteristics. With SEBCM, the cipher mode chosen can change based on the amount of data being processed (i.e., the choice goes from CBC mode to SEBCM mode). Therefore, the higher the size of the data, the better SEBCM is for handling large data sets.
The SEBCM contains the ability to provide secure messaging on top of the ability to process messages concurrently without disrupting operations. From the perspective of the security and performance trade-off, SEBCM has developed a unique function to provide strong security without interfering with normal operations. To maximize security, high file sizes, efficiency, encryption times, algorithms’ complexities, and overall performances based on analyzed results, SEBCM provides a greater level of consistency and security through parallel operation than either CBC mode or CTR mode.
The CTR mode has shown improvement in performance across various configurations, primarily due to the simplified chaining structure of the DES and TDES algorithms that allow multiple blocks to be processed simultaneously. But, overall, the SEBCM provides the highest performance of the three modes. The SEBCM will provide better security to larger data sets, such as AES-256 and TDES, when compared to CTR mode, even though the encryption times of SEBCM for smaller data blocks are similar. This is due to the hybrid nature of SEBCM, which allows for a higher level of security without compromising the security of the chaining mechanism.
The analysis of performance shows that SEBCM is a better balance of greater security with greater operational efficiency as compared to CBC mode, especially when large amounts of data are processed. Although SEBCM has a slightly slower processing speed than CTR for small messages, it provides greater security than CBC mode. Therefore, SEBCM is an ideal solution for large-scale implementations where the security of the data is of utmost importance.
5.4. Decryption Time Analysis
The decryption performance of the three cipher modes (CBC, CTR, and SEBCM) was evaluated with five symmetric key algorithms: AES-128, AES-192, AES-256, DES, and TDES.
Table 6 provides the measured decryption times in seconds for input sizes ranging from 100 to 1 million blocks.
SEBCM shows a consistent and safe way to decrypt in all configurations. When using AES-based schemes, SEBCM works just as well as CBC and CTR modes, especially when the data file size is large. For instance, SEBCM was able to decrypt AES-256 with 1 million blocks in 58.31 s, which is a little faster than CBC (70.27 s) and even faster than CTR (59.14 s). When the inputs are smaller (like 100 or 1K blocks), SEBCM takes a little longer to decrypt than CBC and CTR. This extra work is due to the setup overhead of decrypting the random number. SEBCM adds a little more overhead in terms of percentage, but it still works better than CBC when there are a lot of them. In particular, the SEBCM’s ability to decrypt TDES with 1 million blocks in 206.96 s was faster than that of CBC at 221.81 s; thus, while SEBCM would have some very slight latency associated with low volume applications, it is a highly secure algorithm and can withstand a high volume of traffic, making it a very good option for large scale supported deployments (also known as “large” and “enterprise”) in a secure manner.
SEBCM is an effective balance of both security and scalable solutions. Although it has a longer overall decryption time than CBC and CTR for small volume applications, its higher level of cryptographic guarantees and protection against tampering, along with its strong ability to process in parallel, greatly benefit next-generation secure communication systems.
Figure 14 shows the pictorial representation for
Table 6. The overall decryption performance shows that SEBCM is efficient overall and provides a high level of confidence as a reliable encryption solution. The performance of SEBCM compared with the various forms of AES has afforded SEBCM high levels of competitive performance, in many use cases being equal to or better than the CBC and CTR methods. In particular, the AES192 showed significant performance advantages over CBC at larger block sizes (i.e., 1 million blocks) as it decrypted data faster than CBC, making SEBCM very valuable to clients requiring fast processing and secure data.
5.5. Discussion on Brute-Force Search Cost and Computational Overhead
The resistance of a symmetric encryption scheme to brute-force attacks is fundamentally determined by the size of its secret key. For a key of length k bits, an adversary must test up to candidate keys in the worst case. Since SEBCM uses the same secret key as the underlying block cipher, it does not increase the theoretical brute-force complexity beyond that of the base algorithm.
Nevertheless, SEBCM introduces a key-dependent S-box generation procedure and a randomized header structure that must be computed prior to encryption or decryption. For a legitimate user who possesses the correct secret key, this S-box is generated once per session and reused for all subsequent block operations. Hence, the additional cost is amortized and has minimal impact on normal usage.
In contrast, an adversary performing exhaustive key search must regenerate the S-box and header-dependent structures for every guessed key before attempting decryption. This introduces additional computational overhead per key trial, which can be observed in the measured execution times.
It is important to note that the increased brute-force time observed for SEBCM reflects additional implementation-level computation per key trial (e.g., S-box generation and initialization overhead), and does not imply any increase in the underlying key space or the theoretical complexity of exhaustive key search. The values in
Table 7 show that SEBCM incurs significantly higher per-trial computational cost than CBC. This difference arises from the need to recompute the key-dependent S-box and process the randomized header components for each candidate key.
Figure 15 compares the per-key computational overhead of CBC and SEBCM modes under brute-force attack conditions.
It is important to emphasize that this increased per-trial cost does not expand the cryptographic key space and does not constitute a formal increase in brute-force resistance. Instead, it represents an implementation-level overhead that may slow naive or resource-constrained exhaustive search attempts. The theoretical security against brute-force attacks remains governed solely by the key size of the underlying block cipher.
Therefore, the reported measurements should be interpreted as computational overhead comparisons rather than as cryptographic security proofs. The primary security advantage of SEBCM lies in its probabilistic structure, resistance to pattern leakage, and parallelizable design, rather than in altering the fundamental complexity of key search.
5.6. Attack Resistance
This section provides significant insights on how the SEBCM survives through several cryptographic attacks. The first significant attack considered is the bit-flip attack. According to SEBCM, every ciphertext block is encrypted independently. During decryption, this typically ensures that any modification to even a single bit will affect only the corresponding plaintext block without any interference to other blocks. This strategy is treated as localized impact. Adopting this strategy turns the altered block into meaningless data during the decryption. However, the other surrounding blocks can provide valid plaintext. This indicates substantial data manipulation. This version of block cipher modes differs from the stream ciphers in which the bit-alterations are not immediately effective and subsequently may go unnoticed.
5.6.1. Bit-Flip Attack
In SEBCM, each ciphertext block is encrypted independently. As a result, a bit modification in a ciphertext block affects only the corresponding plaintext block after decryption, without propagating errors to other blocks. This property, known as error localization, improves robustness against error propagation but does not provide explicit tamper detection or integrity guarantees.
5.6.2. IV Modification Attack
SEBCM is highly resistant to header/IV tampering. Since the three random values embedded in the header are encrypted and S-box-substituted, even a one-bit modification causes a high-diffusion effect across all decrypted blocks. This makes the output of plaintext completely unreadable. Like PCBC mode, in this way, SEBCM makes sure that attackers cannot make predictable or localized changes by changing the header, which makes these kinds of attacks easy to spot.
5.6.3. Nonce/IV Reuse Attack
SEBCM eliminates IV reuse vulnerabilities by design. Every time you encrypt something, you get a different, random set of three values that make up an encrypted header. The dynamic S-box replaces these values, and the chances of getting the same header twice with the same key are very, very low. Also, since the header is internal and not provided by the user, there is no chance of it being used again by mistake. If an attacker replays the header, they would not be able to decrypt it without the exact key, which would make the reuse attack useless.
5.6.4. Replay Attack
The transformation function(F) in SEBCM stops replay attacks by tightly linking ciphertext blocks to their original index. Copying, reordering, or reusing the blocks from one encrypted message in a different context will give you the wrong plaintext because the transformation values used to decrypt are based on the original block index. So, replaying or moving blocks messes up the decryption process, making the output random and making the attack useless.
5.6.5. Error Propagation and Reliability
The significant contribution of the SEBCM is that it can mitigate the decryption errors. Usually, in CBC or PCBC, an error in a one ciphertext block propagates through the subsequent blocks, which subsequently leads to a complex decryption mechanism, while data corruption is the most obvious case. It is possible to get rid of this by incorporating block-wise isolation in SEBCM. This isolation limits the error in a block while the noise in the communication channel is restricted to its local environment. This mechanism enhances the fault tolerance, which is an essential feature that makes SEBCM suitable for lossy transmission environments, packet-switched networks and wireless communication systems, where data integrity and reliability are critical. Several attack strategies like bit-flipping, initialization vector modification, nonce reuse, replay attacks, and error propagation have been used to test the security efficiency of the proposed SEBCM. The proposed block cipher mode has outperformed and showed consistency in fault tolerance as it bounds the malicious attempts, either localized ones or decryption failure on the whole, with no structural information disclosed.
6. Conclusions
The proposed Secure and Efficient Block Cipher Mode (SEBCM) could address several long-standing challenges in block cipher designs. This includes parallelizability, randomness, fault tolerance, and minimal cryptographic overhead. The SEBCM has been successfully structured and compared with traditional modes such as CBC, ECB, and CFB in an environment that demands both robust security and high throughput. Accordingly, an S-box is integrated that is known for its position-specific transformation function, with a randomized encrypted header. The SEBCM could successfully balance cryptographic security and operational performance. The encryption and decryption time are recorded to test the computational efficiency of SEBCM and compared with the other popular cipher modes. The SEBCM provides support to block-wise parallel encryption and decryption. Hence, it possesses inherent compatibility and can easily work on modern computing architectures, like GPUs and multi-core processors. The validation and comparative analysis reported that the SEBCM is scalable, with faster execution than traditional modes that use serial chaining mechanisms. SEBCM achieved consistently lower (and highly competitive) encryption and decryption times, especially at high data volumes. It clearly outperformed CBC while being significantly comparable to CTR in large data systems. As the proposed mode could survive through the brute-force and other attacks in particular with a substantial resistance, it can be considered for applications that are critical and demand high security, for example, applications like military communication systems, healthcare data exchange, blockchain frameworks, and smart grids, which demand resistance to tampering.