Skip to content

Nikoraii/quantum-hashing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quantum Hashing with Python and Q#

Hash messages by utilizing the true randomness of Qubits, by default configured to 256 bits.

Running the program

To run this program, create a virtual environment and install required packages from requirements.txt .
You will also need the Quantum Development Kit

After that just run the QuantumEncrypt.py and enter a message to encrypt.

Explanation

After entering a message we are generating salt and qbitsream, which is a list of random Qubits, either One or Zero. Mapping the stream of Qubits to list of integers makes it easier to work with them.

Bellow is a flowchart fot easier understanding.

Quantum Hashing Flowchart