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

◆ CreateMacProvider()

static HashProvider Internal.Cryptography.HashProviderDispenser.CreateMacProvider ( string hashAlgorithmId,
ReadOnlySpan< byte > key )
inlinestatic

Definition at line 122 of file HashProviderDispenser.cs.

123 {
124 return new HashProviderCng(hashAlgorithmId, key, isHmac: true);
125 }

References System.key.

Referenced by Internal.Cryptography.HMACCommon.ChangeKeyImpl().