You're absolutely right. We have a ```HashAlgorithm``` interface but we somehow have never documented it. I'll file a separate issue.