SHAKE256

constructor()(source)

Creates a new SHAKE256 instance with a default output length of 64 bytes.


constructor(outputLength: Int)(source)

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

Parameters

outputLength

The number of bytes returned when digest is invoked

Throws

IllegalArgumentException

If outputLength is negative