Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

132 lines
2.6 KiB

  1. 7-Zip method IDs (9.24)
  2. -----------------------
  3. Each compression or crypto method in 7z has unique binary value (ID).
  4. The length of ID in bytes is arbitrary but it can not exceed 63 bits (8 bytes).
  5. If you want to add some new ID, you have two ways:
  6. 1) Write request for allocating IDs to 7-zip developers.
  7. 2) Generate 8-bytes ID:
  8. 3F ZZ ZZ ZZ ZZ ZZ MM MM
  9. 3F - Prefix for random IDs (1 byte)
  10. ZZ ZZ ZZ ZZ ZZ - Developer ID (5 bytes). Use real random bytes.
  11. MM MM - Method ID (2 bytes)
  12. You can notify 7-Zip developers about your Developer ID / Method ID.
  13. Note: Use new ID only if old codec can not decode data encoded with new version.
  14. List of defined IDs
  15. -------------------
  16. 00 - Copy
  17. 03 - Delta
  18. 04 - x86 (BCJ)
  19. 05 - PPC (Big Endian)
  20. 06 - IA64
  21. 07 - ARM (little endian)
  22. 08 - ARM Thumb (little endian)
  23. 09 - SPARC
  24. 21 - LZMA2
  25. 02.. - Common
  26. 03 Swap
  27. - 2 Swap2
  28. - 4 Swap4
  29. 03.. - 7z
  30. 01 - LZMA
  31. 01 - Version
  32. 03 - Branch
  33. 01 - x86
  34. 03 - BCJ
  35. 1B - BCJ2
  36. 02 - PPC
  37. 05 - PPC (Big Endian)
  38. 03 - Alpha
  39. 01 - Alpha
  40. 04 - IA64
  41. 01 - IA64
  42. 05 - ARM
  43. 01 - ARM
  44. 06 - M68
  45. 05 - M68 (Big Endian)
  46. 07 - ARM Thumb
  47. 01 - ARMT
  48. 08 - SPARC
  49. 05 - SPARC
  50. 04 - PPMD
  51. 01 - Version
  52. 7F -
  53. 01 - experimental methods.
  54. 04.. - Misc
  55. 00 - Reserved
  56. 01 - Zip
  57. 00 - Copy (not used). Use {00} instead
  58. 01 - Shrink
  59. 06 - Implode
  60. 08 - Deflate
  61. 09 - Deflate64
  62. 10 - Imploding
  63. 12 - BZip2 (not used). Use {04 02 02} instead
  64. 14 - LZMA
  65. 60 - Jpeg
  66. 61 - WavPack
  67. 62 - PPMd
  68. 63 - wzAES
  69. 02 - BZip
  70. 02 - BZip2
  71. 03 - Rar
  72. 01 - Rar15
  73. 02 - Rar20
  74. 03 - Rar29
  75. 04 - Arj
  76. 01 - Arj (1,2,3)
  77. 02 - Arj 4
  78. 05 - Z
  79. 06 - Lzh
  80. 07 - Reserved for 7z
  81. 08 - Cab
  82. 09 - NSIS
  83. 01 - DeflateNSIS
  84. 02 - BZip2NSIS
  85. 06.. - Crypto
  86. F0 - Ciphers without hashing algo
  87. 01 - AES
  88. 0x - AES-128
  89. 4x - AES-192
  90. 8x - AES-256
  91. Cx - AES
  92. x0 - ECB
  93. x1 - CBC
  94. x2 - CFB
  95. x3 - OFB
  96. x4 - CTR
  97. F1 - Combine Ciphers
  98. 01 - Zip
  99. 01 - Main Zip crypto algo
  100. 03 - RAR
  101. 02 -
  102. 03 - Rar29 AES-128 + (modified SHA-1)
  103. 07 - 7z
  104. 01 - AES-256 + SHA-256
  105. ---
  106. End of document