Skip to main content

message

Function message 

Source
pub fn message(words: &Words, subject: &str, body: &str) -> (String, String)
Expand description

A message’s subject and text as an agent gets them, when it carries a short-lived secret (codes::detect): every code hidden wherever it is written, spaced or not; every link hidden, as good as the code (a reset, a sign-in link, an address to confirm); a password’s message kept whole from the agent, as where the password sits is not known. Then the numbers text hides. words: what the codes detector looks for, as the configuration makes it (Words::of), so that a code it finds in the window is hidden from the agent too.