| 1 |
Compression method IDs (4.38) |
| 2 |
----------------------------- |
| 3 |
|
| 4 |
Each compression method in 7z has unique binary value (ID). |
| 5 |
The length of ID in bytes is arbitrary but it can not exceed 15 bytes. |
| 6 |
|
| 7 |
If you want to add some new ID, you have two ways: |
| 8 |
1) Write request for allocating IDs to 7-zip developers. |
| 9 |
2) Use such random ID: |
| 10 |
03 E0 ZZ ... ZZ MM ... MM VV ... VV |
| 11 |
|
| 12 |
ZZ != 0, MM != 0, VV != 0 |
| 13 |
|
| 14 |
03 E0 - Prefix for random IDs |
| 15 |
ZZ ... ZZ - Developer ID. (length >= 4). Use real random bytes. |
| 16 |
You can notify 7-Zip developers about your Developer ID. |
| 17 |
MM ... MM - Method ID (length >= 1) |
| 18 |
VV ... VV - Version (length >= 1) |
| 19 |
|
| 20 |
Note: Use new ID (MM ... MM VV .. VV) only if old codec can not decode |
| 21 |
data encoded with new version. |
| 22 |
|
| 23 |
|
| 24 |
List of defined IDs |
| 25 |
------------------- |
| 26 |
|
| 27 |
00 - Copy |
| 28 |
01 - Reserved |
| 29 |
02 - Common |
| 30 |
03 Swap |
| 31 |
- 2 Swap2 |
| 32 |
- 4 Swap4 |
| 33 |
04 Delta (subject to change) |
| 34 |
|
| 35 |
03 - 7z |
| 36 |
01 - LZMA |
| 37 |
01 - Version |
| 38 |
|
| 39 |
03 - Branch |
| 40 |
01 - x86 |
| 41 |
03 - BCJ |
| 42 |
1B - BCJ2 |
| 43 |
02 - PPC |
| 44 |
05 - BC_PPC_B (Big Endian) |
| 45 |
03 - Alpha |
| 46 |
01 - BC_Alpha |
| 47 |
04 - IA64 |
| 48 |
01 - BC_IA64 |
| 49 |
05 - ARM |
| 50 |
01 - BC_ARM |
| 51 |
06 - M68 |
| 52 |
05 - BC_M68_B (Big Endian) |
| 53 |
07 - ARM Thumb |
| 54 |
01 - BC_ARMThumb |
| 55 |
08 - SPARC |
| 56 |
05 - BC_SPARC |
| 57 |
|
| 58 |
04 - PPMD |
| 59 |
01 - Version |
| 60 |
|
| 61 |
80 - reserved for independent developers |
| 62 |
|
| 63 |
E0 - Random IDs |
| 64 |
|
| 65 |
04 - Misc |
| 66 |
00 - Reserved |
| 67 |
01 - Zip |
| 68 |
00 - Copy (not used). Use {00} instead |
| 69 |
01 - Shrink |
| 70 |
06 - Implode |
| 71 |
08 - Deflate |
| 72 |
09 - Deflate64 |
| 73 |
12 - BZip2 (not used). Use {04 02 02} instead |
| 74 |
02 - BZip |
| 75 |
02 - BZip2 |
| 76 |
03 - Rar |
| 77 |
01 - Rar15 |
| 78 |
02 - Rar20 |
| 79 |
03 - Rar29 |
| 80 |
04 - Arj |
| 81 |
01 - Arj (1,2,3) |
| 82 |
02 - Arj 4 |
| 83 |
05 - Z |
| 84 |
06 - Lzh |
| 85 |
07 - Reserved for 7z |
| 86 |
08 - Cab |
| 87 |
09 - NSIS |
| 88 |
01 - DeflateNSIS |
| 89 |
02 - BZip2NSIS |
| 90 |
|
| 91 |
|
| 92 |
06 - Crypto |
| 93 |
00 - |
| 94 |
01 - AES |
| 95 |
0x - AES-128 |
| 96 |
4x - AES-192 |
| 97 |
8x - AES-256 |
| 98 |
|
| 99 |
x0 - ECB |
| 100 |
x1 - CBC |
| 101 |
x2 - CFB |
| 102 |
x3 - OFB |
| 103 |
|
| 104 |
07 - Reserved |
| 105 |
0F - Reserved |
| 106 |
|
| 107 |
F0 - Misc Ciphers (Real Ciphers without hashing algo) |
| 108 |
|
| 109 |
F1 - Misc Ciphers (Combine) |
| 110 |
01 - Zip |
| 111 |
01 - Main Zip crypto algo |
| 112 |
03 - RAR |
| 113 |
02 - |
| 114 |
03 - Rar29 AES-128 + (modified SHA-1) |
| 115 |
07 - 7z |
| 116 |
01 - AES-256 + SHA-256 |
| 117 |
|
| 118 |
07 - Hash (subject to change) |
| 119 |
00 - |
| 120 |
01 - CRC |
| 121 |
02 - SHA-1 |
| 122 |
03 - SHA-256 |
| 123 |
04 - SHA-384 |
| 124 |
05 - SHA-512 |
| 125 |
|
| 126 |
F0 - Misc Hash |
| 127 |
|
| 128 |
F1 - Misc |
| 129 |
03 - RAR |
| 130 |
03 - Rar29 Password Hashing (modified SHA1) |
| 131 |
07 - 7z |
| 132 |
01 - SHA-256 Password Hashing |
| 133 |
|
| 134 |
|
| 135 |
|
| 136 |
|
| 137 |
--- |
| 138 |
End of document |