Skip to content

Commit

Permalink
crypto: remove println! on blake2b hash
Browse files Browse the repository at this point in the history
  • Loading branch information
emturner committed Mar 13, 2023
1 parent b8183d3 commit 675fdcf
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions crypto/src/blake2b.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// Copyright (c) SimpleStaking, Viable Systems, TriliTech and Tezedge Contributors
// Copyright (c) SimpleStaking, Viable Systems and Tezedge Contributors
// SPDX-FileCopyrightText: 2023 TriliTech <[email protected]>
//
// SPDX-License-Identifier: MIT

use cryptoxide::blake2b::Blake2b;
Expand Down Expand Up @@ -47,12 +49,6 @@ pub fn digest(data: &[u8], out_len: usize) -> Result<Vec<u8>, Blake2bError> {

hasher.input(data);

println!(
"DIGEST: out_len {} | output_bytes {} | output_bits {}",
out_len,
hasher.output_bytes(),
hasher.output_bits()
);
let mut result = vec![0; hasher.output_bytes()];

hasher.result(result.as_mut_slice());
Expand Down

0 comments on commit 675fdcf

Please sign in to comment.