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

Function local_sha3_384

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

Source from the content-addressed store, hash-verified

660
661 #[pyfunction(name = "openssl_sha3_384")]
662 pub fn local_sha3_384(args: HashArgs, vm: &VirtualMachine) -> PyResult<PyHasher> {
663 let data = resolve_data(args.data, args.string, vm)?;
664 Ok(PyHasher::new(
665 "sha3_384",
666 HashWrapper::new::<Sha3_384>(data),
667 ))
668 }
669
670 #[pyfunction(name = "openssl_sha3_512")]
671 pub fn local_sha3_512(args: HashArgs, vm: &VirtualMachine) -> PyResult<PyHasher> {

Callers 1

sha3_384Function · 0.85

Calls 2

resolve_dataFunction · 0.85
newFunction · 0.85

Tested by

no test coverage detected