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

Function local_sha3_224

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

Source from the content-addressed store, hash-verified

642
643 #[pyfunction(name = "openssl_sha3_224")]
644 pub fn local_sha3_224(args: HashArgs, vm: &VirtualMachine) -> PyResult<PyHasher> {
645 let data = resolve_data(args.data, args.string, vm)?;
646 Ok(PyHasher::new(
647 "sha3_224",
648 HashWrapper::new::<Sha3_224>(data),
649 ))
650 }
651
652 #[pyfunction(name = "openssl_sha3_256")]
653 pub fn local_sha3_256(args: HashArgs, vm: &VirtualMachine) -> PyResult<PyHasher> {

Callers 1

sha3_224Function · 0.85

Calls 2

resolve_dataFunction · 0.85
newFunction · 0.85

Tested by

no test coverage detected