Skip to main content

looks_shown_once

Function looks_shown_once 

Source
pub fn looks_shown_once(token: &str) -> bool
Expand description

Whether one whitespace-free piece of text has the shape of a one-time secret: 20 to 512 characters, at least two of lowercase, uppercase, digits and symbols, and not a GUID, pure hex (a commit SHA, which agents need) or a URL.