MCPcopy Create free account
hub / github.com/ashvardanian/StringZilla / digest

Method digest

rust/stringzilla.rs:536–538  ·  view source on GitHub ↗

Returns the current hash value without consuming the state.

(&self)

Source from the content-addressed store, hash-verified

534
535 /// Returns the current hash value without consuming the state.
536 pub fn digest(&self) -> u64 {
537 unsafe { sz_hash_state_digest(self as *const _ as *const c_void) }
538 }
539}
540
541impl PartialEq for Hasher {

Callers 10

hashMethod · 0.45
hmac_sha256Function · 0.45
finishMethod · 0.45
sha256_incrementalFunction · 0.45
test_sha256Function · 0.45
test_hmac_sha256Function · 0.45
test_hmac_sha256_kwargsFunction · 0.45
test.jsFile · 0.45

Calls 2

sz_hash_state_digestFunction · 0.50
sz_sha256_state_digestFunction · 0.50

Tested by 6

sha256_incrementalFunction · 0.36
test_sha256Function · 0.36
test_hmac_sha256Function · 0.36
test_hmac_sha256_kwargsFunction · 0.36