PLShakeXOFSqueeze

Cryptography

Description

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

A context that is still absorbing is finalized implicitly first, so a single call on a fresh context yields output directly

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 continue the output stream, which is the defining XOF property the fixed-length SHAKE256 helpers cannot offer

See also

PLShakeXOFFinalize, PLShakeXOFInit, PLShakeXOFAbsorb, PLShakeXOF