Algorithms
The algorithm identifiers the PIGI envelope's Algorithm byte can carry, and what each one means.
Current SDK format generation. This page documents the envelope format the mintBlue SDK writes today. The open SDX Protocol specifies a later generation of this format; the two are not wire-compatible. Read the open specification
Generations sets out which of the two documents applies to the code you installed.
The Algorithm field of the
envelope format is one byte, and this table
is what that byte means. It publishes the identifiers, not the primitives behind
them: the normative description of the envelope model and its cryptography is
the specification linked above.
| Algorithm Identifier | Text Identifier | Description |
|---|---|---|
| 0 | 'aes-256-cbc:lzma:cbor' | The filename, filetype and filecontent are placed in an array and encoded with CBOR. The resulting bytes are then compressed with LZMA. The resulting bytes are then encrypted with AES-256-CBC |