use sfhash::digest; use std::env; fn main() { let args: Vec = env::args().collect(); if args.len() < 2 { println!("Please provide a string to hash"); } else { let hash = digest(args[1].as_bytes()); println!("Result: {}", hash); } }