private bool IsSupportedHashAlgorithm(string algorithm, object[] args, out HashAlgorithmDescriptor descriptor) { if (args.Length == 0) { return(IsSupportedHashAlgorithm(algorithm, out descriptor)); } descriptor = null; return(false); }
private bool IsSupportedHashAlgorithm(string algorithm, out HashAlgorithmDescriptor descriptor) => _options.SupportedHashAlgorithms.TryGetValue(algorithm, out descriptor);