Skip to content

Commit

Permalink
current progress
Browse files Browse the repository at this point in the history
  • Loading branch information
skaunov committed Feb 15, 2024
1 parent ec4cf20 commit 0c19d2a
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
3 changes: 3 additions & 0 deletions rust-arkworks/README.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
https://github.com/plume-sig/zk-nullifier-sig/blob/main/README.md
# HAZMAT
Please note that until `v0.1.0` this is very much a preview crate which lets you have some preliminary feel of the structure and the reference implementation approach.
2 changes: 1 addition & 1 deletion rust-arkworks/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
///
/// See <https://blog.aayushg.com/nullifier> for more information.
///
/// Find RustCrypto crate as `plume_crypto`.
/// Find RustCrypto crate as `plume_rustcrypto`.

pub use crate::error::HashToCurveError;
use crate::hash_to_curve::hash_to_curve;
Expand Down
1 change: 1 addition & 0 deletions rust-k256/README.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://github.com/plume-sig/zk-nullifier-sig/blob/main/README.md
14 changes: 13 additions & 1 deletion rust-k256/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,19 @@
//!
//! See <https://blog.aayushg.com/nullifier> for more information.
//!
//! Find `arkworks-rs` crate as `plume_arkworks`.
// Find `arkworks-rs` crate as `plume_arkworks`.
//
// # Examples
// For V2 just set `v1` to `None`
// ```rust
// # fn main() {
// let sig_good = PlumeSignature<'a>{
// message: &b"An example app message string",
// pk: ProjectivePoint::GENERATOR * Scalar::from_repr(hex!("519b423d715f8b581f4fa8ee59f4771a5b44c8130b4e3eacca54a56dda72b464").into()).unwrap(),
// ...
// };
// # }
// ```

use k256::{
elliptic_curve::ops::ReduceNonZero,
Expand Down

0 comments on commit 0c19d2a

Please sign in to comment.