doFinal

expect fun doFinal(): ByteArray(source)

Completes the computation, performing final operations and returning the resultant array of bytes. The Mac is reset afterward.


expect fun doFinal(input: ByteArray): ByteArray(source)

Updates the instance with provided input then completes the computation, performing final operations and returning the resultant array of bytes. The Mac is reset afterward.

actual fun doFinal(): ByteArray(source)

Completes the computation, performing final operations and returning the resultant array of bytes. The Mac is reset afterward.


actual fun doFinal(input: ByteArray): ByteArray(source)

Updates the instance with provided input then completes the computation, performing final operations and returning the resultant array of bytes. The Mac is reset afterward.