MCPcopy Index your code
hub / github.com/TheAlgorithms/Rust / sponge

Function sponge

src/hashing/sha3.rs:226–250  ·  view source on GitHub ↗

Sponge construction is a method of compression needing 1) a function on fixed-length bit strings( here we use keccak_f), 2) a padding function (pad10*1), and 3) a rate. The input and output of this method can be arbitrarily long

(f: SpongeFn, pad: PadFn, r: usize, n: &[bool], d: usize)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

keccakFunction · 0.85

Calls 4

padFunction · 0.85
fFunction · 0.85
lenMethod · 0.45
iter_mutMethod · 0.45

Tested by

no test coverage detected