public static byte[] SHA1 (byte[] Data) { var Provider = new CryptoProviderSHA1(); var Result = Provider.Process(Data); return Result.Integrity; }