Skip to content

Commit

Permalink
Blake2b
Browse files Browse the repository at this point in the history
  • Loading branch information
davxy committed Sep 16, 2024
1 parent 82c80dc commit 78b30bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ring/src/piop/params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ impl<F: PrimeField, Curve: SWCurveConfig<BaseField=F>> PiopParams<F, Curve> {
let padding_point = {
use ark_std::{rand::SeedableRng, UniformRand};
use blake2::Digest;
let seed = blake2::Blake2s::digest(b"w3f/ring-proof/common/padding");
let seed = blake2::Blake2b::digest(b"w3f/ring-proof/common/padding");
Affine::<Curve>::rand(&mut rand_chacha::ChaCha20Rng::from_seed(seed.into()))
};

Expand Down

0 comments on commit 78b30bb

Please sign in to comment.