making Hash algos pluggable