write

fun write(byte: Byte)

Writes a byte which will be absorbed in the sponge construction.

Since

2.0.0

Parameters

byte

fun write(byteArray: ByteArray)

Writes the bytes which will be absorbed in the sponge construction.

Since

2.0.0

Parameters

byteArray

fun write(byteArray: ByteArray, offset: Int, length: Int)

Writes part of the bytes which will be absorbed in the sponge construction.

Since

2.0.0

Parameters

byteArray
offset

The offset of which part to write.

length

The number of bytes to write.


fun write(short: Short)

Writes a Short which will be absorbed in the sponge construction in Big-Endianness.

Since

2.0.0

Parameters

short

fun write(int: Int)

Writes an Int which will be absorbed in the sponge construction in Big-Endianness.

Since

2.0.0

Parameters

int

fun write(long: Long)

Writes a Long which will be absorbed in the sponge construction in Big-Endianness.

Since

2.0.0

Parameters

long

fun write(float: Float)

Writes a Float which will be absorbed in the sponge construction in Big-Endianness while preserving its bit layout in IEEE 754 format.

Since

2.0.0

Parameters

float

fun write(double: Double)

Writes a Double which will be absorbed in the sponge construction in Big-Endianness while preserving its bit layout in IEEE 754 format.

Since

2.0.0

Parameters

double