pub fn encode(value: &str) -> String
Encode a value into the sentinel form. Test and client-side helper.