absorb

fun absorb(byteArray: ByteArray)

Absorb a byte array into the Keccak sponge construction.

This method can be called multiple times and each byte array is concatenated after the bytes that preceded them.


fun absorb(byte: Byte)

Absorbs a singular byte into the sponge construction.

This method concatenates this byte after the bytes that preceded it.

Equivalent to: absorb(byteArrayOf(byte))