xOf

@JvmStatic
fun xOf(N: ByteArray?, S: ByteArray?): Xof<CSHAKE256>(source)

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

Parameters

N

A function-name bit string, used by NIST to define functions based on CSHAKE. Usage should be avoided when not required.

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())