private static byte[] ComputeSha1(byte[] data) { using (SHA1 sha1 = SHA1.Create()) { return sha1.ComputeHash(data); } }