Browse Source

Update to last poseidon-rs version

Update to last Poseidon version (which includes the changes of the reference implementation from
26ddaa91db)

Compatible with update at circomlib
(cf853c1cc9)
main
arnaucube 3 years ago
parent
commit
27f9ab6acc
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      Cargo.toml
  2. +1
    -1
      src/lib.rs

+ 2
- 2
Cargo.toml

@ -1,6 +1,6 @@
[package]
name = "babyjubjub-rs"
version = "0.0.6"
version = "0.0.7"
authors = ["arnaucube <root@arnaucube.com>"]
edition = "2018"
license = "GPL-3.0"
@ -19,7 +19,7 @@ blake-hash = "0.4.0"
generic-array = "0.13.2"
tiny-keccak = "1.5"
rustc-hex = "1.0.0"
poseidon-rs = "0.0.5"
poseidon-rs = "0.0.8"
arrayref = "0.3.5"
lazy_static = "1.4.0"

+ 1
- 1
src/lib.rs

@ -738,7 +738,7 @@ mod tests {
);
assert_eq!(
sig.s.to_string(),
"1398758333392199195742243841591064350253744445503462896781493968760929513778"
"1672775540645840396591609181675628451599263765380031905495115170613215233181"
);
let v = verify(pk, sig, msg);
assert_eq!(v, true);

Loading…
Cancel
Save