SHAKE128

constructor()

Creates a new SHAKE128 instance with a default output length of 32 bytes.


constructor(outputLength: Int)

Creates a new SHAKE128 instance with a non-default output length.

Parameters

outputLength

The number of bytes returned when digest is invoked

Throws

If outputLength is negative