The threat of cryptanalysis attack by quantum computers which can break into public keys and expose the cryptocurrency encrypted technology and put people's funds in danger has been on the rise since the development of quantum computers. Although the US National Institute of Standards and Technology are working strides ahead to get a trusted post quantum cryptography algorithm that can fight this dispute which can make cryptocurrency users to run amok on the ecosystem if such attack succeeds.
So, developers in the cryptocurrency niche decided to build a fork for post quantum algorithm, prior to when NIST concludes their test on the project, which will save cryptocurrency holders from an unexpected attack.
NOTE: This source code is not the best it's just a temporary code that can keep your funds safe for the time being so they update it from time to time.
Let us get startedIt can work on any operating system but this one has been tested successfully on Linux
First,
on Ubuntu you need to install the following programsudo apt install cmake gcc ninja-build libunwind-dev pkg-config python3 python3-psutil golang-go
Also, an up to date toolchain for the GO programming language is needed to get started.
Check for it hereThen, generate the source code for this fork
<BORINGSSL_DIR>
depending on your choice.
git clone --branch master https://github.com/open-quantum-safe/boringssl.git <BORINGSSL_DIR>
Second,
Install and Build Liboqsliboqs is an open source C library for quantum-safe cryptographic algorithmsThe following code will build and download Liboqs then install it to your chosen directory could be
<BORINGSSL_DIR>
git clone --branch main --single-branch --depth 1 https://github.com/open-quantum-safe/liboqs.git
cd liboqs
mkdir build && cd build
cmake -G"Ninja" -DCMAKE_INSTALL_PREFIX=<BORINGSSL_DIR>/oqs -DOQS_USE_OPENSSL=OFF ..
ninja
ninja install
Third,
Build the forkThe standard code for building
<BORINGSSL_DIR> will be used. Navigate to <BORINGSSL_DIR> and run on ubuntu
mkdir build
cd build
cmake -GNinja ..
ninja
Fourth,
Run testTo run the black box and clear box testing that comes with BORINGSSL as well as the test for Open Quantum safe
Key-exchange and digital signature algorithm, execute
ninja run_tests
from the build directory.
Running
To run a basic Transfer Layer security server with all Liboqs algorithm enabled , for the build directory run:
tool/bssl server -accept 4433 -sig-alg <SIG> -loop
These source codes I found on
Github and decided to share with everybody in the forum and notify us about how we can get ready beyond the NIST protection which is yet to be concluded.
When the need arises run to this thread and learn how to keep your funds safe.
Share your insights on the cryptography problem that may arise because of quantum computers