fn generic_hash_256<D: Digest>(message: &[u8]) -> Result<[u8; 32], String>
Does a generic hash of the inputs returning the resulting 32 bytes separately.