Removed computeDigests from hashtestscontroller
Moved compareDigests to HashingLib
Moved generate function to HashingLib
rename compute avalanche and moved it into HashingLib