input length not limited to multiples of block size. ensure that length of output buffer is sufficiently large (see below).
the input data
the output buffer. this buffer must be able to hold the same amount of data as given by the input + padding bytes. output.length >= i.length rounded up to the next multiple of block size
See Implementation
input length not limited to multiples of block size. ensure that length of output buffer is sufficiently large (see below).