Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/hash_blake2b.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ use blake2b_rs;

use crate::Hasher;

#[derive(Debug)]
pub struct HasherBlake2B {
k: Vec<u8>,
}
Expand Down
5 changes: 3 additions & 2 deletions src/hash_keccak.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ use tiny_keccak::Hasher as H;

use crate::Hasher;

pub struct HasherKeccak {}
#[derive(Debug)]
pub struct HasherKeccak;

impl HasherKeccak {
pub fn new() -> Self {
Self {}
Self
}
}

Expand Down
5 changes: 3 additions & 2 deletions src/hash_sm3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ use cryptape_sm as libsm;

use crate::Hasher;

pub struct HasherSM3 {}
#[derive(Debug)]
pub struct HasherSM3;

impl HasherSM3 {
pub fn new() -> Self {
Self {}
Self
}
}

Expand Down