BufferedBlockCipher.doFinal

encrypt the remaining bytes in the buffer

struct BufferedBlockCipher(Cipher, bool permitPartialBlock = false)
uint
doFinal
(
ubyte[] output
)
in { if (permitPartialBlock) { assert (output.length >= bufOff, "output buffer too small"); } else if (bufOff > 0) { assert (output.length >= buf.length, "output buffer too small"); } }
if ()

Return Value

Type: uint

number of written bytes

Meta