Skip to main content

Crate webrisk_hash

Crate webrisk_hash 

Source

Functionsยง

canonicalize
Canonicalize a URL according to the Google Web Risk API specification.
get_prefix_map
Get a mapping of expressions to their hash prefixes for a URL.
get_prefixes
Get hash prefixes for all suffix/prefix expressions of a URL.
suffix_postfix_expressions
Generate suffix/prefix expressions for a canonicalized URL.
truncated_sha256_prefix
Compute a truncated SHA-256 hash prefix.