Change personalization of BLAKE2b used in hash_into.
This commit is contained in:
parent
87536cea10
commit
2fe4e0d900
|
@ -82,7 +82,7 @@ impl<C: CurveAffine> VerifyingKey<C> {
|
|||
pub fn hash_into<T: Transcript<C>>(&self, transcript: &mut T) -> io::Result<()> {
|
||||
let mut hasher = Blake2bParams::new()
|
||||
.hash_length(64)
|
||||
.personal(C::BLAKE2B_PERSONALIZATION)
|
||||
.personal(b"Halo2-Verify-Key")
|
||||
.to_state();
|
||||
|
||||
let s = format!("{:?}", self.pinned());
|
||||
|
|
Loading…
Reference in New Issue