Provide a way to accept user defined hash functions where it is possible (ECDH, schnorr)
Provide a way to accept user defined hash functions where it is possible (ECDH, schnorr)