object
fips202_hash(RateBytes,Suffix,OutputBytes)
Common implementation of the standardized FIPS 202 SHA-3 and SHAKE variants using the Keccak-f[1600] permutation.
Availability:
logtalk_load(hashes(loader))Author: Paulo Moura
Version: 1:1:0
Date: 2026-04-15
Compilation flags:
static, context_switching_callsRemarks:
(none)
Inherited public predicates:
Public predicates
(no local declarations; see entity ancestors if any)
Protected predicates
absorb/2
Absorbs the input bytes into the Keccak state and returns the resulting state after the final padded block permutation.
Compilation flags:
staticTemplate:
absorb(Bytes,State)Mode and number of proofs:
absorb(+list(byte),--list(integer)) - onesqueeze/3
Squeezes the requested number of output bytes from a Keccak state.
Compilation flags:
staticTemplate:
squeeze(State,OutputBytes,DigestBytes)Mode and number of proofs:
squeeze(+list(integer),+integer,--list(byte)) - onePrivate predicates
(no local declarations; see entity ancestors if any)
Operators
(none)