Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

QKD-Protected Secret Reporting: Quantum Key Distribution for Secure Transmission of Detected Credentials in Automated Code Scanning

Gunjan Jain

Published Apr 22, 2026• 0 citations
Publisher

Abstract

Automated code scanners routinely detect hardcoded secrets---API keys, private keys, database credentials---yet transmit these findings in plaintext through CI/CD pipelines, dashboards, and webhook notifications, creating a secondary exposure vector. We present a novel approach that integrates BB84 quantum key distribution (QKD) simulation into the code scanning pipeline, encrypting all detected secrets with AES-256-GCM using QKD-derived keys before they leave the scanner process. Our implementation operates within the QCrypton platform using a full BB84 protocol simulation with basis reconciliation, eavesdropper detection at an 11% error threshold, and privacy amplification via LSH-256 hashing (KS X 3262). We demonstrate that the approach adds negligible overhead (<50ms for typical scan results), eliminates plaintext secret exposure in scan reports, and provides a quantum-safe transitional architecture. The system detects 30+ secret types across six programming languages (JavaScript, Python, Go, Java, Rust, C/C++) and wraps each finding individually with unique initialization vectors. To our knowledge, this is the first code scanner to employ quantum key distribution for protecting its own findings.

DOI
10.5281/zenodo.19697690

Related papers

Quantum Key Distribution Using BB84 and E91 Protocols with QIS-Kit

The rapid advancement of quantum computing poses a significant threat to classical cryptographic systems that form the backbone of modern digital security.Algorithms such as RSA and ECC, which rely on the computational difficulty of integer factorization and discrete logarithm problems, become vulnerable to quantum attacks, particularly Shor's algorithm.This project presents a comprehensive Quantum Key Distribution (QKD) Simulator that implements the BB84 and E91 protocols using IBM's Qiskit quantum computing framework, providing an interactive platform for understanding, simulating, and analyzing quantum-safe key exchange mechanisms.The simulator features a full-stack architecture with a FastAPI backend powered by Python and Qiskit for quantum circuit execution, and a React 19 frontend with TypeScript for interactive visualization.The BB84 protocol implementation supports configurable qubit counts, multiple measurement bases (Z, X, and Diagonal), Eve's intercept-resend attack simulation with adjustable interception rates, and Quantum Bit Error Rate (QBER) calculation with a security threshold of 8.5%.The E91 protocol implementation uses entangled Bell state pairs with configurable measurement angles, CHSH inequality violation testing for quantum security verification, and reverse gate anti-eavesdropping mechanisms.Additionally, the system includes an AES encryption module that uses quantum-generated keys from BB84 and E91 simulations to perform AES-128, AES-192, and AES-256 encryption, with privacy amplification for keys shorter than the required length.A simulation history system with SQLite and PostgreSQL support enables experiment tracking, comparison, and analysis.The project demonstrates the practical application of quantum mechanics principles to cryptographic security and serves as an educational tool for understanding the transition from classical to quantum-safe cryptography.

International Research Journal of Modernization in Engineering Technology and Science•Apr 3, 2026•0 citations

En-BB84: Advancements in Secure Quantum Key Distribution with Improved Error Resilience and Built-in Authentication

Yashwanth Venkat, D Preetha Evangeline, P Anandha Kumar

Quantum key distribution (QKD) is a method that enables secure communication between two parties by applying the ideas of quantum physics. By minimizing information leakage that can happen during the key generation process, privacy amplification is a technique used to improve the security of QKD. The technique involves processing the raw key obtained from QKD through a randomization procedure to remove any residual information that may have been leaked during the quantum transmission. While privacy amplification can significantly improve the security of QKD, the effectiveness of the technique is limited by the quality of the initial raw key. The BB84 QKD protocol has been improved with the proposed En-BB84 protocol, which includes built-in authentication and integrity checks. The En-BB84 protocol ensures secure distribution of secret keys and protects against tampering by attackers. Key distillation and error correction techniques are employed to extract a shorter, more secure shared secret key and correct errors introduced during qubit transmission. The protocol utilizes a four-state QKD approach, expanding on the traditional two-state scheme of BB84. A simulation of the En-BB84 protocol is demonstrated using a quantum circuit implemented with Qiskit in Python. The circuit employs various gates and operations, including Hadamard, CX, controlled swap, and RZ gates, to achieve encoding and error correction. Furthermore, we have designed a better protocol with improved error rates by incorporating improvisations on the BB84 protocol. Experimental results indicate the successful integration of the B92 error correction scheme into the modified BB84 protocol, enhancing the security and performance of QKD systems.

