1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# System.Security.Cryptography
``` diff
namespace System.Security.Cryptography {
public sealed class DSACng : DSA {
- protected override byte[] HashData(byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm);
- protected override byte[] HashData(Stream data, HashAlgorithmName hashAlgorithm);
- protected override bool TryHashData(ReadOnlySpan<byte> source, Span<byte> destination, HashAlgorithmName hashAlgorithm, out int bytesWritten);
}
public sealed class ECDsaCng : ECDsa {
- protected override byte[] HashData(byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm);
- protected override byte[] HashData(Stream data, HashAlgorithmName hashAlgorithm);
- protected override bool TryHashData(ReadOnlySpan<byte> source, Span<byte> destination, HashAlgorithmName hashAlgorithm, out int bytesWritten);
}
public sealed class RSACng : RSA {
- protected override byte[] HashData(byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm);
- protected override byte[] HashData(Stream data, HashAlgorithmName hashAlgorithm);
- protected override bool TryHashData(ReadOnlySpan<byte> data, Span<byte> destination, HashAlgorithmName hashAlgorithm, out int bytesWritten);
}
public sealed class RSACryptoServiceProvider : RSA, ICspAsymmetricAlgorithm {
- protected override byte[] HashData(byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm);
- protected override byte[] HashData(Stream data, HashAlgorithmName hashAlgorithm);
}
}
```
|