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

◆ GetPaddingSize() [3/3]

static int Internal.Cryptography.Helpers.GetPaddingSize ( this SymmetricAlgorithm algorithm,
CipherMode mode,
int feedbackSizeInBits )
inlinestatic

Definition at line 49 of file Helpers.cs.

50 {
51 return ((mode == CipherMode.CFB) ? feedbackSizeInBits : algorithm.BlockSize) / 8;
52 }