PLShakeXOFFinalize

Cryptography

Description

Applies the pad10*1 padding with the SHAKE domain byte and switches the context to the squeeze phase

The domain suffix lands at the current absorb position and the $80 terminator at the last byte of the block, which also covers the rate-minus-one overlap case, followed by one permutation

Syntax

Delphi

Procedure PLShakeXOFFinalize(Var Ctx: TPLShakeXOF);

Parameters

CtxAbsorbing context to finalize

Remarks

Calling it a second time is a no-op; a context that never absorbed any input still yields the padded empty-input XOF output

See also

PLShakeXOFInit, PLShakeXOFAbsorb, PLShakeXOFSqueeze