1 7-Zip method IDs (9.18)
\r
2 -----------------------
\r
4 Each compression or crypto method in 7z has unique binary value (ID).
\r
5 The length of ID in bytes is arbitrary but it can not exceed 63 bits (8 bytes).
\r
7 If you want to add some new ID, you have two ways:
\r
8 1) Write request for allocating IDs to 7-zip developers.
\r
9 2) Generate 8-bytes ID:
\r
11 3F ZZ ZZ ZZ ZZ ZZ MM MM
\r
13 3F - Prefix for random IDs (1 byte)
\r
14 ZZ ZZ ZZ ZZ ZZ - Developer ID (5 bytes). Use real random bytes.
\r
16 MM MM - Method ID (2 bytes)
\r
18 You can notify 7-Zip developers about your Developer ID / Method ID.
\r
20 Note: Use new ID only if old codec can not decode data encoded with new version.
\r
30 05 - PPC (Big Endian)
\r
32 07 - ARM (little endian)
\r
33 08 - ARM Thumb (little endian)
\r
51 05 - PPC (Big Endian)
\r
59 05 - M68 (Big Endian)
\r
69 01 - experimental methods.
\r
75 00 - Copy (not used). Use {00} instead
\r
81 12 - BZip2 (not used). Use {04 02 02} instead
\r
98 07 - Reserved for 7z
\r
121 F0 - Misc Ciphers (Real Ciphers without hashing algo)
\r
123 F1 - Misc Ciphers (Combine)
\r
125 01 - Main Zip crypto algo
\r
128 03 - Rar29 AES-128 + (modified SHA-1)
\r
130 01 - AES-256 + SHA-256
\r
132 07.. - Hash (subject to change)
\r
144 03 - Rar29 Password Hashing (modified SHA1)
\r
146 01 - SHA-256 Password Hashing
\r