public byte[] ComputeMD5Hash(Stream stream) { using (var wrapper = new HashingWrapperMD5()) { return(wrapper.ComputeHash(stream)); } }
public byte[] ComputeMD5Hash(byte[] data) { using (var wrapper = new HashingWrapperMD5()) { return(wrapper.ComputeHash(data)); } }