xOf

@JvmStatic
inline fun xOf(B: Int): Xof<ParallelHash128>(source)

Produces a new Xof (Extendable-Output Function) for ParallelHash128

Parameters

B

The block size for the inner hash function in bytes

Throws

IllegalArgumentException

If B is less than 1


@JvmStatic
fun xOf(S: ByteArray?, B: Int): Xof<ParallelHash128>(source)

Produces a new Xof (Extendable-Output Function) for ParallelHash128

Parameters

S

A user selected customization bit string to define a variant of the function. When no customization is desired, S is set to an empty or null value. (e.g. "My Customization".encodeToByteArray())

B

The block size for the inner hash function in bytes

Throws

IllegalArgumentException

If B is less than 1