keccak_cli_tool 0.1.1

Simple Keccak256 hash CLI tool
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! # Keccak CLI Tool
//!
//! `keccak_cli_tool` binary crate performs a keccak256 hash on any standard input
//! arguments, either as a string or a file if it exists

use std::env;
use keccak_cli_tool::hash_logic;

fn main() {
    let mut args: Vec<String> = env::args().collect();
    args.remove(0);     // Remove the first argument, which is the name of the program
    hash_logic(args);
}