HELP: Detailed definition of compression and encryption TYPE: OBJECT SYNTAX: POTPAR(FLGLEVEL=COPY/FAST/DYNAMIC/COMPACT/ARITHMETIC,FLGCONF=CLEAR/VEIL/ENC,LENLEVEL=COPY/FAST/DYNAMIC/COMPACT/ARITHMETIC,LENCONF=CLEAR/VEIL/ENC,DATLEVEL=COPY/FAST/DYNAMIC/COMPACT/ARITHMETIC,DATCONF=CLEAR/VEIL/ENC)
The pot parameters can be used to specify how the flags, lengths, data and attributes are to be compressed and/or encrypted.
A value given here wins over the collective CMPLEVEL and CRYCONF of the pot, which in turn win over the built-in default. If the pot names no compression level at all, the flag and the length buffer are compressed with ARITHMETIC: they are byte planes of small integers, which a BWT based codec packs better and faster than the dynamic level of the chosen suite. The data buffer keeps the collective level. FL_ARITHMETIC_METADATA switches this back to the behaviour of earlier versions.
Note that the pot layout is part of the static segment header, and the global format matrix of an archive is keyed on that header together with the row specification. Writing a member with another layout therefore adds a second entry for the same logical format. That is supported and harmless -- every segment carries the index of its own entry -- and it is why an archive written by an earlier version keeps its layout only for the segments already in it.
NUMBER: FLGLEVEL=COPY/FAST/DYNAMIC/COMPACT/ARITHMETIC - Compression level for flag bits [CMPLEVEL]
COPY - Copy data, no compressionFAST - Fast compression (fast, lower compression ratio)DYNAMIC - Dynamic compression (balanced speed and compression ratio)COMPACT - Compact compression (slow, high compression ratio)ARITHMETIC - Compression for arithmetic data (integer values (type, flags, length, ...)NUMBER: FLGCONF=CLEAR/VEIL/ENC - Confidentiality for flag bits [CRYCONF]
CLEAR - Clear data, no confidentiality protectionVEIL - Confidentiality protection with veilingENC - Confidentiality protection with encryptionNUMBER: LENLEVEL=COPY/FAST/DYNAMIC/COMPACT/ARITHMETIC - Compression level for length fields [CMPLEVEL]
COPY - Copy data, no compressionFAST - Fast compression (fast, lower compression ratio)DYNAMIC - Dynamic compression (balanced speed and compression ratio)COMPACT - Compact compression (slow, high compression ratio)ARITHMETIC - Compression for arithmetic data (integer values (type, flags, length, ...)NUMBER: LENCONF=CLEAR/VEIL/ENC - Confidentiality for length fields [CRYCONF]
CLEAR - Clear data, no confidentiality protectionVEIL - Confidentiality protection with veilingENC - Confidentiality protection with encryptionNUMBER: DATLEVEL=COPY/FAST/DYNAMIC/COMPACT/ARITHMETIC - Compression level for data buffer [CMPLEVEL]
COPY - Copy data, no compressionFAST - Fast compression (fast, lower compression ratio)DYNAMIC - Dynamic compression (balanced speed and compression ratio)COMPACT - Compact compression (slow, high compression ratio)ARITHMETIC - Compression for arithmetic data (integer values (type, flags, length, ...)NUMBER: DATCONF=CLEAR/VEIL/ENC - Confidentiality for data buffer [CRYCONF]
CLEAR - Clear data, no confidentiality protectionVEIL - Confidentiality protection with veilingENC - Confidentiality protection with encryption