picca/src/bin/jh512sum.rs

10 lines
283 B
Rust
Raw Normal View History

2025-08-14 22:08:40 -06:00
use picca::core::hashers::hash_jh512;
#[quit::main]
fn main() {
let args = picca::Args::parse();
let algorithm = env!("CARGO_BIN_NAME").replace("sum", "");
let hasher = hash_jh512 as fn(Option<File>, Option<String>) -> String;
picca::main!(args, algorithm, true, hasher);
}