56 references to HashProviderDispenser
System.Security.Cryptography (56)
src\libraries\Common\src\System\Security\Cryptography\RSAOpenSsl.cs (1)
846!HashProviderDispenser.HashSupported(name))
System\Security\Cryptography\CryptographicOperations.cs (7)
122int written = HashProviderDispenser.OneShotHashProvider.HashData(hashAlgorithm.Name, source, buffer); 196bytesWritten = HashProviderDispenser.OneShotHashProvider.HashData(hashAlgorithm.Name, source, destination); 426int written = HashProviderDispenser.OneShotHashProvider.MacData(hashAlgorithm.Name, key, source, buffer); 511bytesWritten = HashProviderDispenser.OneShotHashProvider.MacData(hashAlgorithm.Name, key, source, destination); 786if (!HashProviderDispenser.HashSupported(HashAlgorithmNames.SHA3_256)) 793if (!HashProviderDispenser.HashSupported(HashAlgorithmNames.SHA3_384)) 800if (!HashProviderDispenser.HashSupported(HashAlgorithmNames.SHA3_512))
System\Security\Cryptography\HMACCommon.cs (1)
108_hMacProvider = HashProviderDispenser.CreateMacProvider(_hashAlgorithmId, key);
System\Security\Cryptography\HMACMD5.cs (1)
158bytesWritten = HashProviderDispenser.OneShotHashProvider.MacData(HashAlgorithmNames.MD5, key, source, destination);
System\Security\Cryptography\HMACSHA1.cs (1)
160bytesWritten = HashProviderDispenser.OneShotHashProvider.MacData(HashAlgorithmNames.SHA1, key, source, destination);
System\Security\Cryptography\HMACSHA256.cs (1)
152bytesWritten = HashProviderDispenser.OneShotHashProvider.MacData(HashAlgorithmNames.SHA256, key, source, destination);
System\Security\Cryptography\HMACSHA3_256.cs (2)
77public static bool IsSupported { get; } = HashProviderDispenser.MacSupported(HashAlgorithmNames.SHA3_256); 190bytesWritten = HashProviderDispenser.OneShotHashProvider.MacData(HashAlgorithmNames.SHA3_256, key, source, destination);
System\Security\Cryptography\HMACSHA3_384.cs (2)
77public static bool IsSupported { get; } = HashProviderDispenser.MacSupported(HashAlgorithmNames.SHA3_384); 190bytesWritten = HashProviderDispenser.OneShotHashProvider.MacData(HashAlgorithmNames.SHA3_384, key, source, destination);
System\Security\Cryptography\HMACSHA3_512.cs (2)
77public static bool IsSupported { get; } = HashProviderDispenser.MacSupported(HashAlgorithmNames.SHA3_512); 190bytesWritten = HashProviderDispenser.OneShotHashProvider.MacData(HashAlgorithmNames.SHA3_512, key, source, destination);
System\Security\Cryptography\HMACSHA384.cs (1)
169bytesWritten = HashProviderDispenser.OneShotHashProvider.MacData(HashAlgorithmNames.SHA384, key, source, destination);
System\Security\Cryptography\HMACSHA512.cs (1)
166bytesWritten = HashProviderDispenser.OneShotHashProvider.MacData(HashAlgorithmNames.SHA512, key, source, destination);
System\Security\Cryptography\IncrementalHash.cs (1)
328return new IncrementalHash(hashAlgorithm, HashProviderDispenser.CreateHashProvider(hashAlgorithm.Name));
System\Security\Cryptography\Kmac128.cs (2)
70public static bool IsSupported { get; } = HashProviderDispenser.KmacSupported(HashAlgorithmNames.KMAC128); 525HashProviderDispenser.OneShotHashProvider.KmacData(
System\Security\Cryptography\Kmac256.cs (2)
70public static bool IsSupported { get; } = HashProviderDispenser.KmacSupported(HashAlgorithmNames.KMAC256); 525HashProviderDispenser.OneShotHashProvider.KmacData(
System\Security\Cryptography\KmacXof128.cs (2)
70public static bool IsSupported { get; } = HashProviderDispenser.KmacSupported(HashAlgorithmNames.KMAC128); 525HashProviderDispenser.OneShotHashProvider.KmacData(
System\Security\Cryptography\KmacXof256.cs (2)
70public static bool IsSupported { get; } = HashProviderDispenser.KmacSupported(HashAlgorithmNames.KMAC256); 525HashProviderDispenser.OneShotHashProvider.KmacData(
System\Security\Cryptography\MD5.cs (2)
116bytesWritten = HashProviderDispenser.OneShotHashProvider.HashData(HashAlgorithmNames.MD5, source, destination); 253_hashProvider = HashProviderDispenser.CreateHashProvider(HashAlgorithmNames.MD5);
System\Security\Cryptography\SHA1.cs (2)
111bytesWritten = HashProviderDispenser.OneShotHashProvider.HashData(HashAlgorithmNames.SHA1, source, destination); 244_hashProvider = HashProviderDispenser.CreateHashProvider(HashAlgorithmNames.SHA1);
System\Security\Cryptography\SHA1Managed.cs (1)
18_hashProvider = HashProviderDispenser.CreateHashProvider(HashAlgorithmNames.SHA1);
System\Security\Cryptography\SHA256.cs (2)
111bytesWritten = HashProviderDispenser.OneShotHashProvider.HashData(HashAlgorithmNames.SHA256, source, destination); 244_hashProvider = HashProviderDispenser.CreateHashProvider(HashAlgorithmNames.SHA256);
System\Security\Cryptography\SHA256Managed.cs (1)
18_hashProvider = HashProviderDispenser.CreateHashProvider(HashAlgorithmNames.SHA256);
System\Security\Cryptography\SHA3_256.cs (3)
45public static bool IsSupported { get; } = HashProviderDispenser.HashSupported(HashAlgorithmNames.SHA3_256); 144bytesWritten = HashProviderDispenser.OneShotHashProvider.HashData(HashAlgorithmNames.SHA3_256, source, destination); 299_hashProvider = HashProviderDispenser.CreateHashProvider(HashAlgorithmNames.SHA3_256);
System\Security\Cryptography\SHA3_384.cs (3)
45public static bool IsSupported { get; } = HashProviderDispenser.HashSupported(HashAlgorithmNames.SHA3_384); 145bytesWritten = HashProviderDispenser.OneShotHashProvider.HashData(HashAlgorithmNames.SHA3_384, source, destination); 300_hashProvider = HashProviderDispenser.CreateHashProvider(HashAlgorithmNames.SHA3_384);
System\Security\Cryptography\SHA3_512.cs (3)
45public static bool IsSupported { get; } = HashProviderDispenser.HashSupported(HashAlgorithmNames.SHA3_512); 144bytesWritten = HashProviderDispenser.OneShotHashProvider.HashData(HashAlgorithmNames.SHA3_512, source, destination); 299_hashProvider = HashProviderDispenser.CreateHashProvider(HashAlgorithmNames.SHA3_512);
System\Security\Cryptography\SHA384.cs (2)
110bytesWritten = HashProviderDispenser.OneShotHashProvider.HashData(HashAlgorithmNames.SHA384, source, destination); 243_hashProvider = HashProviderDispenser.CreateHashProvider(HashAlgorithmNames.SHA384);
System\Security\Cryptography\SHA384Managed.cs (1)
18_hashProvider = HashProviderDispenser.CreateHashProvider(HashAlgorithmNames.SHA384);
System\Security\Cryptography\SHA512.cs (2)
110bytesWritten = HashProviderDispenser.OneShotHashProvider.HashData(HashAlgorithmNames.SHA512, source, destination); 243_hashProvider = HashProviderDispenser.CreateHashProvider(HashAlgorithmNames.SHA512);
System\Security\Cryptography\SHA512Managed.cs (1)
18_hashProvider = HashProviderDispenser.CreateHashProvider(HashAlgorithmNames.SHA512);
System\Security\Cryptography\Shake128.cs (2)
51public static bool IsSupported { get; } = HashProviderDispenser.HashSupported(HashAlgorithmId); 472HashProviderDispenser.OneShotHashProvider.HashDataXof(HashAlgorithmId, source, destination);
System\Security\Cryptography\Shake256.cs (2)
51public static bool IsSupported { get; } = HashProviderDispenser.HashSupported(HashAlgorithmId); 472HashProviderDispenser.OneShotHashProvider.HashDataXof(HashAlgorithmId, source, destination);