Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ TryHashData()

virtual bool System.Security.Cryptography.DSA.TryHashData ( ReadOnlySpan< byte > data,
Span< byte > destination,
HashAlgorithmName hashAlgorithm,
out int bytesWritten )
inlineprotectedvirtualinherited

Reimplemented in System.Security.Cryptography.DSAImplementation.DSACng, and System.Security.Cryptography.DSACng.

Definition at line 331 of file DSA.cs.

332 {
333 byte[] array = HashSpanToArray(data, hashAlgorithm);
335 }
static bool TryCopyToDestination(this ReadOnlySpan< byte > source, Span< byte > destination, out int bytesWritten)
Definition Helpers.cs:62
byte[] HashSpanToArray(ReadOnlySpan< byte > data, HashAlgorithmName hashAlgorithm)
Definition DSA.cs:498

References System.array, System.destination, System.Security.Cryptography.DSA.HashSpanToArray(), and Internal.Cryptography.Helpers.TryCopyToDestination().

Referenced by System.Security.Cryptography.DSA.HashSpanToTmp(), and System.Security.Cryptography.DSA.TrySignData().