made trait private, tbd pub in future?
This commit is contained in:
@@ -65,7 +65,7 @@ impl HashReturn {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub trait Hasher {
|
trait Hasher {
|
||||||
fn new() -> Self;
|
fn new() -> Self;
|
||||||
fn digest(&mut self, bytes: impl AsRef<[u8]>);
|
fn digest(&mut self, bytes: impl AsRef<[u8]>);
|
||||||
fn complete(self) -> HashReturn;
|
fn complete(self) -> HashReturn;
|
||||||
|
|||||||
Reference in New Issue
Block a user