BASE32_DNSSEC

Static BASE32_DNSSEC 

Source
pub static BASE32_DNSSEC: Base32NoPad
Expand description

DNSSEC base32 encoding

This encoding is a static version of:

let mut spec = Specification::new();
spec.symbols.push_str("0123456789abcdefghijklmnopqrstuv");
spec.translate.from.push_str("ABCDEFGHIJKLMNOPQRSTUV");
spec.translate.to.push_str("abcdefghijklmnopqrstuv");
assert_eq!(BASE32_DNSSEC.as_dyn(), &spec.encoding().unwrap());

It conforms to RFC5155:

  • It uses a base32 extended hex alphabet.
  • It is case-insensitive when decoding and uses lowercase when encoding.
  • It does not use padding.