MCPcopy Index your code
hub / github.com/RustPython/RustPython / finalize_xof

Method finalize_xof

crates/stdlib/src/hashlib.rs:963–968  ·  view source on GitHub ↗
(&self, length: usize)

Source from the content-addressed store, hash-verified

961 }
962
963 fn finalize_xof(&self, length: usize) -> Vec<u8> {
964 match self {
965 Self::Shake128(h) => h.clone().finalize_boxed(length).into_vec(),
966 Self::Shake256(h) => h.clone().finalize_boxed(length).into_vec(),
967 }
968 }
969 }
970}

Callers 2

digestMethod · 0.80
hexdigestMethod · 0.80

Calls 2

into_vecMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected