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

Function local_sha3_512

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

Source from the content-addressed store, hash-verified

669
670 #[pyfunction(name = "openssl_sha3_512")]
671 pub fn local_sha3_512(args: HashArgs, vm: &VirtualMachine) -> PyResult<PyHasher> {
672 let data = resolve_data(args.data, args.string, vm)?;
673 Ok(PyHasher::new(
674 "sha3_512",
675 HashWrapper::new::<Sha3_512>(data),
676 ))
677 }
678
679 #[pyfunction(name = "openssl_shake_128")]
680 pub fn local_shake_128(args: HashArgs, vm: &VirtualMachine) -> PyResult<PyHasherXof> {

Callers 1

sha3_512Function · 0.85

Calls 2

resolve_dataFunction · 0.85
newFunction · 0.85

Tested by

no test coverage detected