Пример #1
0
 public byte[] ComputeMD5Hash(Stream stream)
 {
     using (var wrapper = new HashingWrapperMD5())
     {
         return(wrapper.ComputeHash(stream));
     }
 }
Пример #2
0
 public byte[] ComputeMD5Hash(byte[] data)
 {
     using (var wrapper = new HashingWrapperMD5())
     {
         return(wrapper.ComputeHash(data));
     }
 }