System\Security\Cryptography\HMACMD5.cs (7)
41this.HashName = HashAlgorithmNames.MD5;
42_hMacCommon = new HMACCommon(HashAlgorithmNames.MD5, key, BlockSize);
158bytesWritten = HashProviderDispenser.OneShotHashProvider.MacData(HashAlgorithmNames.MD5, key, source, destination);
195return LiteHashProvider.HmacStream(HashAlgorithmNames.MD5, key, source, destination);
218return LiteHashProvider.HmacStream(HashAlgorithmNames.MD5, HashSizeInBytes, key, source);
265return LiteHashProvider.HmacStreamAsync(HashAlgorithmNames.MD5, key.Span, source, cancellationToken);
332HashAlgorithmNames.MD5,
System\Security\Cryptography\HMACSHA1.cs (7)
40this.HashName = HashAlgorithmNames.SHA1;
41_hMacCommon = new HMACCommon(HashAlgorithmNames.SHA1, key, BlockSize);
160bytesWritten = HashProviderDispenser.OneShotHashProvider.MacData(HashAlgorithmNames.SHA1, key, source, destination);
196return LiteHashProvider.HmacStream(HashAlgorithmNames.SHA1, key, source, destination);
218return LiteHashProvider.HmacStream(HashAlgorithmNames.SHA1, HashSizeInBytes, key, source);
263return LiteHashProvider.HmacStreamAsync(HashAlgorithmNames.SHA1, key.Span, source, cancellationToken);
328HashAlgorithmNames.SHA1,
System\Security\Cryptography\HMACSHA256.cs (7)
39this.HashName = HashAlgorithmNames.SHA256;
40_hMacCommon = new HMACCommon(HashAlgorithmNames.SHA256, key, BlockSize);
152bytesWritten = HashProviderDispenser.OneShotHashProvider.MacData(HashAlgorithmNames.SHA256, key, source, destination);
188return LiteHashProvider.HmacStream(HashAlgorithmNames.SHA256, key, source, destination);
210return LiteHashProvider.HmacStream(HashAlgorithmNames.SHA256, HashSizeInBytes, key, source);
255return LiteHashProvider.HmacStreamAsync(HashAlgorithmNames.SHA256, key.Span, source, cancellationToken);
320HashAlgorithmNames.SHA256,
System\Security\Cryptography\HMACSHA3_256.cs (8)
63this.HashName = HashAlgorithmNames.SHA3_256;
64_hMacCommon = new HMACCommon(HashAlgorithmNames.SHA3_256, key, BlockSize);
77public static bool IsSupported { get; } = HashProviderDispenser.MacSupported(HashAlgorithmNames.SHA3_256);
190bytesWritten = HashProviderDispenser.OneShotHashProvider.MacData(HashAlgorithmNames.SHA3_256, key, source, destination);
227return LiteHashProvider.HmacStream(HashAlgorithmNames.SHA3_256, key, source, destination);
250return LiteHashProvider.HmacStream(HashAlgorithmNames.SHA3_256, HashSizeInBytes, key, source);
296return LiteHashProvider.HmacStreamAsync(HashAlgorithmNames.SHA3_256, key.Span, source, cancellationToken);
362HashAlgorithmNames.SHA3_256,
System\Security\Cryptography\HMACSHA3_384.cs (8)
63this.HashName = HashAlgorithmNames.SHA3_384;
64_hMacCommon = new HMACCommon(HashAlgorithmNames.SHA3_384, key, BlockSize);
77public static bool IsSupported { get; } = HashProviderDispenser.MacSupported(HashAlgorithmNames.SHA3_384);
190bytesWritten = HashProviderDispenser.OneShotHashProvider.MacData(HashAlgorithmNames.SHA3_384, key, source, destination);
227return LiteHashProvider.HmacStream(HashAlgorithmNames.SHA3_384, key, source, destination);
250return LiteHashProvider.HmacStream(HashAlgorithmNames.SHA3_384, HashSizeInBytes, key, source);
296return LiteHashProvider.HmacStreamAsync(HashAlgorithmNames.SHA3_384, key.Span, source, cancellationToken);
362HashAlgorithmNames.SHA3_384,
System\Security\Cryptography\HMACSHA3_512.cs (8)
63this.HashName = HashAlgorithmNames.SHA3_512;
64_hMacCommon = new HMACCommon(HashAlgorithmNames.SHA3_512, key, BlockSize);
77public static bool IsSupported { get; } = HashProviderDispenser.MacSupported(HashAlgorithmNames.SHA3_512);
190bytesWritten = HashProviderDispenser.OneShotHashProvider.MacData(HashAlgorithmNames.SHA3_512, key, source, destination);
227return LiteHashProvider.HmacStream(HashAlgorithmNames.SHA3_512, key, source, destination);
250return LiteHashProvider.HmacStream(HashAlgorithmNames.SHA3_512, HashSizeInBytes, key, source);
296return LiteHashProvider.HmacStreamAsync(HashAlgorithmNames.SHA3_512, key.Span, source, cancellationToken);
362HashAlgorithmNames.SHA3_512,
System\Security\Cryptography\HMACSHA384.cs (7)
39this.HashName = HashAlgorithmNames.SHA384;
40_hMacCommon = new HMACCommon(HashAlgorithmNames.SHA384, key, BlockSize);
169bytesWritten = HashProviderDispenser.OneShotHashProvider.MacData(HashAlgorithmNames.SHA384, key, source, destination);
205return LiteHashProvider.HmacStream(HashAlgorithmNames.SHA384, key, source, destination);
227return LiteHashProvider.HmacStream(HashAlgorithmNames.SHA384, HashSizeInBytes, key, source);
272return LiteHashProvider.HmacStreamAsync(HashAlgorithmNames.SHA384, key.Span, source, cancellationToken);
337HashAlgorithmNames.SHA384,
System\Security\Cryptography\HMACSHA512.cs (7)
39this.HashName = HashAlgorithmNames.SHA512;
40_hMacCommon = new HMACCommon(HashAlgorithmNames.SHA512, key, BlockSize);
166bytesWritten = HashProviderDispenser.OneShotHashProvider.MacData(HashAlgorithmNames.SHA512, key, source, destination);
202return LiteHashProvider.HmacStream(HashAlgorithmNames.SHA512, key, source, destination);
224return LiteHashProvider.HmacStream(HashAlgorithmNames.SHA512, HashSizeInBytes, key, source);
269return LiteHashProvider.HmacStreamAsync(HashAlgorithmNames.SHA512, key.Span, source, cancellationToken);
334HashAlgorithmNames.SHA512,
System\Security\Cryptography\Kmac128.cs (9)
56_kmacProvider = new ConcurrentSafeKmac(HashAlgorithmNames.KMAC128, key, customizationString, xof: false);
70public static bool IsSupported { get; } = HashProviderDispenser.KmacSupported(HashAlgorithmNames.KMAC128);
316return LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, outputLength, source, xof: false);
352return LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, outputLength, source, xof: false);
383LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, source, xof: false, destination);
430return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC128, key, source, xof: false, outputLength, customizationString, cancellationToken);
476return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC128, key.Span, source, xof: false, outputLength, customizationString.Span, cancellationToken);
516return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC128, key.Span, source, xof: false, destination, customizationString.Span, cancellationToken);
526HashAlgorithmNames.KMAC128,
System\Security\Cryptography\Kmac256.cs (9)
56_kmacProvider = new ConcurrentSafeKmac(HashAlgorithmNames.KMAC256, key, customizationString, xof: false);
70public static bool IsSupported { get; } = HashProviderDispenser.KmacSupported(HashAlgorithmNames.KMAC256);
316return LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC256, key, customizationString, outputLength, source, xof: false);
352return LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC256, key, customizationString, outputLength, source, xof: false);
383LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC256, key, customizationString, source, xof: false, destination);
430return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC256, key, source, xof: false, outputLength, customizationString, cancellationToken);
476return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC256, key.Span, source, xof: false, outputLength, customizationString.Span, cancellationToken);
516return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC256, key.Span, source, xof: false, destination, customizationString.Span, cancellationToken);
526HashAlgorithmNames.KMAC256,
System\Security\Cryptography\KmacXof128.cs (9)
56_kmacProvider = new ConcurrentSafeKmac(HashAlgorithmNames.KMAC128, key, customizationString, xof: true);
70public static bool IsSupported { get; } = HashProviderDispenser.KmacSupported(HashAlgorithmNames.KMAC128);
316return LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, outputLength, source, xof: true);
352return LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, outputLength, source, xof: true);
383LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, source, xof: true, destination);
430return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC128, key, source, xof: true, outputLength, customizationString, cancellationToken);
476return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC128, key.Span, source, xof: true, outputLength, customizationString.Span, cancellationToken);
516return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC128, key.Span, source, xof: true, destination, customizationString.Span, cancellationToken);
526HashAlgorithmNames.KMAC128,
System\Security\Cryptography\KmacXof256.cs (9)
56_kmacProvider = new ConcurrentSafeKmac(HashAlgorithmNames.KMAC256, key, customizationString, xof: true);
70public static bool IsSupported { get; } = HashProviderDispenser.KmacSupported(HashAlgorithmNames.KMAC256);
316return LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC256, key, customizationString, outputLength, source, xof: true);
352return LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC256, key, customizationString, outputLength, source, xof: true);
383LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC256, key, customizationString, source, xof: true, destination);
430return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC256, key, source, xof: true, outputLength, customizationString, cancellationToken);
476return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC256, key.Span, source, xof: true, outputLength, customizationString.Span, cancellationToken);
516return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC256, key.Span, source, xof: true, destination, customizationString.Span, cancellationToken);
526HashAlgorithmNames.KMAC256,