int function ( ) { if ( forEncryption ) { return 2 * ( ( bitSize + 7 ) / 8 ) ; } return ( bitSize - 1 ) / 8 ; }
return the maximum size for an output block to this engine . for elgamal this is always one byte less than the size of p on decryption , and twice the length as the size of p on encryption . concode_field_sep SecureRandom random concode_elem_sep boolean forEncryption concode_elem_sep int bitSize concode_elem_sep BigInteger k concode_elem_sep BigInteger TWO concode_elem_sep BigInteger ZERO concode_elem_sep ElGamalKeyParameters key concode_elem_sep BigInteger ONE concode_field_sep void init concode_elem_sep BigInteger getK concode_elem_sep int getInputBlockSize concode_elem_sep byte[] processBlock