Documentation
¶
Overview ¶
Package x25519 mirrors the gem's Age::X25519 namespace: native age X25519 key-pair recipients and identities, whose string forms are the familiar "age1…" recipients and "AGE-SECRET-KEY-1…" identities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Identity ¶
type Identity struct {
*fage.X25519Identity
}
Identity is an X25519 key pair (Age::X25519::Identity). Its String form is an "AGE-SECRET-KEY-1…" secret key. It satisfies age.Identity.
func ParseIdentity ¶
ParseIdentity parses an "AGE-SECRET-KEY-1…" secret key.
type Recipient ¶
type Recipient struct {
*fage.X25519Recipient
}
Recipient is an X25519 public recipient (Age::X25519::Recipient). Its String form is an "age1…" recipient. It satisfies age.Recipient.
func ParseRecipient ¶
ParseRecipient parses an "age1…" recipient, mirroring Age::X25519::Recipient.from_string.
Click to show internal directories.
Click to hide internal directories.