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
| 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. |
| 30 | type X25519Recipient struct { |
| 31 | theirPublicKey []byte |
| 32 | } |
| 33 | |
| 34 | var _ Recipient = &X25519Recipient{} |
| 35 |
nothing calls this directly
no outgoing calls
no test coverage detected