MCPcopy
hub / github.com/FiloSottile/age / X25519Recipient

Struct X25519Recipient

x25519.go:30–32  ·  view source on GitHub ↗

X25519Recipient is the standard age pre-quantum public key. Messages encrypted to this recipient can be decrypted with the corresponding [X25519Identity]. For post-quantum resistance, use [HybridRecipient]. This recipient is anonymous, in the sense that an attacker can't tell from the message alone

Source from the content-addressed store, hash-verified

28// This recipient is anonymous, in the sense that an attacker can't tell from
29// the message alone if it is encrypted to a certain recipient.
30type X25519Recipient struct {
31 theirPublicKey []byte
32}
33
34var _ Recipient = &X25519Recipient{}
35

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected