Module format

Source
Expand description

Core types and encoding operations used by the age file format.

Modules§

read
Decoding operations for age types.
write
Encoding operations for age types.

Structs§

AgeStanza
A section of the age header that encapsulates the file key as encrypted to a specific recipient.
FileKey
A file key for encrypting or decrypting an age file.
Stanza
A section of the age header that encapsulates the file key as encrypted to a specific recipient.

Constants§

FILE_KEY_BYTES
The length of an age file key.

Functions§

grease_the_joint
Creates a random recipient stanza that exercises the joint in the age v1 format.
is_arbitrary_string
Checks whether the string is a valid age “arbitrary string” (1*VCHAR in ABNF).