SYMBOL INDEX (443 symbols across 46 files) FILE: age.go type Identity (line 65) | type Identity interface type Recipient (line 82) | type Recipient interface type RecipientWithLabels (line 99) | type RecipientWithLabels interface type Stanza (line 109) | type Stanza struct constant fileKeySize (line 115) | fileKeySize = 16 constant streamNonceSize (line 116) | streamNonceSize = 16 function encryptHdr (line 118) | func encryptHdr(fileKey []byte, recipients ...Recipient) (*format.Header... function Encrypt (line 154) | func Encrypt(dst io.Writer, recipients ...Recipient) (io.WriteCloser, er... function EncryptReader (line 180) | func EncryptReader(src io.Reader, recipients ...Recipient) (io.Reader, e... function wrapWithLabels (line 203) | func wrapWithLabels(r Recipient, fileKey []byte) (s []*Stanza, labels []... function slicesEqual (line 211) | func slicesEqual(s1, s2 []string) bool { function incompatibleLabelsError (line 223) | func incompatibleLabelsError(l1, l2 []string) error { type NoIdentityMatchError (line 234) | type NoIdentityMatchError struct method Error (line 243) | func (e *NoIdentityMatchError) Error() string { method Unwrap (line 250) | func (e *NoIdentityMatchError) Unwrap() []error { function Decrypt (line 261) | func Decrypt(src io.Reader, identities ...Identity) (io.Reader, error) { function DecryptReaderAt (line 297) | func DecryptReaderAt(src io.ReaderAt, encryptedSize int64, identities ..... function decryptHdr (line 332) | func decryptHdr(hdr *format.Header, identities ...Identity) ([]byte, err... function multiUnwrap (line 390) | func multiUnwrap(unwrap func(*Stanza) ([]byte, error), stanzas []*Stanza... function ExtractHeader (line 414) | func ExtractHeader(src io.Reader) ([]byte, error) { function DecryptHeader (line 435) | func DecryptHeader(header []byte, identities ...Identity) ([]byte, error) { type injectedFileKeyIdentity (line 443) | type injectedFileKeyIdentity struct method Unwrap (line 456) | func (i injectedFileKeyIdentity) Unwrap(stanzas []*Stanza) (fileKey []... function NewInjectedFileKeyIdentity (line 452) | func NewInjectedFileKeyIdentity(fileKey []byte) Identity { FILE: age_test.go function ExampleEncrypt (line 23) | func ExampleEncrypt() { function init (line 52) | func init() { function ExampleDecrypt (line 56) | func ExampleDecrypt() { function ExampleParseIdentities (line 81) | func ExampleParseIdentities() { function ExampleGenerateX25519Identity (line 110) | func ExampleGenerateX25519Identity() { constant helloWorld (line 123) | helloWorld = "Hello, Twitch!" function TestEncryptDecryptX25519 (line 125) | func TestEncryptDecryptX25519(t *testing.T) { function TestEncryptDecryptScrypt (line 159) | func TestEncryptDecryptScrypt(t *testing.T) { function ExampleDecryptReaderAt (line 196) | func ExampleDecryptReaderAt() { function TestParseIdentities (line 230) | func TestParseIdentities(t *testing.T) { type testRecipient (line 262) | type testRecipient struct method Wrap (line 266) | func (testRecipient) Wrap(fileKey []byte) ([]*age.Stanza, error) { method WrapWithLabels (line 270) | func (t testRecipient) WrapWithLabels(fileKey []byte) (s []*age.Stanza... function TestLabels (line 274) | func TestLabels(t *testing.T) { type testIdentity (line 327) | type testIdentity struct method Unwrap (line 331) | func (ti *testIdentity) Unwrap(stanzas []*age.Stanza) ([]byte, error) { function TestDecryptNativeIdentitiesFirst (line 336) | func TestDecryptNativeIdentitiesFirst(t *testing.T) { type stanzaTypeRecipient (line 370) | type stanzaTypeRecipient method Wrap (line 372) | func (s stanzaTypeRecipient) Wrap(fileKey []byte) ([]*age.Stanza, erro... function TestNoIdentityMatchErrorStanzaTypes (line 376) | func TestNoIdentityMatchErrorStanzaTypes(t *testing.T) { function TestScryptIdentityErrors (line 418) | func TestScryptIdentityErrors(t *testing.T) { function TestDetachedHeader (line 483) | func TestDetachedHeader(t *testing.T) { function TestEncryptReader (line 526) | func TestEncryptReader(t *testing.T) { FILE: agessh/agessh.go function sshFingerprint (line 35) | func sshFingerprint(pk ssh.PublicKey) string { constant oaepLabel (line 40) | oaepLabel = "age-encryption.org/v1/ssh-rsa" type RSARecipient (line 42) | type RSARecipient struct method Wrap (line 72) | func (r *RSARecipient) Wrap(fileKey []byte) ([]*age.Stanza, error) { function NewRSARecipient (line 49) | func NewRSARecipient(pk ssh.PublicKey) (*RSARecipient, error) { type RSAIdentity (line 88) | type RSAIdentity struct method Recipient (line 106) | func (i *RSAIdentity) Recipient() *RSARecipient { method Unwrap (line 113) | func (i *RSAIdentity) Unwrap(stanzas []*age.Stanza) ([]byte, error) { method unwrap (line 117) | func (i *RSAIdentity) unwrap(block *age.Stanza) ([]byte, error) { function NewRSAIdentity (line 95) | func NewRSAIdentity(key *rsa.PrivateKey) (*RSAIdentity, error) { type Ed25519Recipient (line 137) | type Ed25519Recipient struct method Wrap (line 202) | func (r *Ed25519Recipient) Wrap(fileKey []byte) ([]*age.Stanza, error) { function NewEd25519Recipient (line 144) | func NewEd25519Recipient(pk ssh.PublicKey) (*Ed25519Recipient, error) { function ParseRecipient (line 168) | func ParseRecipient(s string) (age.Recipient, error) { function ed25519PublicKeyToCurve25519 (line 190) | func ed25519PublicKeyToCurve25519(pk ed25519.PublicKey) ([]byte, error) { constant ed25519Label (line 200) | ed25519Label = "age-encryption.org/v1/ssh-ed25519" type Ed25519Identity (line 248) | type Ed25519Identity struct method Recipient (line 294) | func (i *Ed25519Identity) Recipient() *Ed25519Recipient { method Unwrap (line 301) | func (i *Ed25519Identity) Unwrap(stanzas []*age.Stanza) ([]byte, error) { method unwrap (line 305) | func (i *Ed25519Identity) unwrap(block *age.Stanza) ([]byte, error) { function NewEd25519Identity (line 255) | func NewEd25519Identity(key ed25519.PrivateKey) (*Ed25519Identity, error) { function ParseIdentity (line 268) | func ParseIdentity(pemBytes []byte) (age.Identity, error) { function ed25519PrivateKeyToCurve25519 (line 287) | func ed25519PrivateKeyToCurve25519(pk ed25519.PrivateKey) []byte { function multiUnwrap (line 355) | func multiUnwrap(unwrap func(*age.Stanza) ([]byte, error), stanzas []*ag... function aeadEncrypt (line 380) | func aeadEncrypt(key, plaintext []byte) ([]byte, error) { function aeadDecrypt (line 389) | func aeadDecrypt(key, ciphertext []byte) ([]byte, error) { FILE: agessh/agessh_test.go function TestSSHRSARoundTrip (line 19) | func TestSSHRSARoundTrip(t *testing.T) { function TestSSHEd25519RoundTrip (line 62) | func TestSSHEd25519RoundTrip(t *testing.T) { FILE: agessh/encrypted_keys.go type EncryptedSSHIdentity (line 24) | type EncryptedSSHIdentity struct method Recipient (line 70) | func (i *EncryptedSSHIdentity) Recipient() age.Recipient { method Unwrap (line 77) | func (i *EncryptedSSHIdentity) Unwrap(stanzas []*age.Stanza) (fileKey ... function NewEncryptedSSHIdentity (line 43) | func NewEncryptedSSHIdentity(pubKey ssh.PublicKey, pemBytes []byte, pass... FILE: armor/armor.go constant Header (line 24) | Header = "-----BEGIN AGE ENCRYPTED FILE-----" constant Footer (line 25) | Footer = "-----END AGE ENCRYPTED FILE-----" type armoredWriter (line 28) | type armoredWriter struct method Write (line 34) | func (a *armoredWriter) Write(p []byte) (int, error) { method Close (line 44) | func (a *armoredWriter) Close() error { function NewWriter (line 60) | func NewWriter(dst io.Writer) io.WriteCloser { type armoredReader (line 68) | type armoredReader struct method Read (line 80) | func (r *armoredReader) Read(p []byte) (int, error) { method setErr (line 184) | func (r *armoredReader) setErr(err error) error { function NewReader (line 76) | func NewReader(r io.Reader) io.Reader { type Error (line 172) | type Error struct method Error (line 176) | func (e *Error) Error() string { method Unwrap (line 180) | func (e *Error) Unwrap() error { FILE: armor/armor_test.go function ExampleNewWriter (line 26) | func ExampleNewWriter() { function ExampleNewReader (line 59) | func ExampleNewReader() { function TestArmor (line 92) | func TestArmor(t *testing.T) { function testArmor (line 97) | func testArmor(t *testing.T, size int) { function FuzzMalleability (line 136) | func FuzzMalleability(f *testing.F) { function normalize (line 177) | func normalize(f []byte) []byte { FILE: cmd/age-inspect/inspect.go constant usage (line 18) | usage = `Usage: function main (line 31) | func main() { function errorf (line 124) | func errorf(format string, v ...any) { FILE: cmd/age-keygen/keygen.go constant usage (line 20) | usage = `Usage: function main (line 63) | func main() { function generate (line 129) | func generate(out *os.File, pq bool) { function convert (line 157) | func convert(in io.Reader, out io.Writer) { function errorf (line 178) | func errorf(format string, v ...any) { function warning (line 183) | func warning(msg string) { FILE: cmd/age-plugin-batchpass/plugin-batchpass.go constant usage (line 18) | usage = `age-plugin-batchpass is an age plugin that enables non-interactive function main (line 81) | func main() { type batchpassIdentity (line 148) | type batchpassIdentity struct method Unwrap (line 153) | func (i *batchpassIdentity) Unwrap(stanzas []*age.Stanza) ([]byte, err... function passphrase (line 182) | func passphrase() (string, error) { FILE: cmd/age/age.go constant usage (line 30) | usage = `Usage: type multiFlag (line 74) | type multiFlag method String (line 76) | func (f *multiFlag) String() string { return fmt.Sprint(*f) } method Set (line 78) | func (f *multiFlag) Set(value string) error { type identityFlag (line 83) | type identityFlag struct type identityFlags (line 89) | type identityFlags method addIdentityFlag (line 91) | func (f *identityFlags) addIdentityFlag(value string) error { method addPluginFlag (line 96) | func (f *identityFlags) addPluginFlag(value string) error { function main (line 105) | func main() { function passphrasePromptForEncryption (line 323) | func passphrasePromptForEncryption() (string, error) { function encryptNotPass (line 351) | func encryptNotPass(recs, files []string, identities identityFlags, in i... function encryptPass (line 395) | func encryptPass(in io.Reader, out io.Writer, armor bool) { function encrypt (line 411) | func encrypt(recipients []age.Recipient, in io.Reader, out io.Writer, wi... constant crlfMangledIntro (line 440) | crlfMangledIntro = "age-encryption.org/v1" + "\r" constant utf16MangledIntro (line 441) | utf16MangledIntro = "\xff\xfe" + "a\x00g\x00e\x00-\x00e\x00n\x00c\x00r\x... type rejectScryptIdentity (line 443) | type rejectScryptIdentity struct method Unwrap (line 445) | func (rejectScryptIdentity) Unwrap(stanzas []*age.Stanza) ([]byte, err... function decryptNotPass (line 454) | func decryptNotPass(flags identityFlags, in io.Reader, out io.Writer) { function decryptPass (line 476) | func decryptPass(in io.Reader, out io.Writer) { function decrypt (line 486) | func decrypt(identities []age.Identity, in io.Reader, out io.Writer) { function passphrasePromptForDecryption (line 523) | func passphrasePromptForDecryption() (string, error) { function identitiesToRecipients (line 531) | func identitiesToRecipients(ids []age.Identity) ([]age.Recipient, error) { type lazyOpener (line 560) | type lazyOpener struct method Write (line 570) | func (l *lazyOpener) Write(p []byte) (n int, err error) { method Close (line 580) | func (l *lazyOpener) Close() error { function newLazyOpener (line 566) | func newLazyOpener(name string) io.WriteCloser { function absPath (line 587) | func absPath(name string) string { function warnDuplicates (line 594) | func warnDuplicates(s iter.Seq[string], name string) { FILE: cmd/age/age_test.go function TestMain (line 19) | func TestMain(m *testing.M) { type testPlugin (line 41) | type testPlugin struct method Wrap (line 43) | func (testPlugin) Wrap(fileKey []byte) ([]*age.Stanza, error) { method Unwrap (line 47) | func (testPlugin) Unwrap(ss []*age.Stanza) ([]byte, error) { function TestScript (line 69) | func TestScript(t *testing.T) { FILE: cmd/age/encrypted_keys.go type LazyScryptIdentity (line 18) | type LazyScryptIdentity struct method Unwrap (line 24) | func (i *LazyScryptIdentity) Unwrap(stanzas []*age.Stanza) (fileKey []... type EncryptedIdentity (line 53) | type EncryptedIdentity struct method Recipients (line 63) | func (i *EncryptedIdentity) Recipients() ([]age.Recipient, error) { method Unwrap (line 73) | func (i *EncryptedIdentity) Unwrap(stanzas []*age.Stanza) (fileKey []b... method decrypt (line 94) | func (i *EncryptedIdentity) decrypt() error { FILE: cmd/age/parse.go type gitHubRecipientError (line 26) | type gitHubRecipientError struct method Error (line 30) | func (gitHubRecipientError) Error() string { function parseRecipient (line 34) | func parseRecipient(arg string) (age.Recipient, error) { function parseRecipientsFile (line 54) | func parseRecipientsFile(name string) ([]age.Recipient, error) { function sshKeyType (line 113) | func sshKeyType(s string) (string, bool) { function parseIdentitiesFile (line 140) | func parseIdentitiesFile(name string) ([]age.Identity, error) { function parseIdentity (line 212) | func parseIdentity(s string) (age.Identity, error) { function parseIdentities (line 226) | func parseIdentities(f io.Reader) ([]age.Identity, error) { function parseSSHIdentity (line 258) | func parseSSHIdentity(name string, pemBytes []byte) ([]age.Identity, err... function readPubFile (line 288) | func readPubFile(name string) (ssh.PublicKey, error) { FILE: cmd/age/tui.go function printf (line 33) | func printf(format string, v ...any) { function errorf (line 37) | func errorf(format string, v ...any) { function warningf (line 43) | func warningf(format string, v ...any) { function errorWithHint (line 47) | func errorWithHint(error string, hints ...string) { function printfToTerminal (line 56) | func printfToTerminal(format string, v ...any) error { function bufferTerminalInput (line 63) | func bufferTerminalInput(in io.Reader) (io.Reader, error) { type ReaderFunc (line 76) | type ReaderFunc method Read (line 78) | func (f ReaderFunc) Read(p []byte) (n int, err error) { return f(p) } FILE: cmd/age/wordlist.go function randomWord (line 15) | func randomWord() string { FILE: extra/age-plugin-pq/plugin-pq.go constant usage (line 16) | usage = `Usage: function main (line 37) | func main() { function convert (line 126) | func convert(in io.Reader, out io.Writer) { function errorf (line 144) | func errorf(format string, v ...any) { function warning (line 149) | func warning(msg string) { FILE: extra/age-plugin-tag/plugin-tag.go constant usage (line 15) | usage = `age-plugin-tag is an age plugin for P-256 tagged recipients. Th... function main (line 26) | func main() { FILE: extra/age-plugin-tagpq/plugin-tagpq.go constant usage (line 15) | usage = `age-plugin-tagpq is an age plugin for ML-KEM-768 + P-256 post-q... function main (line 27) | func main() { FILE: internal/bech32/bech32.go function polymod (line 34) | func polymod(values []byte) uint32 { function hrpExpand (line 50) | func hrpExpand(hrp string) []byte { function verifyChecksum (line 63) | func verifyChecksum(hrp string, data []byte) bool { function createChecksum (line 67) | func createChecksum(hrp string, data []byte) []byte { function convertBits (line 79) | func convertBits(data []byte, frombits, tobits byte, pad bool) ([]byte, ... function Encode (line 109) | func Encode(hrp string, data []byte) (string, error) { function Decode (line 143) | func Decode(s string) (hrp string, data []byte, err error) { FILE: internal/bech32/bech32_test.go function TestBech32 (line 26) | func TestBech32(t *testing.T) { FILE: internal/format/format.go type Header (line 18) | type Header struct method MarshalWithoutMAC (line 133) | func (h *Header) MarshalWithoutMAC(w io.Writer) error { method Marshal (line 146) | func (h *Header) Marshal(w io.Writer) error { type Stanza (line 25) | type Stanza struct method Marshal (line 110) | func (r *Stanza) Marshal(w io.Writer) error { function DecodeString (line 33) | func DecodeString(s string) ([]byte, error) { constant ColumnsPerLine (line 43) | ColumnsPerLine = 64 constant BytesPerLine (line 45) | BytesPerLine = ColumnsPerLine / 4 * 3 function NewWrappedBase64Encoder (line 48) | func NewWrappedBase64Encoder(enc *base64.Encoding, dst io.Writer) *Wrapp... type WriterFunc (line 54) | type WriterFunc method Write (line 56) | func (f WriterFunc) Write(p []byte) (int, error) { return f(p) } type WrappedBase64Encoder (line 62) | type WrappedBase64Encoder struct method Write (line 69) | func (w *WrappedBase64Encoder) Write(p []byte) (int, error) { return w... method Close (line 71) | func (w *WrappedBase64Encoder) Close() error { method writeWrapped (line 75) | func (w *WrappedBase64Encoder) writeWrapped(p []byte) (int, error) { method LastLineIsEmpty (line 101) | func (w *WrappedBase64Encoder) LastLineIsEmpty() bool { constant intro (line 105) | intro = "age-encryption.org/v1\n" type StanzaReader (line 155) | type StanzaReader struct method ReadStanza (line 164) | func (r *StanzaReader) ReadStanza() (s *Stanza, err error) { function NewStanzaReader (line 160) | func NewStanzaReader(r *bufio.Reader) *StanzaReader { type ParseError (line 216) | type ParseError struct method Error (line 220) | func (e *ParseError) Error() string { method Unwrap (line 224) | func (e *ParseError) Unwrap() error { function errorf (line 228) | func errorf(format string, a ...any) error { function Parse (line 234) | func Parse(input io.Reader) (*Header, io.Reader, error) { function splitArgs (line 294) | func splitArgs(line []byte) (string, []string) { function isValidString (line 300) | func isValidString(s string) bool { FILE: internal/format/format_test.go function TestStanzaMarshal (line 19) | func TestStanzaMarshal(t *testing.T) { function FuzzMalleability (line 46) | func FuzzMalleability(f *testing.F) { FILE: internal/inspect/inspect.go type Metadata (line 15) | type Metadata struct function Inspect (line 33) | func Inspect(r io.Reader, fileSize int64) (*Metadata, error) { type trackReader (line 99) | type trackReader struct method Read (line 105) | func (tr *trackReader) Read(p []byte) (int, error) { function streamOverhead (line 116) | func streamOverhead(payloadSize int64) (int64, error) { FILE: internal/inspect/inspect_test.go function TestStreamOverhead (line 10) | func TestStreamOverhead(t *testing.T) { FILE: internal/stream/stream.go constant ChunkSize (line 20) | ChunkSize = 64 * 1024 function EncryptedChunkCount (line 22) | func EncryptedChunkCount(encryptedSize int64) (int64, error) { function PlaintextSize (line 38) | func PlaintextSize(encryptedSize int64) (int64, error) { type DecryptReader (line 47) | type DecryptReader struct method Read (line 71) | func (r *DecryptReader) Read(p []byte) (int, error) { method readChunk (line 113) | func (r *DecryptReader) readChunk() (last bool, err error) { constant encChunkSize (line 59) | encChunkSize = ChunkSize + chacha20poly1305.Overhead constant lastChunkFlag (line 60) | lastChunkFlag = 0x01 function NewDecryptReader (line 63) | func NewDecryptReader(key []byte, src io.Reader) (*DecryptReader, error) { function incNonce (line 154) | func incNonce(nonce *[chacha20poly1305.NonceSize]byte) { function nonceForChunk (line 165) | func nonceForChunk(chunkIndex int64) *[chacha20poly1305.NonceSize]byte { function setLastChunkFlag (line 171) | func setLastChunkFlag(nonce *[chacha20poly1305.NonceSize]byte) { function nonceIsZero (line 175) | func nonceIsZero(nonce *[chacha20poly1305.NonceSize]byte) bool { type EncryptWriter (line 179) | type EncryptWriter struct method Write (line 195) | func (w *EncryptWriter) Write(p []byte) (n int, err error) { method Close (line 222) | func (w *EncryptWriter) Close() error { method flushChunk (line 241) | func (w *EncryptWriter) flushChunk(last bool) error { function NewEncryptWriter (line 187) | func NewEncryptWriter(key []byte, dst io.Writer) (*EncryptWriter, error) { constant lastChunk (line 237) | lastChunk = true constant notLastChunk (line 238) | notLastChunk = false type EncryptReader (line 257) | type EncryptReader struct method Read (line 278) | func (r *EncryptReader) Read(p []byte) (int, error) { method feedBuffer (line 303) | func (r *EncryptReader) feedBuffer() error { function NewEncryptReader (line 270) | func NewEncryptReader(key []byte, src io.Reader) (*EncryptReader, error) { type DecryptReaderAt (line 349) | type DecryptReaderAt struct method ReadAt (line 394) | func (r *DecryptReaderAt) ReadAt(p []byte, off int64) (n int, err erro... type cachedChunk (line 357) | type cachedChunk struct function NewDecryptReaderAt (line 362) | func NewDecryptReaderAt(key []byte, src io.ReaderAt, size int64) (*Decry... FILE: internal/stream/stream_test.go constant cs (line 19) | cs = stream.ChunkSize function TestRoundTrip (line 21) | func TestRoundTrip(t *testing.T) { function testRoundTrip (line 36) | func testRoundTrip(t *testing.T, stepSize, length int) { type trackingReaderAt (line 188) | type trackingReaderAt struct method ReadAt (line 193) | func (t *trackingReaderAt) ReadAt(p []byte, off int64) (int, error) { method reset (line 198) | func (t *trackingReaderAt) reset() { function TestDecryptReaderAt (line 202) | func TestDecryptReaderAt(t *testing.T) { function TestDecryptReaderAtEmpty (line 414) | func TestDecryptReaderAtEmpty(t *testing.T) { function TestDecryptReaderAtSingleChunk (line 469) | func TestDecryptReaderAtSingleChunk(t *testing.T) { function TestDecryptReaderAtFullChunks (line 533) | func TestDecryptReaderAtFullChunks(t *testing.T) { function TestDecryptReaderAtWrongKey (line 595) | func TestDecryptReaderAtWrongKey(t *testing.T) { function TestDecryptReaderAtInvalidSize (line 631) | func TestDecryptReaderAtInvalidSize(t *testing.T) { function TestDecryptReaderAtTruncated (line 676) | func TestDecryptReaderAtTruncated(t *testing.T) { function TestDecryptReaderAtTruncatedChunk (line 708) | func TestDecryptReaderAtTruncatedChunk(t *testing.T) { function TestDecryptReaderAtConcurrent (line 746) | func TestDecryptReaderAtConcurrent(t *testing.T) { function TestDecryptReaderAtCorrupted (line 908) | func TestDecryptReaderAtCorrupted(t *testing.T) { FILE: internal/term/term.go function clearLine (line 18) | func clearLine(out *os.File) { function WithTerminal (line 41) | func WithTerminal(f func(in, out *os.File) error) error { function ReadSecret (line 65) | func ReadSecret(prompt string) (s []byte, err error) { function ReadPublic (line 76) | func ReadPublic(prompt string) (s []byte, err error) { function ReadCharacter (line 97) | func ReadCharacter(prompt string) (c byte, err error) { function IsTerminal (line 120) | func IsTerminal(f *os.File) bool { FILE: internal/term/term_windows.go function init (line 15) | func init() { FILE: parse.go function ParseIdentities (line 24) | func ParseIdentities(f io.Reader) ([]Identity, error) { function parseIdentity (line 53) | func parseIdentity(arg string) (Identity, error) { function ParseRecipients (line 74) | func ParseRecipients(f io.Reader) ([]Recipient, error) { function parseRecipient (line 103) | func parseRecipient(arg string) (Recipient, error) { FILE: plugin/client.go type Recipient (line 28) | type Recipient struct method Name (line 53) | func (r *Recipient) Name() string { method String (line 59) | func (r *Recipient) String() string { method Wrap (line 66) | func (r *Recipient) Wrap(fileKey []byte) (stanzas []*age.Stanza, err e... method WrapWithLabels (line 71) | func (r *Recipient) WrapWithLabels(fileKey []byte) (stanzas []*age.Sta... function NewRecipient (line 40) | func NewRecipient(s string, ui *ClientUI) (*Recipient, error) { type Identity (line 172) | type Identity struct method Name (line 203) | func (i *Identity) Name() string { method String (line 208) | func (i *Identity) String() string { method Recipient (line 215) | func (i *Identity) Recipient() *Recipient { method Unwrap (line 224) | func (i *Identity) Unwrap(stanzas []*age.Stanza) (fileKey []byte, err ... function NewIdentity (line 180) | func NewIdentity(s string, ui *ClientUI) (*Identity, error) { function NewIdentityWithoutData (line 190) | func NewIdentityWithoutData(name string, ui *ClientUI) (*Identity, error) { type ClientUI (line 319) | type ClientUI struct method handle (line 339) | func (c *ClientUI) handle(name string, conn *clientConnection, s *form... method readStanza (line 392) | func (c *ClientUI) readStanza(name string, r *format.StanzaReader) (*f... type clientConnection (line 399) | type clientConnection struct method Close (line 475) | func (cc *clientConnection) Close() error { type NotFoundError (line 408) | type NotFoundError struct method Error (line 416) | func (e *NotFoundError) Error() string { method Unwrap (line 420) | func (e *NotFoundError) Unwrap() error { function openClientConnection (line 426) | func openClientConnection(name, protocol string) (*clientConnection, err... function writeStanza (line 483) | func writeStanza(conn io.Writer, t string, args ...string) error { function writeStanzaWithBody (line 488) | func writeStanzaWithBody(conn io.Writer, t string, body []byte) error { function writeGrease (line 493) | func writeGrease(conn io.Writer) (sent bool, err error) { FILE: plugin/client_test.go function TestMain (line 24) | func TestMain(m *testing.M) { type testRecipient (line 52) | type testRecipient struct method Wrap (line 54) | func (testRecipient) Wrap(fileKey []byte) ([]*age.Stanza, error) { type testPQCRecipient (line 58) | type testPQCRecipient struct method Wrap (line 62) | func (testPQCRecipient) Wrap(fileKey []byte) ([]*age.Stanza, error) { method WrapWithLabels (line 66) | func (testPQCRecipient) WrapWithLabels(fileKey []byte) ([]*age.Stanza,... function TestLabels (line 70) | func TestLabels(t *testing.T) { function TestNotFound (line 125) | func TestNotFound(t *testing.T) { function TestPluginError (line 177) | func TestPluginError(t *testing.T) { FILE: plugin/encode.go function EncodeIdentity (line 19) | func EncodeIdentity(name string, data []byte) string { function ParseIdentity (line 29) | func ParseIdentity(s string) (name string, data []byte, err error) { function EncodeRecipient (line 47) | func EncodeRecipient(name string, data []byte) string { function ParseRecipient (line 57) | func ParseRecipient(s string) (name string, data []byte, err error) { function validPluginName (line 72) | func validPluginName(name string) bool { function EncodeX25519Recipient (line 88) | func EncodeX25519Recipient(pk *ecdh.PublicKey) (string, error) { function EncodeHybridRecipient (line 99) | func EncodeHybridRecipient(pq *mlkem.EncapsulationKey768, t *ecdh.Public... FILE: plugin/example_test.go type Recipient (line 11) | type Recipient struct method Wrap (line 13) | func (r *Recipient) Wrap(fileKey []byte) ([]*age.Stanza, error) { function NewRecipient (line 17) | func NewRecipient(data []byte) (*Recipient, error) { type Identity (line 21) | type Identity struct method Unwrap (line 23) | func (i *Identity) Unwrap(s []*age.Stanza) ([]byte, error) { function NewIdentity (line 27) | func NewIdentity(data []byte) (*Identity, error) { function ExamplePlugin_main (line 31) | func ExamplePlugin_main() { FILE: plugin/plugin.go type Plugin (line 28) | type Plugin struct method Name (line 55) | func (p *Plugin) Name() string { method RegisterFlags (line 65) | func (p *Plugin) RegisterFlags(fs *flag.FlagSet) { method HandleRecipient (line 82) | func (p *Plugin) HandleRecipient(f func(data []byte) (age.Recipient, e... method HandleIdentityAsRecipient (line 99) | func (p *Plugin) HandleIdentityAsRecipient(f func(data []byte) (age.Re... method HandleIdentity (line 112) | func (p *Plugin) HandleIdentity(f func(data []byte) (age.Identity, err... method HandleRecipientEncoding (line 123) | func (p *Plugin) HandleRecipientEncoding(f func(recipient string) (age... method HandleIdentityEncodingAsRecipient (line 131) | func (p *Plugin) HandleIdentityEncodingAsRecipient(f func(identity str... method HandleIdentityEncoding (line 141) | func (p *Plugin) HandleIdentityEncoding(f func(identity string) (age.I... method Main (line 151) | func (p *Plugin) Main() int { method SetIO (line 172) | func (p *Plugin) SetIO(stdin io.Reader, stdout, stderr io.Writer) { method RecipientV1 (line 182) | func (p *Plugin) RecipientV1() int { method IdentityV1 (line 371) | func (p *Plugin) IdentityV1() int { method DisplayMessage (line 495) | func (p *Plugin) DisplayMessage(message string) error { method RequestValue (line 517) | func (p *Plugin) RequestValue(prompt string, secret bool) (string, err... method Confirm (line 545) | func (p *Plugin) Confirm(prompt, yes, no string) (choseYes bool, err e... method fatalInteractf (line 569) | func (p *Plugin) fatalInteractf(format string, args ...any) error { method fatalf (line 575) | func (p *Plugin) fatalf(format string, args ...any) int { method recipientError (line 600) | func (p *Plugin) recipientError(idx int, err error) int { method identityError (line 607) | func (p *Plugin) identityError(idx int, err error) int { method writeError (line 654) | func (p *Plugin) writeError(args []string, err error) error { function New (line 49) | func New(name string) (*Plugin, error) { function wrapWithLabels (line 352) | func wrapWithLabels(r age.Recipient, fileKey []byte) ([]*age.Stanza, []s... function checkLabels (line 360) | func checkLabels(ll, labels []string) error { function expectStanzaWithNoBody (line 580) | func expectStanzaWithNoBody(s *format.Stanza, wantArgs int) error { function expectStanzaWithBody (line 590) | func expectStanzaWithBody(s *format.Stanza, wantArgs int) error { function expectOk (line 614) | func expectOk(sr *format.StanzaReader) error { function readOkOrFail (line 625) | func readOkOrFail(sr *format.StanzaReader) (*format.Stanza, error) { function expectUnsupported (line 643) | func expectUnsupported(sr *format.StanzaReader) error { function slicesEqual (line 666) | func slicesEqual(s1, s2 []string) bool { FILE: plugin/tui.go function NewTerminalUI (line 16) | func NewTerminalUI(printf, warningf func(format string, v ...any)) *Clie... FILE: pq.go constant pqLabel (line 18) | pqLabel = "age-encryption.org/mlkem768x25519" type HybridRecipient (line 28) | type HybridRecipient struct method Wrap (line 60) | func (r *HybridRecipient) Wrap(fileKey []byte) ([]*Stanza, error) { method WrapWithLabels (line 71) | func (r *HybridRecipient) WrapWithLabels(fileKey []byte) ([]*Stanza, [... method String (line 91) | func (r *HybridRecipient) String() string { function newHybridRecipient (line 35) | func newHybridRecipient(publicKey []byte) (*HybridRecipient, error) { function ParseHybridRecipient (line 45) | func ParseHybridRecipient(s string) (*HybridRecipient, error) { type HybridIdentity (line 98) | type HybridIdentity struct method Unwrap (line 139) | func (i *HybridIdentity) Unwrap(stanzas []*Stanza) ([]byte, error) { method unwrap (line 143) | func (i *HybridIdentity) unwrap(block *Stanza) ([]byte, error) { method Recipient (line 172) | func (i *HybridIdentity) Recipient() *HybridRecipient { method String (line 177) | func (i *HybridIdentity) String() string { function newHybridIdentity (line 105) | func newHybridIdentity(secretKey []byte) (*HybridIdentity, error) { function GenerateHybridIdentity (line 114) | func GenerateHybridIdentity() (*HybridIdentity, error) { function ParseHybridIdentity (line 124) | func ParseHybridIdentity(s string) (*HybridIdentity, error) { FILE: primitives.go function aeadEncrypt (line 19) | func aeadEncrypt(key, plaintext []byte) ([]byte, error) { function aeadDecrypt (line 40) | func aeadDecrypt(key []byte, size int, ciphertext []byte) ([]byte, error) { function headerMAC (line 52) | func headerMAC(fileKey []byte, hdr *format.Header) ([]byte, error) { function streamKey (line 65) | func streamKey(fileKey, nonce []byte) []byte { FILE: recipients_test.go function TestX25519RoundTrip (line 16) | func TestX25519RoundTrip(t *testing.T) { function TestHybridRoundTrip (line 53) | func TestHybridRoundTrip(t *testing.T) { function TestHybridMixingRestrictions (line 90) | func TestHybridMixingRestrictions(t *testing.T) { function TestScryptRoundTrip (line 114) | func TestScryptRoundTrip(t *testing.T) { FILE: scrypt.go constant scryptLabel (line 20) | scryptLabel = "age-encryption.org/v1/scrypt" type ScryptRecipient (line 31) | type ScryptRecipient struct method SetWorkFactor (line 55) | func (r *ScryptRecipient) SetWorkFactor(logN int) { method Wrap (line 64) | func (r *ScryptRecipient) Wrap(fileKey []byte) ([]*Stanza, error) { method WrapWithLabels (line 102) | func (r *ScryptRecipient) WrapWithLabels(fileKey []byte) (stanzas []*S... function NewScryptRecipient (line 39) | func NewScryptRecipient(password string) (*ScryptRecipient, error) { constant scryptSaltSize (line 62) | scryptSaltSize = 16 type ScryptIdentity (line 115) | type ScryptIdentity struct method SetMaxWorkFactor (line 140) | func (i *ScryptIdentity) SetMaxWorkFactor(logN int) { method Unwrap (line 147) | func (i *ScryptIdentity) Unwrap(stanzas []*Stanza) ([]byte, error) { method unwrap (line 164) | func (i *ScryptIdentity) unwrap(block *Stanza) ([]byte, error) { function NewScryptIdentity (line 123) | func NewScryptIdentity(password string) (*ScryptIdentity, error) { FILE: tag/internal/age-plugin-tagtest/plugin-tagtest.go constant classicRecipient (line 21) | classicRecipient = "age1tag1qwe0kafsjrar4txm6heqnhpfuggzr0gvznz7fvygxrlq... constant hybridRecipient (line 23) | hybridRecipient = "age1tagpq14h4z7cks9sxftfc8tq4xektt4854ur9rv76tvujdvtz... function init (line 25) | func init() { function main (line 36) | func main() { type tagtestIdentity (line 50) | type tagtestIdentity struct method Unwrap (line 52) | func (i *tagtestIdentity) Unwrap(ss []*age.Stanza) ([]byte, error) { FILE: tag/internal/tagtest/tagtest.go type ClassicIdentity (line 19) | type ClassicIdentity struct method Recipient (line 33) | func (i *ClassicIdentity) Recipient() *tag.Recipient { method Unwrap (line 46) | func (i *ClassicIdentity) Unwrap(ss []*age.Stanza) ([]byte, error) { function NewClassicIdentity (line 25) | func NewClassicIdentity(seed string) *ClassicIdentity { type HybridIdentity (line 89) | type HybridIdentity struct method Recipient (line 103) | func (i *HybridIdentity) Recipient() *tag.Recipient { method Unwrap (line 111) | func (i *HybridIdentity) Unwrap(ss []*age.Stanza) ([]byte, error) { function NewHybridIdentity (line 95) | func NewHybridIdentity(seed string) *HybridIdentity { FILE: tag/tag.go type Recipient (line 35) | type Recipient struct method Hybrid (line 96) | func (r *Recipient) Hybrid() bool { method Wrap (line 100) | func (r *Recipient) Wrap(fileKey []byte) ([]*age.Stanza, error) { method Tag (line 109) | func (r *Recipient) Tag(enc []byte) ([]byte, error) { method WrapWithLabels (line 136) | func (r *Recipient) WrapWithLabels(fileKey []byte) ([]*age.Stanza, []s... method Bytes (line 172) | func (r *Recipient) Bytes() []byte { method String (line 184) | func (r *Recipient) String() string { function ParseRecipient (line 43) | func ParseRecipient(s string) (*Recipient, error) { constant compressedPointSize (line 66) | compressedPointSize = 1 + 32 constant uncompressedPointSize (line 67) | uncompressedPointSize = 1 + 32 + 32 function NewClassicRecipient (line 70) | func NewClassicRecipient(publicKey []byte) (*Recipient, error) { function NewHybridRecipient (line 87) | func NewHybridRecipient(publicKey []byte) (*Recipient, error) { FILE: tag/tag_test.go function TestClassicRoundTrip (line 17) | func TestClassicRoundTrip(t *testing.T) { function TestHybridRoundTrip (line 64) | func TestHybridRoundTrip(t *testing.T) { function TestTagHybridMixingRestrictions (line 111) | func TestTagHybridMixingRestrictions(t *testing.T) { FILE: testkit_test.go function forEachVector (line 31) | func forEachVector(t *testing.T, f func(t *testing.T, v *vector)) { type vector (line 49) | type vector struct function parseVector (line 58) | func parseVector(t *testing.T, test []byte) *vector { function TestVectors (line 142) | func TestVectors(t *testing.T) { function testDecrypt (line 152) | func testDecrypt(t *testing.T, v *vector) []byte { function testDecryptReaderAt (line 209) | func testDecryptReaderAt(t *testing.T, v *vector, plaintext []byte) { function testInspect (line 264) | func testInspect(t *testing.T, v *vector, plaintext []byte) { function testVectorRoundTrip (line 296) | func testVectorRoundTrip(t *testing.T, v *vector) { function streamKey (line 408) | func streamKey(fileKey, nonce []byte) []byte { FILE: x25519.go constant x25519Label (line 22) | x25519Label = "age-encryption.org/v1/X25519" type X25519Recipient (line 30) | type X25519Recipient struct method Wrap (line 65) | func (r *X25519Recipient) Wrap(fileKey []byte) ([]*Stanza, error) { method String (line 104) | func (r *X25519Recipient) String() string { function newX25519RecipientFromPoint (line 37) | func newX25519RecipientFromPoint(publicKey []byte) (*X25519Recipient, er... function ParseX25519Recipient (line 50) | func ParseX25519Recipient(s string) (*X25519Recipient, error) { type X25519Identity (line 112) | type X25519Identity struct method Unwrap (line 157) | func (i *X25519Identity) Unwrap(stanzas []*Stanza) ([]byte, error) { method unwrap (line 161) | func (i *X25519Identity) unwrap(block *Stanza) ([]byte, error) { method Recipient (line 200) | func (i *X25519Identity) Recipient() *X25519Recipient { method String (line 207) | func (i *X25519Identity) String() string { function newX25519IdentityFromScalar (line 119) | func newX25519IdentityFromScalar(secretKey []byte) (*X25519Identity, err... function GenerateX25519Identity (line 132) | func GenerateX25519Identity() (*X25519Identity, error) { function ParseX25519Identity (line 142) | func ParseX25519Identity(s string) (*X25519Identity, error) {