tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

Methods.txt (3169B)


      1 7-Zip method IDs for 7z and xz archives
      2 ---------------------------------------
      3 
      4 Version: 17.01
      5 Date: 2017-05-27
      6 
      7 Each compression or crypto method in 7z is associated with unique binary value (ID).
      8 The length of ID in bytes is arbitrary but it can not exceed 63 bits (8 bytes).
      9 
     10 xz and 7z formats use same ID map.
     11 
     12 If you want to add some new ID, you have two ways:
     13  1) Write request for allocating IDs to 7-Zip developers.
     14  2) Generate 8-bytes ID:
     15 
     16    3F ZZ ZZ ZZ ZZ ZZ MM MM 
     17 
     18    3F              - Prefix for random IDs (1 byte)
     19    ZZ ZZ ZZ ZZ ZZ  - Developer ID (5 bytes). Use real random bytes. 
     20                      
     21    MM MM           - Method ID (2 bytes)
     22 
     23    You can notify 7-Zip developers about your Developer ID / Method ID.
     24 
     25    Note: Use new ID, if old codec can not decode data encoded with new version.
     26 
     27 
     28 List of defined IDs
     29 -------------------
     30      
     31 00 - Copy
     32 
     33 03 - Delta
     34 04 - BCJ (x86)
     35 05 - PPC (big-endian)
     36 06 - IA64
     37 07 - ARM (little-endian)
     38 08 - ARMT (little-endian)
     39 09 - SPARC
     40 
     41 21 - LZMA2
     42          
     43 02.. - Common
     44   03 [Swap]
     45      - 2 Swap2
     46      - 4 Swap4
     47 
     48 03.. - 7z
     49   01 - 
     50      01 - LZMA
     51  
     52   03 - [Branch Codecs]
     53      01 - [x86 Codecs]
     54         03  - BCJ
     55         1B  - BCJ2 (4 packed streams)
     56      02 - 
     57         05 - PPC (big-endian)
     58      03 - 
     59         01 - Alpha
     60      04 - 
     61         01 - IA64
     62      05 - 
     63         01 - ARM (little-endian)
     64      06 - 
     65         05 - M68 (big-endian)
     66      07 - 
     67         01 - ARMT (little-endian)
     68      08 - 
     69         05 - SPARC
     70 
     71   04 - 
     72      01 - PPMD
     73 
     74   7F -
     75      01 - experimental method.
     76 
     77 
     78 04.. - Misc codecs
     79 
     80   00 - Reserved
     81 
     82   01 - [Zip]
     83      00 - Copy (not used. Use {00} instead)
     84      01 - Shrink
     85      06 - Implode
     86      08 - Deflate
     87      09 - Deflate64
     88      0A - Imploding
     89      0C - BZip2 (not used. Use {040202} instead)
     90      0E - LZMA (LZMA-zip)
     91      5F - xz
     92      60 - Jpeg
     93      61 - WavPack
     94      62 - PPMd (PPMd-zip)
     95      63 - wzAES
     96 
     97   02 - 
     98      02 - BZip2
     99 
    100   03 - [Rar]
    101      01 - Rar1
    102      02 - Rar2
    103      03 - Rar3
    104      05 - Rar5
    105 
    106   04 - [Arj]
    107      01 - Arj(1,2,3)
    108      02 - Arj4
    109 
    110   05 - [Z]
    111 
    112   06 - [Lzh]
    113 
    114   07 - Reserved for 7z
    115 
    116   08 - [Cab]
    117 
    118   09 - [NSIS]
    119      01 - DeflateNSIS
    120      02 - BZip2NSIS
    121 
    122   F7 - External codecs (that are not included to 7-Zip)
    123 
    124      0x xx - reserved
    125 
    126      10 xx - reserved (LZHAM)
    127         01 - LZHAM
    128 
    129      11 xx - reserved (Tino Reichardt)
    130         01 - ZSTD
    131         02 - BROTLI
    132         04 - LZ4
    133         05 - LZ5
    134         06 - LIZARD
    135 
    136 
    137 06.. - Crypto 
    138 
    139   F0 - Ciphers without hashing algo
    140 
    141      01 - [AES]
    142         0x - AES-128
    143         4x - AES-192
    144         8x - AES-256
    145         Cx - AES
    146 
    147         x0 - ECB
    148         x1 - CBC
    149         x2 - CFB
    150         x3 - OFB
    151         x4 - CTR
    152 
    153   F1 - Combine Ciphers
    154 
    155      01 - [Zip]
    156         01 - ZipCrypto (Main Zip crypto algo)
    157 
    158      03 - [RAR]
    159         02 - 
    160         03 - Rar29AES (AES-128 + modified SHA-1)
    161 
    162      07 - [7z]
    163         01 - 7zAES (AES-256 + SHA-256)
    164 
    165 
    166 ---
    167 End of document