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

◆ OpenRC2Algorithm()

static SafeAlgorithmHandle Internal.Cryptography.RC2BCryptModes.OpenRC2Algorithm ( string cipherMode,
int effectiveKeyLength )
inlinestaticprivate

Definition at line 19 of file RC2BCryptModes.cs.

20 {
22 safeAlgorithmHandle.SetCipherMode(cipherMode);
23 if (effectiveKeyLength != 0)
24 {
25 safeAlgorithmHandle.SetEffectiveKeyLength(effectiveKeyLength);
26 }
27 return safeAlgorithmHandle;
28 }
static SafeAlgorithmHandle BCryptOpenAlgorithmProvider(string pszAlgId, string pszImplementation, OpenAlgorithmProviderFlags dwFlags)
Definition Cng.cs:34

References Internal.NativeCrypto.Cng.BCryptOpenAlgorithmProvider().

Referenced by Internal.Cryptography.RC2BCryptModes.GetHandle().