Calculates the check-sum hash
value to be checked
optional salt value
the double hash
See Implementation
Calculates the check-sum hash