private static Exception HashAlgorithmNameNullOrEmpty() { return new ArgumentException(SR.Cryptography_HashAlgorithmNameNullOrEmpty, "hashAlgorithm"); } }