Skip to main content

parse_line

Function parse_line 

Source
pub fn parse_line(line: &str) -> (&str, Option<&str>)
Expand description

Extract the content and HMAC from a signed line. Returns (content, hmac_hex) or (content, None) for unsigned lines.