Skip to main content

token

Function token 

Source
pub fn token() -> String
Expand description

A new token for a tab: 128 bits nobody outside this process can predict.

The standard library’s hasher is keyed from the operating system’s randomness once per process and never shows its keys, so what it makes of a counter cannot be told in advance by anything in a container. That is all a token has to be, and it needs no dependency.