pub const BASE32_DNSSEC: Encoding;
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, 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.