International Conference on Quantum Technologies, Communications, Computing, Hardware and Embedded Systems Security (iQ-CCHESS)•Sep 15, 2023•5 citations

Implementation of Quantum Key Distribution with Classical Algorithms

P. Modini, I. Kiran Kumar, I. Bharath Srikanth +1 more

Implementing Quantum Key Distribution (QKD) using the BB84 protocol. The system allows two users to securely share a secret key by simulating quantum protocol using classical computer algorithms to manage and process the data. Random bits are generated, encoded into quantum states, and transmitted virtually between sender and receiver. After transmission, both users compare selected bits to detect error. Classical algorithms are then applied for error correction, key verification, and privacy amplification to produce a final shared secret key. By combining the power of quantum simulation with classical computing algorithms, the project achieves a secure, efficient, and practical approach to key distribution. This integration demonstrates how cloud-based quantum tools and classical algorithms can work together to build reliable and secure communication systems.

•May 10, 2026•0 citations

Adaptive BB84 Quantum Key Distribution Framework: A Comprehensive Implementation and Analysis Platform

Momin Shiraz Shafi, Vivek Parashar Pandey, Momin Rayyan +3 more

With the rapid development of quantum computing, traditional encryption techniques are expected to face serious security challenges in the near future. By depending on the principles of quantum physics rather than computing complexity, Quantum Key Distribution (QKD), and specifically the BB84 protocol, provides a radically new method of secure communication. In this project, an adaptive BB84-based framework is implemented and analyzed under realistic conditions, including channel noise and multiple eavesdropping strategies. The system integrates error correction, privacy amplification, finite-key analysis, and decoy-state mechanisms to reflect practical deployment scenarios. Three major attack models—intercept-resend, photon number splitting, and Trojan horse—are simulated to evaluate protocol robustness. The experimental results show that during normal communication the average Quantum Bit Error Rate (QBER) remains close to 3–4%, whereas the presence of active eavesdropping increases the QBER beyond the commonly accepted 11% threshold, resulting in protocol termination. Additional statistical testing under varying noise conditions confirms stable secret key generation and reliable detection of malicious interference. Overall, the proposed framework serves as a comprehensive simulation platform for studying the security behavior of BB84 in controlled experimental environments.

IEEE International Conference on Advances in Computing Research on Science Engineering and Technology (ACROSET)•Sep 1, 2026•0 citations

BB84 Quantum Key Distribution on PKTron and IBM Quantum Hardware: Eavesdropper-Detection Validation for Secure Military Communications

Zuhair Ahmed

Abstract Secure military communications depend on the confidentiality of exchanged cryptographic keys across command centers, satellite links, and classified order transmission. Classical key-distribution protocols rely on computational hardness assumptions that provide no intrinsic mechanism for detecting interception; an adversary who copies transmitted ciphertext leaves no physical trace. Quantum Key Distribution (QKD), and specifically the BB84 protocol, replaces this assumption with a physical guarantee derived from quantum mechanics: any attempt to measure an unknown quantum state necessarily disturbs it, rendering interception statistically detectable. This study implements the BB84 protocol at the circuit level — qubit state preparation, basis selection, interception modeling, and measurement — and validates its central security property, the Quantum Bit Error Rate (QBER) signature of eavesdropping, in two stages: (1) a noiseless statevector simulation using the PKTron quantum computing framework over ten independent trials per condition, and (2) hardware execution on IBM Quantum's ibm_fez superconducting processor. In simulation, the average QBER without an eavesdropper was 0.000, and with a full intercept-resend attack was 0.248, closely matching the theoretical prediction of 0.25. On real hardware, the undisturbed channel returned QBER = 0.000 (19 sifted bits) and the eavesdropped channel returned QBER = 0.261 (23 sifted bits), in close agreement with both theory and the simulated baseline. These results provide a reproducible, two-platform validation of the eavesdropper-detection mechanism that underlies the security claims made for QKD-protected communications. This study validates the cryptographic detection primitive only; it does not constitute a deployed secure communications system, and extending these results to operational command, satellite, or classified-order channels requires physical single-photon transmission hardware, authenticated classical channels, and full key-management infrastructure outside the scope of this work.

