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

Function local_md5

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

Source from the content-addressed store, hash-verified

606
607 #[pyfunction(name = "openssl_md5")]
608 pub fn local_md5(args: HashArgs, vm: &VirtualMachine) -> PyResult<PyHasher> {
609 let data = resolve_data(args.data, args.string, vm)?;
610 Ok(PyHasher::new("md5", HashWrapper::new::<Md5>(data)))
611 }
612
613 #[pyfunction(name = "openssl_sha1")]
614 pub fn local_sha1(args: HashArgs, vm: &VirtualMachine) -> PyResult<PyHasher> {

Callers 1

md5Function · 0.85

Calls 2

resolve_dataFunction · 0.85
newFunction · 0.85

Tested by

no test coverage detected