Miserlou / omnihash

Hash files, strings, input streams and network resources in various common algorithms simultaneously
https://github.com/Miserlou/omnihash
MIT License
252 stars 23 forks source link

Specify specific hashing algorithms #14

Closed jgstew closed 7 years ago

jgstew commented 7 years ago

it would be useful to limit the output / computation to a particular set of hashing algorithms.

For instance, I might only want: MD5, SHA1, SHA256

If there was an option to provide a list of digesters, that would be useful.

Miserlou commented 7 years ago

+1, already discussed and accepted as a feature request here: https://github.com/Miserlou/omnihash/issues/10

Again, feel free to send a PR!

jgstew commented 7 years ago

Now that I read through that issue, I do see that it is in there. It wasn't obvious to me from the name of that issue that it was about something similar.

I'll send a PR if I end up going down this path. I filed the issue because I'm thinking about it.

Also, I agree that most things should be case insensitive by default. ( switches, specifying algos)

jgstew commented 7 years ago

neat!