pi-qrng | Random Number Generation from Quantum Key

 by   steinbrecher Python Version: Current License: MIT

kandi X-RAY | pi-qrng Summary

kandi X-RAY | pi-qrng Summary

pi-qrng is a Python library. pi-qrng has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. However pi-qrng build file is not available. You can download it from GitHub.

In this program we're using random numbers generated from a quantum key distribution system, as detailed in this paper. The basic principle is this: Alice generates two photons that are entangled, but whose state is unknown. She then applies one of two transformations randomly to one of them while sending the second to Bob. Bob also performs a transformation randomly. On the times that they perform the same transformation -- and assuming that no one has tried to evesdrop on the link -- the measurements they make will be correlated. In our case, we used photons that are correlated in the energy-time basis, meaning that when the photons are created and what color they are is entangled. The two different measurements correspond to measuring the time of arrival of the phtotons, either with or without dispersion (color-dependent time delay) applied. As detailed in far more gory detail in the paper, Alice and Bob then compare these measurements, using the shared information of the time-correlations to generate a secret key shared by both of them, but never spoken of openly. They further improve this through the use of so-called privacy amplification which serves both to whiten the data and to ensure that, asymptotically, no information is leaked to an evesdropper. As the correlations are truly random, at the quantum level, and we apply a verified whitening technique, this makes the protocol a fantastic source of random numbers. In this code, we make use of a base-256 key, assigning a number 0-255 to each of the participants in the drawing. We convert each of these to a three digit string (zero-padding where necessary) and find their first occurrance in the digits of pi. The occurance closest to the occurrance of 2012 is deemed the winner.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              pi-qrng has a low active ecosystem.
              It has 0 star(s) with 0 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              pi-qrng has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of pi-qrng is current.

            kandi-Quality Quality

              pi-qrng has no bugs reported.

            kandi-Security Security

              pi-qrng has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              pi-qrng is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              pi-qrng releases are not available. You will need to build from source code and install.
              pi-qrng has no build file. You will be need to create the build yourself to build the component from source.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of pi-qrng
            Get all kandi verified functions for this library.

            pi-qrng Key Features

            No Key Features are available at this moment for pi-qrng.

            pi-qrng Examples and Code Snippets

            No Code Snippets are available at this moment for pi-qrng.

            Community Discussions

            No Community Discussions are available at this moment for pi-qrng.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install pi-qrng

            You can download it from GitHub.
            You can use pi-qrng like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/steinbrecher/pi-qrng.git

          • CLI

            gh repo clone steinbrecher/pi-qrng

          • sshUrl

            git@github.com:steinbrecher/pi-qrng.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link