Getting Started Algoa

I recently started a new project. The project is named Algoa after an asteroid from 1394.. The goal is to provide a classical means of an unbreakable cryptography algorithm using quantum cryptography methods while using classical methods. For example, quantum cryptography uses qubits. Representations of 1 and 0 simultaneously. IBM currently, at the time of this writing, has a 5 qubit system we can utilize, but in the near distant future, a couple weeks, will open up a 20 qubit system to the public. So, in an effort to gain traction in this developing field, I/a small team, are employing classical quantum cryptography algorithms with the hope that when a true quantum computer is made available, we can easily migrate to that without any loss of time.

So let’s begin, shall we?

As stated previously, a true quantum computer has not been made public aside from the 5 qubit IBM computer. From testing, I put in some algorithms, been in a queue for awhile and eventually ended up with a result. This is not that practical when trying to implement a quantum cryptography system. No one has time to wait in a queue for a random number, or a QKD (Quantum Key Distribution) based on the IBM computer. So our efforts have been implementing the concepts in a classical sense, then we can implement in a real sense when the technology makes sense. The code I have written so far takes advantage of ANU Quantum Random Numbers for what I feel is a replacement for a true randomness generator. Eventually, I will come up with a true randomness generator but the QRN is the best so far.

In order to get started, I require some per-requisites.

  1. Set up a Python virtual environment
  2. Install the dependencies
  3. Check out the code I put into Github
  4. Run the code locally
  5. Check it all out for bugs ( I mean really test all side cases)
  6. Create a pull request
  7. I shall merge if things are good

I do have some assumptions, as stated in a previous post. As a reference the main points are below:

  1. You can code
  2. You can compile
  3. You can Google
  4. You can read and comprehend
  5. You are interested in something new
  6. You are interested in things outside your comfort zone

With that out of the way, let’s do the basics.

Set up the virtual environment

    1. Open up a Linux shell
      1. I do not care if it is a CentOS, Ubuntu virtual machine or the Windows 10 Ubuntu shell. Ive been working in the Windows 10 shell, so if you are trying to run my code in something else, contact me and I’ll help
    2. Next
      1. pip install virtualenv
      2. virtualenv NAMEMESOMETHINGNEAT
      3. source bin/activate
    3. Run this https://github.com/vaethis/workspace/blob/master/utilities/setup_quantum_toolbox.sh
    4. pip install django
    1. This will set up all the dependencies
  1. Git clone this: [email protected]:vaethis/algoa.git
  2. pip install -r requirements.txt
  3. If all goes well then run
    1. python mange.py runserver
  4. If things do not go well, try a manage.py makemigrations then ./manage.py migrate
  5. If things do not go well you are welcome to contact me ezluzvaerus @ gmail . com and tell me what errors you get. I think I spelled out the basics, but please troubleshoot yourself first. At work people e-mail me things that don’t work but its something stupid simple. I am fairly certain if things do not go well I will get some emails.

My disclaimer. I do not attempt or pretend I know anything. The above are the bare minimum things I have done to get my simple code to execute locally. I have not performed any optimization, there are security holes I am aware of, and I have not optimized for production. So far everything is a half ass attempt for a development environment.

 

Leave a Reply

Your email address will not be published. Required fields are marked *