Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
oqs
liboqs, Open Quantum Safe, library bindings and safe abstraction.
See the oqs-sys crate for low level FFI bindings to liboqs. This crate abstracts over those bindings, to create a safe interface to the C library.
This crate mostly focuses on exposing the PRNG and key exchange parts of liboqs. See the respective modules for more detailed documentation.
See the oqs-kex-rpc crate for a client and server implementation that can perform full key exchanges over JSON-RPC 2.0 over HTTP.
Example
Here is a simple example how one can perform a key exchange operation. This code performs both the Alice and Bob roles. In a real use case Alice and Bob would be two different entities who want to establish a shared key over an untrusted channel.
See OqsKex
documentation for more details.
extern crate oqs;
use ;
use ;
License: MIT/Apache-2.0