Skip to content

Commit b582ef8

Browse files
committed
refactor: update package metadata fixing naming.
1 parent 9c72f21 commit b582ef8

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

Cargo.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@ authors = [
77
"Lénaïck Gouriou <[email protected]>"
88
]
99
edition = "2021"
10-
license = "CC0-1.0"
10+
license = "BSD-2-Clause"
1111
readme = "README.md"
12-
repository = "https://github.com/mmaker/sigma-rs"
13-
documentation = "https://mmaker.github.io/sigma-rs/"
12+
repository = "https://github.com/sigma-rs/sigma-proofs"
13+
documentation = "https://docs.rs/sigma-proofs"
1414
categories = ["cryptography"]
15-
keywords = ["cryptography", "zero-knowledge", "NIZK",
16-
"sigma protocols"]
15+
keywords = ["cryptography", "zero-knowledge", "NIZK", "sigma protocols"]
1716
description = "A toolkit for auto-generated implementations of Σ-protocols"
1817
exclude = [
1918
".gitignore"

examples/schnorr.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ fn create_relation(P: RistrettoPoint) -> LinearRelation<RistrettoPoint> {
3434
/// generate a proof that P = x * G
3535
#[allow(non_snake_case)]
3636
fn prove(x: Scalar, P: RistrettoPoint) -> ProofResult<Vec<u8>> {
37-
let nizk = create_relation(P).into_nizk(b"sigma-rs::examples");
37+
let nizk = create_relation(P).into_nizk(b"sigma-proofs-example");
3838
nizk?.prove_batchable(&vec![x], &mut OsRng)
3939
}
4040

4141
/// Verify a proof of knowledge of discrete logarithm for the given public key P
4242
#[allow(non_snake_case)]
4343
fn verify(P: RistrettoPoint, proof: &[u8]) -> ProofResult<()> {
44-
let nizk = create_relation(P).into_nizk(b"sigma-rs::examples");
44+
let nizk = create_relation(P).into_nizk(b"sigma-proofs-example");
4545
nizk?.verify_batchable(proof)
4646
}
4747

0 commit comments

Comments
 (0)