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