85 references to LiteHashProvider
System.Security.Cryptography (85)
System\Security\Cryptography\ConcurrentSafeKmac.cs (1)
15_liteKmac = LiteHashProvider.CreateKmac(algorithmId, key, customizationString, xof);
System\Security\Cryptography\CryptographicOperations.cs (10)
231return LiteHashProvider.HashStream(hashAlgorithm.Name, hashSizeInBytes, source); 269int written = LiteHashProvider.HashStream(hashAlgorithm.Name, source, destination); 319return LiteHashProvider.HashStreamAsync( 366return LiteHashProvider.HashStreamAsync(hashAlgorithm.Name, source, cancellationToken); 580return LiteHashProvider.HmacStream(hashAlgorithm.Name, hashSizeInBytes, key, source); 619return LiteHashProvider.HmacStream(hashAlgorithm.Name, key, source, destination); 711return LiteHashProvider.HmacStreamAsync(hashAlgorithm.Name, key.Span, source, destination, cancellationToken); 756return LiteHashProvider.HmacStreamAsync(hashAlgorithm.Name, key.Span, source, cancellationToken); 905int written = LiteHashProvider.HmacStream(hashAlgorithm.Name, key, source, macBuffer); 1004int written = await LiteHashProvider.HmacStreamAsync(
System\Security\Cryptography\HashProviderDispenser.Unix.cs (2)
94_liteHash = LiteHashProvider.CreateHash(hashAlgorithmId); 170_liteHmac = LiteHashProvider.CreateHmac(hashAlgorithmId, key);
System\Security\Cryptography\HMACStatic.cs (6)
96return LiteHashProvider.HmacStream(THMAC.HashAlgorithmName, key, source, destination); 107return LiteHashProvider.HmacStream(THMAC.HashAlgorithmName, THMAC.HashSizeInBytes, key, source); 128return LiteHashProvider.HmacStreamAsync(THMAC.HashAlgorithmName, key.Span, source, cancellationToken); 153return LiteHashProvider.HmacStreamAsync( 182int written = LiteHashProvider.HmacStream(THMAC.HashAlgorithmName, key, source, mac); 226int written = await LiteHashProvider.HmacStreamAsync(
System\Security\Cryptography\Kmac128.cs (6)
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);
System\Security\Cryptography\Kmac256.cs (6)
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);
System\Security\Cryptography\KmacXof128.cs (6)
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);
System\Security\Cryptography\KmacXof256.cs (6)
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);
System\Security\Cryptography\MD5.cs (4)
152return LiteHashProvider.HashStream(HashAlgorithmNames.MD5, source, destination); 174return LiteHashProvider.HashStream(HashAlgorithmNames.MD5, HashSizeInBytes, source); 200return LiteHashProvider.HashStreamAsync(HashAlgorithmNames.MD5, source, cancellationToken); 240return LiteHashProvider.HashStreamAsync(
System\Security\Cryptography\SHA1.cs (4)
146return LiteHashProvider.HashStream(HashAlgorithmNames.SHA1, source, destination); 167return LiteHashProvider.HashStream(HashAlgorithmNames.SHA1, HashSizeInBytes, source); 192return LiteHashProvider.HashStreamAsync(HashAlgorithmNames.SHA1, source, cancellationToken); 231return LiteHashProvider.HashStreamAsync(
System\Security\Cryptography\SHA256.cs (4)
146return LiteHashProvider.HashStream(HashAlgorithmNames.SHA256, source, destination); 167return LiteHashProvider.HashStream(HashAlgorithmNames.SHA256, HashSizeInBytes, source); 192return LiteHashProvider.HashStreamAsync(HashAlgorithmNames.SHA256, source, cancellationToken); 231return LiteHashProvider.HashStreamAsync(
System\Security\Cryptography\SHA3_256.cs (4)
183return LiteHashProvider.HashStream(HashAlgorithmNames.SHA3_256, source, destination); 208return LiteHashProvider.HashStream(HashAlgorithmNames.SHA3_256, HashSizeInBytes, source); 237return LiteHashProvider.HashStreamAsync(HashAlgorithmNames.SHA3_256, source, cancellationToken); 280return LiteHashProvider.HashStreamAsync(
System\Security\Cryptography\SHA3_384.cs (4)
184return LiteHashProvider.HashStream(HashAlgorithmNames.SHA3_384, source, destination); 209return LiteHashProvider.HashStream(HashAlgorithmNames.SHA3_384, HashSizeInBytes, source); 238return LiteHashProvider.HashStreamAsync(HashAlgorithmNames.SHA3_384, source, cancellationToken); 281return LiteHashProvider.HashStreamAsync(
System\Security\Cryptography\SHA3_512.cs (4)
183return LiteHashProvider.HashStream(HashAlgorithmNames.SHA3_512, source, destination); 208return LiteHashProvider.HashStream(HashAlgorithmNames.SHA3_512, HashSizeInBytes, source); 237return LiteHashProvider.HashStreamAsync(HashAlgorithmNames.SHA3_512, source, cancellationToken); 280return LiteHashProvider.HashStreamAsync(
System\Security\Cryptography\SHA384.cs (4)
145return LiteHashProvider.HashStream(HashAlgorithmNames.SHA384, source, destination); 166return LiteHashProvider.HashStream(HashAlgorithmNames.SHA384, HashSizeInBytes, source); 191return LiteHashProvider.HashStreamAsync(HashAlgorithmNames.SHA384, source, cancellationToken); 230return LiteHashProvider.HashStreamAsync(
System\Security\Cryptography\SHA512.cs (4)
145return LiteHashProvider.HashStream(HashAlgorithmNames.SHA512, source, destination); 166return LiteHashProvider.HashStream(HashAlgorithmNames.SHA512, HashSizeInBytes, source); 191return LiteHashProvider.HashStreamAsync(HashAlgorithmNames.SHA512, source, cancellationToken); 230return LiteHashProvider.HashStreamAsync(
System\Security\Cryptography\Shake128.cs (5)
37_hashProvider = LiteHashProvider.CreateXof(HashAlgorithmId); 361return LiteHashProvider.XofStream(HashAlgorithmId, outputLength, source); 389LiteHashProvider.XofStream(HashAlgorithmId, source, destination); 425return LiteHashProvider.XofStreamAsync(HashAlgorithmId, source, destination, cancellationToken); 467return LiteHashProvider.XofStreamAsync(HashAlgorithmId, outputLength, source, cancellationToken);
System\Security\Cryptography\Shake256.cs (5)
37_hashProvider = LiteHashProvider.CreateXof(HashAlgorithmId); 361return LiteHashProvider.XofStream(HashAlgorithmId, outputLength, source); 389LiteHashProvider.XofStream(HashAlgorithmId, source, destination); 425return LiteHashProvider.XofStreamAsync(HashAlgorithmId, source, destination, cancellationToken); 467return LiteHashProvider.XofStreamAsync(HashAlgorithmId, outputLength, source, cancellationToken);