dcrypt ~master (2018-06-04T17:07:07Z)
Dub
Repo
BufferedBlockCipher.doFinal
dcrypt
blockcipher
bufferedblockcipher
BufferedBlockCipher
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
(
isBlockCipher
!
Cipher
)
Return Value
Type:
uint
number of written bytes
Meta
Source
See Implementation
dcrypt
blockcipher
bufferedblockcipher
BufferedBlockCipher
functions
doFinal
getUnderlyingCipher
processByte
processBytes
variables
buf
bufOff
cipher
encrypt the remaining bytes in the buffer