Port hash, hash md5 and hash sha256 commands (#464)

`hash` by itself is only printing the help message.

The other two are simply using the same generic implementation.
This commit is contained in:
Benoît Cortier
2021-12-10 18:14:28 -05:00
committed by GitHub
parent 95841e3489
commit e77c6bb284
10 changed files with 408 additions and 49 deletions

View File

@ -0,0 +1,8 @@
mod command;
mod generic_digest;
mod md5;
mod sha256;
pub use self::command::Hash;
pub use self::md5::HashMd5;
pub use self::sha256::HashSha256;