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

◆ HashData() [2/2]

override byte[] System.Security.Cryptography.RSACryptoServiceProvider.HashData ( Stream data,
HashAlgorithmName hashAlgorithm )
inlineprotectedvirtual

Reimplemented from System.Security.Cryptography.RSA.

Definition at line 411 of file RSACryptoServiceProvider.cs.

412 {
413 using HashAlgorithm hashAlgorithm2 = GetHashAlgorithm(hashAlgorithm);
414 return hashAlgorithm2.ComputeHash(data);
415 }
static HashAlgorithm GetHashAlgorithm(HashAlgorithmName hashAlgorithm)

References System.Security.Cryptography.RSACryptoServiceProvider.GetHashAlgorithm().