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

◆ HashData() [1/3]

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

Definition at line 87 of file HMACSHA512.cs.

88 {
89 if (key == null)
90 {
91 throw new ArgumentNullException("key");
92 }
93 if (source == null)
94 {
95 throw new ArgumentNullException("source");
96 }
97 return HashData(new ReadOnlySpan<byte>(key), new ReadOnlySpan<byte>(source));
98 }
static byte[] HashData(byte[] key, byte[] source)
Definition HMACSHA512.cs:87

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

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