Function ssb_validate::utils::is_canonical_base64[][src]

pub fn is_canonical_base64(private_msg: &str) -> bool

Check that the given string represents canonical base64.

A Regex pattern is used to match on canonical base64 for private messages. This has been implemented according to the is-canonical-base64 JS module by Dominic Tarr.