Skip to main content

generate_opaque_id

Function generate_opaque_id 

Source
pub fn generate_opaque_id() -> [u8; 16]
Expand description

Draw a fresh opaque upload-link URL-path id: a full 128 bits of CSPRNG entropy, not a structured or sequential identifier. Mirrors the share-link opaque-id discipline exactly (SSoT: Web Upload Security Contract — the URL is .../u/{opaque-id}#{drop_pubkey}).