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)
231
return
LiteHashProvider
.HashStream(hashAlgorithm.Name, hashSizeInBytes, source);
269
int written =
LiteHashProvider
.HashStream(hashAlgorithm.Name, source, destination);
319
return
LiteHashProvider
.HashStreamAsync(
366
return
LiteHashProvider
.HashStreamAsync(hashAlgorithm.Name, source, cancellationToken);
580
return
LiteHashProvider
.HmacStream(hashAlgorithm.Name, hashSizeInBytes, key, source);
619
return
LiteHashProvider
.HmacStream(hashAlgorithm.Name, key, source, destination);
711
return
LiteHashProvider
.HmacStreamAsync(hashAlgorithm.Name, key.Span, source, destination, cancellationToken);
756
return
LiteHashProvider
.HmacStreamAsync(hashAlgorithm.Name, key.Span, source, cancellationToken);
905
int written =
LiteHashProvider
.HmacStream(hashAlgorithm.Name, key, source, macBuffer);
1004
int 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)
96
return
LiteHashProvider
.HmacStream(THMAC.HashAlgorithmName, key, source, destination);
107
return
LiteHashProvider
.HmacStream(THMAC.HashAlgorithmName, THMAC.HashSizeInBytes, key, source);
128
return
LiteHashProvider
.HmacStreamAsync(THMAC.HashAlgorithmName, key.Span, source, cancellationToken);
153
return
LiteHashProvider
.HmacStreamAsync(
182
int written =
LiteHashProvider
.HmacStream(THMAC.HashAlgorithmName, key, source, mac);
226
int written = await
LiteHashProvider
.HmacStreamAsync(
System\Security\Cryptography\Kmac128.cs (6)
316
return
LiteHashProvider
.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, outputLength, source, xof: false);
352
return
LiteHashProvider
.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, outputLength, source, xof: false);
383
LiteHashProvider
.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, source, xof: false, destination);
430
return
LiteHashProvider
.KmacStreamAsync(HashAlgorithmNames.KMAC128, key, source, xof: false, outputLength, customizationString, cancellationToken);
476
return
LiteHashProvider
.KmacStreamAsync(HashAlgorithmNames.KMAC128, key.Span, source, xof: false, outputLength, customizationString.Span, cancellationToken);
516
return
LiteHashProvider
.KmacStreamAsync(HashAlgorithmNames.KMAC128, key.Span, source, xof: false, destination, customizationString.Span, cancellationToken);
System\Security\Cryptography\Kmac256.cs (6)
316
return
LiteHashProvider
.KmacStream(HashAlgorithmNames.KMAC256, key, customizationString, outputLength, source, xof: false);
352
return
LiteHashProvider
.KmacStream(HashAlgorithmNames.KMAC256, key, customizationString, outputLength, source, xof: false);
383
LiteHashProvider
.KmacStream(HashAlgorithmNames.KMAC256, key, customizationString, source, xof: false, destination);
430
return
LiteHashProvider
.KmacStreamAsync(HashAlgorithmNames.KMAC256, key, source, xof: false, outputLength, customizationString, cancellationToken);
476
return
LiteHashProvider
.KmacStreamAsync(HashAlgorithmNames.KMAC256, key.Span, source, xof: false, outputLength, customizationString.Span, cancellationToken);
516
return
LiteHashProvider
.KmacStreamAsync(HashAlgorithmNames.KMAC256, key.Span, source, xof: false, destination, customizationString.Span, cancellationToken);
System\Security\Cryptography\KmacXof128.cs (6)
316
return
LiteHashProvider
.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, outputLength, source, xof: true);
352
return
LiteHashProvider
.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, outputLength, source, xof: true);
383
LiteHashProvider
.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, source, xof: true, destination);
430
return
LiteHashProvider
.KmacStreamAsync(HashAlgorithmNames.KMAC128, key, source, xof: true, outputLength, customizationString, cancellationToken);
476
return
LiteHashProvider
.KmacStreamAsync(HashAlgorithmNames.KMAC128, key.Span, source, xof: true, outputLength, customizationString.Span, cancellationToken);
516
return
LiteHashProvider
.KmacStreamAsync(HashAlgorithmNames.KMAC128, key.Span, source, xof: true, destination, customizationString.Span, cancellationToken);
System\Security\Cryptography\KmacXof256.cs (6)
316
return
LiteHashProvider
.KmacStream(HashAlgorithmNames.KMAC256, key, customizationString, outputLength, source, xof: true);
352
return
LiteHashProvider
.KmacStream(HashAlgorithmNames.KMAC256, key, customizationString, outputLength, source, xof: true);
383
LiteHashProvider
.KmacStream(HashAlgorithmNames.KMAC256, key, customizationString, source, xof: true, destination);
430
return
LiteHashProvider
.KmacStreamAsync(HashAlgorithmNames.KMAC256, key, source, xof: true, outputLength, customizationString, cancellationToken);
476
return
LiteHashProvider
.KmacStreamAsync(HashAlgorithmNames.KMAC256, key.Span, source, xof: true, outputLength, customizationString.Span, cancellationToken);
516
return
LiteHashProvider
.KmacStreamAsync(HashAlgorithmNames.KMAC256, key.Span, source, xof: true, destination, customizationString.Span, cancellationToken);
System\Security\Cryptography\MD5.cs (4)
152
return
LiteHashProvider
.HashStream(HashAlgorithmNames.MD5, source, destination);
174
return
LiteHashProvider
.HashStream(HashAlgorithmNames.MD5, HashSizeInBytes, source);
200
return
LiteHashProvider
.HashStreamAsync(HashAlgorithmNames.MD5, source, cancellationToken);
240
return
LiteHashProvider
.HashStreamAsync(
System\Security\Cryptography\SHA1.cs (4)
146
return
LiteHashProvider
.HashStream(HashAlgorithmNames.SHA1, source, destination);
167
return
LiteHashProvider
.HashStream(HashAlgorithmNames.SHA1, HashSizeInBytes, source);
192
return
LiteHashProvider
.HashStreamAsync(HashAlgorithmNames.SHA1, source, cancellationToken);
231
return
LiteHashProvider
.HashStreamAsync(
System\Security\Cryptography\SHA256.cs (4)
146
return
LiteHashProvider
.HashStream(HashAlgorithmNames.SHA256, source, destination);
167
return
LiteHashProvider
.HashStream(HashAlgorithmNames.SHA256, HashSizeInBytes, source);
192
return
LiteHashProvider
.HashStreamAsync(HashAlgorithmNames.SHA256, source, cancellationToken);
231
return
LiteHashProvider
.HashStreamAsync(
System\Security\Cryptography\SHA3_256.cs (4)
183
return
LiteHashProvider
.HashStream(HashAlgorithmNames.SHA3_256, source, destination);
208
return
LiteHashProvider
.HashStream(HashAlgorithmNames.SHA3_256, HashSizeInBytes, source);
237
return
LiteHashProvider
.HashStreamAsync(HashAlgorithmNames.SHA3_256, source, cancellationToken);
280
return
LiteHashProvider
.HashStreamAsync(
System\Security\Cryptography\SHA3_384.cs (4)
184
return
LiteHashProvider
.HashStream(HashAlgorithmNames.SHA3_384, source, destination);
209
return
LiteHashProvider
.HashStream(HashAlgorithmNames.SHA3_384, HashSizeInBytes, source);
238
return
LiteHashProvider
.HashStreamAsync(HashAlgorithmNames.SHA3_384, source, cancellationToken);
281
return
LiteHashProvider
.HashStreamAsync(
System\Security\Cryptography\SHA3_512.cs (4)
183
return
LiteHashProvider
.HashStream(HashAlgorithmNames.SHA3_512, source, destination);
208
return
LiteHashProvider
.HashStream(HashAlgorithmNames.SHA3_512, HashSizeInBytes, source);
237
return
LiteHashProvider
.HashStreamAsync(HashAlgorithmNames.SHA3_512, source, cancellationToken);
280
return
LiteHashProvider
.HashStreamAsync(
System\Security\Cryptography\SHA384.cs (4)
145
return
LiteHashProvider
.HashStream(HashAlgorithmNames.SHA384, source, destination);
166
return
LiteHashProvider
.HashStream(HashAlgorithmNames.SHA384, HashSizeInBytes, source);
191
return
LiteHashProvider
.HashStreamAsync(HashAlgorithmNames.SHA384, source, cancellationToken);
230
return
LiteHashProvider
.HashStreamAsync(
System\Security\Cryptography\SHA512.cs (4)
145
return
LiteHashProvider
.HashStream(HashAlgorithmNames.SHA512, source, destination);
166
return
LiteHashProvider
.HashStream(HashAlgorithmNames.SHA512, HashSizeInBytes, source);
191
return
LiteHashProvider
.HashStreamAsync(HashAlgorithmNames.SHA512, source, cancellationToken);
230
return
LiteHashProvider
.HashStreamAsync(
System\Security\Cryptography\Shake128.cs (5)
37
_hashProvider =
LiteHashProvider
.CreateXof(HashAlgorithmId);
361
return
LiteHashProvider
.XofStream(HashAlgorithmId, outputLength, source);
389
LiteHashProvider
.XofStream(HashAlgorithmId, source, destination);
425
return
LiteHashProvider
.XofStreamAsync(HashAlgorithmId, source, destination, cancellationToken);
467
return
LiteHashProvider
.XofStreamAsync(HashAlgorithmId, outputLength, source, cancellationToken);
System\Security\Cryptography\Shake256.cs (5)
37
_hashProvider =
LiteHashProvider
.CreateXof(HashAlgorithmId);
361
return
LiteHashProvider
.XofStream(HashAlgorithmId, outputLength, source);
389
LiteHashProvider
.XofStream(HashAlgorithmId, source, destination);
425
return
LiteHashProvider
.XofStreamAsync(HashAlgorithmId, source, destination, cancellationToken);
467
return
LiteHashProvider
.XofStreamAsync(HashAlgorithmId, outputLength, source, cancellationToken);