arnaucube
arnaucube/babyjubjub-arkPublic Self-hosted repository
Update to last poseidon-rs version

Update to last Poseidon version (which includes the changes of the reference implementation from
https://extgit.iaik.tugraz.at/krypto/hadeshash/-/commit/26ddaa91db58a600f16b0d94e2d624b861c95450)

Compatible with update at circomlib
(https://github.com/iden3/circomlib/commit/cf853c1cc96fa537cb1030f70a6f78e5d80ed0e4)
arnaucube root@arnaucube.com
Mon, 08 Mar 2021 20:52:47 +0100
commit

27f9ab6accf102eee68b8cc221178054e06d1d1f

parent

f3d57a2446052ecbcb22aa21edbd232831edef35

2 files changed, 3 insertions(+), 3 deletions(-)

jump to
M Cargo.toml → 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"
M src/lib.rs → src/lib.rs

@@ -738,7 +738,7 @@ "Fr(0x2202bebcf57b820863e0acc88970b6ca7d987a0d513c2ddeb42e3f5d31b4eddf)"

); assert_eq!( sig.s.to_string(), - "1398758333392199195742243841591064350253744445503462896781493968760929513778" + "1672775540645840396591609181675628451599263765380031905495115170613215233181" ); let v = verify(pk, sig, msg); assert_eq!(v, true);