Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

Commit

Permalink
Upgrade poseidon to v0.18 (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
vlopes11 authored Feb 11, 2021
1 parent 4ed3eab commit 7645714
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dusk-pki"
version = "0.5.3"
version = "0.6.0"
authors = ["zer0 <[email protected]>", "Victor Lopez <[email protected]>"]
edition = "2018"

Expand All @@ -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}

Expand Down
2 changes: 1 addition & 1 deletion src/permutation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7645714

Please sign in to comment.