From 76457147d598076378bd331df62796ec2397cbe2 Mon Sep 17 00:00:00 2001 From: Victor Lopes Date: Thu, 11 Feb 2021 17:41:41 +0100 Subject: [PATCH] Upgrade poseidon to `v0.18` (#39) --- CHANGELOG.md | 6 ++++++ Cargo.toml | 4 ++-- src/permutation.rs | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4504657..8c93220 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.6.0] - 2021-02-11 + +### Changed + +- Update dusk-poseidon to `v0.18` [#38](https://github.com/dusk-network/dusk-pki/issues/38) + ## [0.5.3] - 2021-02-09 ### Changed diff --git a/Cargo.toml b/Cargo.toml index 31169ed..eb9c0e2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dusk-pki" -version = "0.5.3" +version = "0.6.0" authors = ["zer0 ", "Victor Lopez "] edition = "2018" @@ -9,7 +9,7 @@ rand_core = "0.5" dusk-bytes = "0.1" subtle = {version="^2.2.1", default-features=false} dusk-jubjub = {version="0.8", default-features=false} -poseidon252 = {git = "https://github.com/dusk-network/Poseidon252", tag = "v0.17.0", default-features = false} +dusk-poseidon = {version="0.18", default-features = false} canonical = {version = "0.5", optional = true} canonical_derive = {version = "0.5", optional = true} diff --git a/src/permutation.rs b/src/permutation.rs index 4a6ab56..8f0df6b 100644 --- a/src/permutation.rs +++ b/src/permutation.rs @@ -6,7 +6,7 @@ use crate::{JubJubExtended, JubJubScalar}; -use poseidon252::sponge; +use dusk_poseidon::sponge; /// Hashes a JubJub's ExtendedPoint into a JubJub's Scalar pub fn hash(p: &JubJubExtended) -> JubJubScalar {