XofDelegate

protected abstract inner class XofDelegate constructor(delegate: A) : Xof<A> , Algorithm, Resettable, Updatable(source)

Wrapper for a Digest, Mac, etc. to act as a delegate to the Xof.

Throws

ClassCastException

if delegate is:

IllegalArgumentException

if delegate is:

Constructors

Link copied to clipboard
protected constructor(delegate: A)

Functions

Link copied to clipboard
protected override fun newReader(): Xof.Reader<A>

protected abstract fun newReader(delegateCopy: A): Xof.Reader<A>

Returns a new Xof.Reader for the snapshot (i.e. copy) of delegate in its current state.