Skip to main content

Module hub

Module hub 

Source
Expand description

CMN hub subdomain helpers.

These helpers encode a CMN public key into a DNS-safe subdomain and recover the public key from that subdomain without a database lookup.

Functions§

compute_hub_subdomain
Compute a DNS-safe cmnhub subdomain from a public key string.
recover_pubkey_from_subdomain
Recover the ed25519 public key from a hub subdomain.