templating...

This commit is contained in:
2025-08-10 15:13:38 -04:00
parent a8f6103e4a
commit aa22a78630
7 changed files with 39 additions and 1 deletions

29
src/hashes/md5.rs Normal file
View File

@@ -0,0 +1,29 @@
use super::*;
pub struct MD5 {
hash: BITS128,
}
impl Hasher for MD5 {
fn new() -> Self {
MD5 { hash: [0; 16] }
}
fn digest(&mut self, bytes: impl AsRef<[u8]>) {
todo!()
}
fn complete(self) -> HashReturn {
todo!()
}
}
#[cfg(test)]
mod test {
use super::*;
#[test]
fn test_md5_hash() {
todo!();
}
}