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

◆ HashData() [1/3]

static byte[] System.Security.Cryptography.HMACSHA256.HashData ( byte[] key,
byte[] source )
inlinestatic

Definition at line 71 of file HMACSHA256.cs.

72 {
73 if (key == null)
74 {
75 throw new ArgumentNullException("key");
76 }
77 if (source == null)
78 {
79 throw new ArgumentNullException("source");
80 }
81 return HashData(new ReadOnlySpan<byte>(key), new ReadOnlySpan<byte>(source));
82 }
static byte[] HashData(byte[] key, byte[] source)
Definition HMACSHA256.cs:71

References System.Security.Cryptography.HMACSHA256.HashData(), System.key, and System.source.

Referenced by System.Security.Cryptography.HMACSHA256.HashData(), System.Security.Cryptography.HMACSHA256.HashData(), and System.Security.Cryptography.HashOneShotHelpers.MacData().