private static SHA1 GetSHA1Provider() { #if CORECLR return SHA1.Create(); #else return new SHA1CryptoServiceProvider(); #endif }