brandondahler / Data.HashFunction

C# library to create a common interface to non-cryptographic hash functions.
MIT License
255 stars 42 forks source link

Better separate hash functions that aren't variable size into distinct types. #49

Open brandondahler opened 5 years ago

brandondahler commented 5 years ago

Hash functions that have effectively different algorithms should be separate classes instead of being configurations of a general class. This doesn't necessarily mean the separate classes can't derive from a common base.