Encrypt content using the age-encryption.org/v1 specification. Supports binary or ASCII armored content encoding using configurable properties. The age standard uses ChaCha20-Poly1305 for authenticated encryption of the payload. The age-keygen command supports generating X25519 key pairs for encryption and decryption operations.
age, age-encryption.org, encryption, ChaCha20-Poly1305, X25519
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values.
| Display Name | API Name | Default Value | Allowable Values | Description |
|---|---|---|---|---|
| File Encoding | File Encoding | BINARY |
| Output encoding for encrypted files. Binary encoding provides optimal processing performance. |
| Public Key Source | Public Key Source | PROPERTIES |
| Source of information determines the loading strategy for X25519 Public Key Recipients |
| Public Key Recipients | Public Key Recipients | One or more X25519 Public Key Recipients, separated with newlines, encoded according to the age specification, starting with age1 Sensitive Property: true This property requires exactly one text to be provided.. This Property is only considered if the [Public Key Source] Property has a value of "PROPERTIES". | ||
| Public Key Recipient Resources | Public Key Recipient Resources | One or more files or URLs containing X25519 Public Key Recipients, separated with newlines, encoded according to the age specification, starting with age1 This property expects a comma-separated list of resources. Each of the resources may be of any of the following types: URL, file. This Property is only considered if the [Public Key Source] Property has a value of "RESOURCES". |
| Name | Description |
|---|---|
| success | Encryption Completed |
| failure | Encryption Failed |