digestInto

expect fun digestInto(dest: ByteArray, destOffset: Int): Int(source)

Completes the computation, performing final operations and placing the resultant bytes into the provided dest array starting at index destOffset. The Digest is reset afterward.

Return

The number of bytes put into dest (i.e. the digestLength)

Throws

IndexOutOfBoundsException

if destOffset is inappropriate

if digestLength number of bytes are unable to fit into dest for provided destOffset

actual fun digestInto(dest: ByteArray, destOffset: Int): Int(source)

Completes the computation, performing final operations and placing the resultant bytes into the provided dest array starting at index destOffset. The Digest is reset afterward.

Return

The number of bytes put into dest (i.e. the digestLength)

Throws

IndexOutOfBoundsException

if destOffset is inappropriate

if digestLength number of bytes are unable to fit into dest for provided destOffset

actual fun digestInto(dest: ByteArray, destOffset: Int): Int(source)

Completes the computation, performing final operations and placing the resultant bytes into the provided dest array starting at index destOffset. The Digest is reset afterward.

Return

The number of bytes put into dest (i.e. the digestLength)

Throws

IndexOutOfBoundsException

if destOffset is inappropriate

if digestLength number of bytes are unable to fit into dest for provided destOffset