Org.BouncyCastle.Crypto.BufferedBlockCipher.GetUpdateOutputSize C# (CSharp) Method

GetUpdateOutputSize() public method

public GetUpdateOutputSize ( int length ) : int
length int
return int
		public override int GetUpdateOutputSize(
			int length)
		{
			int total = length + bufOff;
			int leftOver = total % buf.Length;
			return total - leftOver;
		}