Documentation
¶
Overview ¶
Package age encrypts for enbu's recipients: hybrid ML-KEM-768 + X25519 (software) and tagged hybrid ML-KEM-768 + P-256 (hardware). Classical recipients are refused, so every file stays post-quantum.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncryptForPublicKeys ¶
EncryptForPublicKeys encrypts plaintext for every recipient.
func ParseRecipient ¶
ParseRecipient accepts the hybrid ML-KEM-768 + X25519 and the tagged hybrid ML-KEM-768 + P-256 age encodings.
func RecipientKind ¶
RecipientKind names the key type of a recipient for display.
Types ¶
type KeyPair ¶
type KeyPair struct {
Identity *age.HybridIdentity
PublicKey string
}
KeyPair is a software identity, for tests and tools.