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

Function local_shake_128

crates/stdlib/src/hashlib.rs:680–686  ·  view source on GitHub ↗
(args: HashArgs, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

678
679 #[pyfunction(name = "openssl_shake_128")]
680 pub fn local_shake_128(args: HashArgs, vm: &VirtualMachine) -> PyResult<PyHasherXof> {
681 let data = resolve_data(args.data, args.string, vm)?;
682 Ok(PyHasherXof::new(
683 "shake_128",
684 HashXofWrapper::new_shake_128(data),
685 ))
686 }
687
688 #[pyfunction(name = "openssl_shake_256")]
689 pub fn local_shake_256(args: HashArgs, vm: &VirtualMachine) -> PyResult<PyHasherXof> {

Callers 1

shake_128Function · 0.85

Calls 2

resolve_dataFunction · 0.85
newFunction · 0.85

Tested by

no test coverage detected