Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ digest
Method
digest
crates/stdlib/src/hashlib.rs:332–334 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
330
331
#[pymethod]
332
fn digest(&self) -> PyBytes {
333
self.ctx.read().dyn_finalize().into()
334
}
335
336
#[pymethod]
337
fn hexdigest(&self) -> String {
Callers
nothing calls this directly
Calls
5
dyn_finalize
Method · 0.80
finalize_xof
Method · 0.80
read
Method · 0.45
finalize
Method · 0.45
length
Method · 0.45
Tested by
no test coverage detected