#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

#2013 in Encoding

Download history 122/week @ 2024-12-30 12/week @ 2025-01-06 2/week @ 2025-01-13

136 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
~32K SLoC