Skip to main content

project_salt

Function project_salt 

Source
pub fn project_salt(api_key: &str) -> String
Expand description

Return the deterministic project salt for an api key (sha256(api_key)[:8]). Matches the X-Browser-Project-Salt response header returned on a successful Cloud Browser WebSocket upgrade.