public byte[] ComputeMD5Hash(byte[] data) { var hashed = new MD5Managed().ComputeHash(data); return hashed; }