7[UnsupportedOSPlatform(
"browser")]
20 protected sealed override void HashCore(
byte[]
array,
int ibStart,
int cbSize)
45 protected sealed override void Dispose(
bool disposing)
48 base.Dispose(disposing);
62 [RequiresUnreferencedCode(
"The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.")]
79 byte[]
array =
GC.AllocateUninitializedArray<
byte>(16);
static int HashData(string hashAlgorithmId, ReadOnlySpan< byte > source, Span< byte > destination)
static HashProvider CreateHashProvider(string hashAlgorithmId)
void AppendHashData(byte[] data, int offset, int count)
bool TryFinalizeHashAndReset(Span< byte > destination, out int bytesWritten)
int FinalizeHashAndReset(Span< byte > destination)
static string Argument_DestinationTooShort
static ? object CreateFromName(string name, params object?[]? args)
override bool TryHashFinal(Span< byte > destination, out int bytesWritten)
override void HashCore(byte[] array, int ibStart, int cbSize)
override void Dispose(bool disposing)
override void HashCore(ReadOnlySpan< byte > source)
readonly HashProvider _hashProvider
override byte[] HashFinal()
override void Initialize()
static int HashData(ReadOnlySpan< byte > source, Span< byte > destination)
static byte[] HashData(ReadOnlySpan< byte > source)
static new? MD5 Create(string algName)
static byte[] HashData(byte[] source)
static bool TryHashData(ReadOnlySpan< byte > source, Span< byte > destination, out int bytesWritten)