wrappers around various cryptographic hash functions