- Jul 7, 2008
I just upgraded to v21 and I appreciate the new hash function but I think it would benefit from three additions:
- Add a switch for lowercase hex output. Most utilities (including Windows own built-in hash generator) and websites that provide hash values for verification list them in lowercase making comparison easier. I also find lowercase hex values easier to read.
- Similarly, add a switch that displays the output in what I would describe as linux-standard format: the (lowercase) hash value + 2 spaces + the filename. I have been using aliases to do this such as:
alias sha256=do v in %$ (echo %@lower[%@sha256["%v"]] %v)
- A switch that takes a hash value (or list of hash values) and compares it to the generated value(s) to automatically validate known hashes.