pub fn hash(_algo: HashType, _data: &[u8]) -> Vec<u8>
Make use of the TLS implementation’s crypto hashing functions. Dummy will not work and will always return an empty vec.