Constant data_encoding::BASE32_DNSCURVE

source ·
pub const BASE32_DNSCURVE: Encoding;
Expand description

DNSCurve base32 encoding

This encoding is a static version of:

let mut spec = Specification::new();
spec.symbols.push_str("0123456789bcdfghjklmnpqrstuvwxyz");
spec.bit_order = BitOrder::LeastSignificantFirst;
spec.translate.from.push_str("BCDFGHJKLMNPQRSTUVWXYZ");
spec.translate.to.push_str("bcdfghjklmnpqrstuvwxyz");
assert_eq!(BASE32_DNSCURVE, spec.encoding().unwrap());

It conforms to DNSCurve.