IrohBeam. EndpointId
(iroh_beam v0.2.0)
View Source
Public, shareable endpoint identity derived from a private key.
The canonical string form is the lowercase 64-character Iroh hex encoding. Parsing also accepts upstream-compatible base32 forms.
Summary
Types
@type t() :: %IrohBeam.EndpointId{bytes: <<_::256>>, text: String.t()}
Functions
@spec from_bytes(binary()) :: {:ok, t()} | {:error, IrohBeam.Error.t()}
@spec parse(String.t()) :: {:ok, t()} | {:error, IrohBeam.Error.t()}