•Aug 28, 2026•1 citation

Quantum Data Security and Transmission – Classical Approach for QKD

Aniruddha Ghosh, Diya Roy, Raul Akhuli +3 more

This research is inspired by the BB84 and Base64 algorithms and presents a fusion of both to introduce a new algorithmic technique for secure data transmission. It combines classical cryptographic principles with concepts from quantum key distribution. The proposed approach integrates Base64 encoding and BB84-inspired key exchange into a web-based cryptographic system. Messages or files from the sender (Alice) are encrypted using a randomly generated symmetric key, derived through HKDF and secured with AES-GCM encryption. The key is shared with the receiver (Bob) via a QR code or text file, functioning as a one-time password. The system also simulates quantum key exchange and basis alignment, serving as an educational tool for quantum-inspired secure communication.

CRC Press eBooks•Sep 10, 2026•0 citations
Automated code scanners routinely detect hardcoded secrets---API keys, private keys, database credentials---yet transmit these findings in plaintext through CI/CD pipelines, dashboards, and webhook notifications, creating a secondary exposure vector. We present a novel approach that integrates BB84 quantum key distribution (QKD) simulation into the code scanning pipeline, encrypting all detected secrets with AES-256-GCM using QKD-derived keys before they leave the scanner process. Our implementation operates within the QCrypton platform using a full BB84 protocol simulation with basis reconciliation, eavesdropper detection at an 11% error threshold, and privacy amplification via LSH-256 hashing (KS X 3262). We demonstrate that the approach adds negligible overhead (<50ms for typical scan results), eliminates plaintext secret exposure in scan reports, and provides a quantum-safe transitional architecture. The system detects 30+ secret types across six programming languages (JavaScript, Python, Go, Java, Rust, C/C++) and wraps each finding individually with unique initialization vectors. To our knowledge, this is the first code scanner to employ quantum key distribution for protecting its own findings.
The rapid advancement of quantum computing poses a significant threat to classical cryptographic systems that form the backbone of modern digital security.Algorithms such as RSA and ECC, which rely on the computational difficulty of integer factorization and discrete logarithm problems, become vulnerable to quantum attacks, particularly Shor's algorithm.This project presents a comprehensive Quantum Key Distribution (QKD) Simulator that implements the BB84 and E91 protocols using IBM's Qiskit quantum computing framework, providing an interactive platform for understanding, simulating, and analyzing quantum-safe key exchange mechanisms.The simulator features a full-stack architecture with a FastAPI backend powered by Python and Qiskit for quantum circuit execution, and a React 19 frontend with TypeScript for interactive visualization.The BB84 protocol implementation supports configurable qubit counts, multiple measurement bases (Z, X, and Diagonal), Eve's intercept-resend attack simulation with adjustable interception rates, and Quantum Bit Error Rate (QBER) calculation with a security threshold of 8.5%.The E91 protocol implementation uses entangled Bell state pairs with configurable measurement angles, CHSH inequality violation testing for quantum security verification, and reverse gate anti-eavesdropping mechanisms.Additionally, the system includes an AES encryption module that uses quantum-generated keys from BB84 and E91 simulations to perform AES-128, AES-192, and AES-256 encryption, with privacy amplification for keys shorter than the required length.A simulation history system with SQLite and PostgreSQL support enables experiment tracking, comparison, and analysis.The project demonstrates the practical application of quantum mechanics principles to cryptographic security and serves as an educational tool for understanding the transition from classical to quantum-safe cryptography.
Quantum key distribution (QKD) is a method that enables secure communication between two parties by applying the ideas of quantum physics. By minimizing information leakage that can happen during the key generation process, privacy amplification is a technique used to improve the security of QKD. The technique involves processing the raw key obtained from QKD through a randomization procedure to remove any residual information that may have been leaked during the quantum transmission. While privacy amplification can significantly improve the security of QKD, the effectiveness of the technique is limited by the quality of the initial raw key. The BB84 QKD protocol has been improved with the proposed En-BB84 protocol, which includes built-in authentication and integrity checks. The En-BB84 protocol ensures secure distribution of secret keys and protects against tampering by attackers. Key distillation and error correction techniques are employed to extract a shorter, more secure shared secret key and correct errors introduced during qubit transmission. The protocol utilizes a four-state QKD approach, expanding on the traditional two-state scheme of BB84. A simulation of the En-BB84 protocol is demonstrated using a quantum circuit implemented with Qiskit in Python. The circuit employs various gates and operations, including Hadamard, CX, controlled swap, and RZ gates, to achieve encoding and error correction. Furthermore, we have designed a better protocol with improved error rates by incorporating improvisations on the BB84 protocol. Experimental results indicate the successful integration of the B92 error correction scheme into the modified BB84 protocol, enhancing the security and performance of QKD systems.
Implementing Quantum Key Distribution (QKD) using the BB84 protocol. The system allows two users to securely share a secret key by simulating quantum protocol using classical computer algorithms to manage and process the data. Random bits are generated, encoded into quantum states, and transmitted virtually between sender and receiver. After transmission, both users compare selected bits to detect error. Classical algorithms are then applied for error correction, key verification, and privacy amplification to produce a final shared secret key. By combining the power of quantum simulation with classical computing algorithms, the project achieves a secure, efficient, and practical approach to key distribution. This integration demonstrates how cloud-based quantum tools and classical algorithms can work together to build reliable and secure communication systems.
With the rapid development of quantum computing, traditional encryption techniques are expected to face serious security challenges in the near future. By depending on the principles of quantum physics rather than computing complexity, Quantum Key Distribution (QKD), and specifically the BB84 protocol, provides a radically new method of secure communication. In this project, an adaptive BB84-based framework is implemented and analyzed under realistic conditions, including channel noise and multiple eavesdropping strategies. The system integrates error correction, privacy amplification, finite-key analysis, and decoy-state mechanisms to reflect practical deployment scenarios. Three major attack models—intercept-resend, photon number splitting, and Trojan horse—are simulated to evaluate protocol robustness. The experimental results show that during normal communication the average Quantum Bit Error Rate (QBER) remains close to 3–4%, whereas the presence of active eavesdropping increases the QBER beyond the commonly accepted 11% threshold, resulting in protocol termination. Additional statistical testing under varying noise conditions confirms stable secret key generation and reliable detection of malicious interference. Overall, the proposed framework serves as a comprehensive simulation platform for studying the security behavior of BB84 in controlled experimental environments.
Abstract Secure military communications depend on the confidentiality of exchanged cryptographic keys across command centers, satellite links, and classified order transmission. Classical key-distribution protocols rely on computational hardness assumptions that provide no intrinsic mechanism for detecting interception; an adversary who copies transmitted ciphertext leaves no physical trace. Quantum Key Distribution (QKD), and specifically the BB84 protocol, replaces this assumption with a physical guarantee derived from quantum mechanics: any attempt to measure an unknown quantum state necessarily disturbs it, rendering interception statistically detectable. This study implements the BB84 protocol at the circuit level — qubit state preparation, basis selection, interception modeling, and measurement — and validates its central security property, the Quantum Bit Error Rate (QBER) signature of eavesdropping, in two stages: (1) a noiseless statevector simulation using the PKTron quantum computing framework over ten independent trials per condition, and (2) hardware execution on IBM Quantum's ibm_fez superconducting processor. In simulation, the average QBER without an eavesdropper was 0.000, and with a full intercept-resend attack was 0.248, closely matching the theoretical prediction of 0.25. On real hardware, the undisturbed channel returned QBER = 0.000 (19 sifted bits) and the eavesdropped channel returned QBER = 0.261 (23 sifted bits), in close agreement with both theory and the simulated baseline. These results provide a reproducible, two-platform validation of the eavesdropper-detection mechanism that underlies the security claims made for QKD-protected communications. This study validates the cryptographic detection primitive only; it does not constitute a deployed secure communications system, and extending these results to operational command, satellite, or classified-order channels requires physical single-photon transmission hardware, authenticated classical channels, and full key-management infrastructure outside the scope of this work.
This research is inspired by the BB84 and Base64 algorithms and presents a fusion of both to introduce a new algorithmic technique for secure data transmission. It combines classical cryptographic principles with concepts from quantum key distribution. The proposed approach integrates Base64 encoding and BB84-inspired key exchange into a web-based cryptographic system. Messages or files from the sender (Alice) are encrypted using a randomly generated symmetric key, derived through HKDF and secured with AES-GCM encryption. The key is shared with the receiver (Bob) via a QR code or text file, functioning as a one-time password. The system also simulates quantum key exchange and basis alignment, serving as an educational tool for quantum-inspired secure communication.