109 references to LiteHashProvider
System.Security.Cryptography (109)
System\Security\Cryptography\ConcurrentSafeKmac.cs (1)
15_liteKmac = LiteHashProvider.CreateKmac(algorithmId, key, customizationString, xof);
System\Security\Cryptography\CryptographicOperations.cs (8)
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);
System\Security\Cryptography\HashProviderDispenser.Unix.cs (2)
94_liteHash = LiteHashProvider.CreateHash(hashAlgorithmId); 170_liteHmac = LiteHashProvider.CreateHmac(hashAlgorithmId, key);
System\Security\Cryptography\HMACMD5.cs (4)
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); 331return LiteHashProvider.HmacStreamAsync(
System\Security\Cryptography\HMACSHA1.cs (4)
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); 327return LiteHashProvider.HmacStreamAsync(
System\Security\Cryptography\HMACSHA256.cs (4)
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); 319return LiteHashProvider.HmacStreamAsync(
System\Security\Cryptography\HMACSHA3_256.cs (4)
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); 361return LiteHashProvider.HmacStreamAsync(
System\Security\Cryptography\HMACSHA3_384.cs (4)
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); 361return LiteHashProvider.HmacStreamAsync(
System\Security\Cryptography\HMACSHA3_512.cs (4)
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); 361return LiteHashProvider.HmacStreamAsync(
System\Security\Cryptography\HMACSHA384.cs (4)
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); 336return LiteHashProvider.HmacStreamAsync(
System\Security\Cryptography\HMACSHA512.cs (4)
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); 333return 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);