PLShakeXOFSqueeze

Cryptography

Description

Squeezes output bytes from a finalised SHAKE context, permuting across rate windows as needed

A context that is still absorbing is finalised implicitly first, so a single call on a fresh context yields output straight away

Syntax

Delphi

Procedure PLShakeXOFSqueeze(Var Ctx: TPLShakeXOF; Out_: PByte; Count: Integer);

Parameters

CtxContext to read output from
Out_Destination buffer
CountNumber of bytes to squeeze; arbitrary counts are split across permutations

Remarks

Squeezing is repeatable: successive calls carry on the output stream, which is the defining XOF property the fixed-length SHAKE256 helpers cannot offer

See also

PLShakeXOFFinalize, PLShakeXOFInit, PLShakeXOFAbsorb, PLShakeXOF