Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ generate_handle
Function
generate_handle
nodedb/src/control/security/session_handle/store.rs:265–267 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
263
}
264
265
fn generate_handle() -> String {
266
crate::control::security::random::generate_tagged_random_hex(
"nds_"
)
267
}
268
269
#[cfg(test)]
270
mod tests {
Callers
2
create
Method · 0.85
generated_handle_has_nds_prefix_and_128_bit_payload
Function · 0.85
Calls
1
generate_tagged_random_hex
Function · 0.85
Tested by
1
generated_handle_has_nds_prefix_and_128_bit_payload
Function · 0.68