#encode #encode-decode #dns #decode #base38

dns-codec

represent arbirary data as legal DNS names using a mostly base-38 encoding (including '.' and '-' where permitted)

1 unstable release

0.1.0 Dec 31, 2024

#2026 in Encoding

Download history 52/week @ 2024-12-25 76/week @ 2025-01-01

128 downloads per month

GPL-3.0 license

175KB
221 lines

dns-codec

Docs

logo.webp

Overview

dns-codec provides functions to encode and decode arbitrary data &[u8] to and from legal DNS names using a mostly base-38 encoding (including '.' and '-' where permitted).

License

dns-codec is licensed under the General Public License 3.0. Please see LICENSE for details.

Dependencies

~0.9–1.5MB
~31K SLoC