Skip to content
This repository has been archived by the owner on Jun 25, 2019. It is now read-only.
/ yobicrypto Public archive

Yobicash cryptographic toolkit

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

yobicash/yobicrypto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

banner

Yobicrypto

Travis branch Coveralls github branch Crates.io Docs.rs Crates.io

Cryptographyc toolkit used in Yobicash.

Table of Contents

Install

To install it add in your Cargo.toml:

# Cargo.toml

[dependencies]
yobicrypto = "^0.2"

and in the root of your crate:

//main.rs

extern crate yobicrypto;

Usage

Look at the documentation or at the tests for guidance.

// main.rs

use yobicrypto::{Random, Scalar, ZKPWitness, ZKPProof}; 

let instance = Scalar::random();
let witness = ZKPWitness::new(instance)?;
let message = Random::bytes(64);
let proof = ZKPProof::new(instance, &message)?;
let verified = proof.verify(witness)?;

assert!(verified);

Maintainers

@chritchens

License

This project is license under either of

at your option.

Contributing

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in yobicrypto by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Yobicash cryptographic toolkit

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published