ooxml_crypt 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (264) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE.txt +21 -0
  4. data/README.md +58 -0
  5. data/Rakefile +12 -0
  6. data/bin/console +15 -0
  7. data/bin/setup +8 -0
  8. data/ext/ooxml_crypt/extconf.rb +18 -0
  9. data/ext/ooxml_crypt/ooxml_crypt.c +27 -0
  10. data/ext/ooxml_crypt/ooxml_crypt.h +7 -0
  11. data/lib/ooxml_crypt/version.rb +5 -0
  12. data/lib/ooxml_crypt.rb +75 -0
  13. data/vendor/cybozulib/.github/workflows/main.yml +12 -0
  14. data/vendor/cybozulib/.gitignore +5 -0
  15. data/vendor/cybozulib/CMakeLists.txt +6 -0
  16. data/vendor/cybozulib/COPYRIGHT +27 -0
  17. data/vendor/cybozulib/Makefile +26 -0
  18. data/vendor/cybozulib/bin/libeay32.dll +0 -0
  19. data/vendor/cybozulib/bin/libmecab.dll +0 -0
  20. data/vendor/cybozulib/bin/ssleay32.dll +0 -0
  21. data/vendor/cybozulib/common.mk +116 -0
  22. data/vendor/cybozulib/common.props +25 -0
  23. data/vendor/cybozulib/cybozulib.sln +286 -0
  24. data/vendor/cybozulib/debug.props +14 -0
  25. data/vendor/cybozulib/include/cybozu/array.hpp +197 -0
  26. data/vendor/cybozulib/include/cybozu/atoi.hpp +238 -0
  27. data/vendor/cybozulib/include/cybozu/atomic.hpp +146 -0
  28. data/vendor/cybozulib/include/cybozu/base64.hpp +210 -0
  29. data/vendor/cybozulib/include/cybozu/benchmark.hpp +212 -0
  30. data/vendor/cybozulib/include/cybozu/bfd.hpp +105 -0
  31. data/vendor/cybozulib/include/cybozu/bit_operation.hpp +139 -0
  32. data/vendor/cybozulib/include/cybozu/bitvector.hpp +358 -0
  33. data/vendor/cybozulib/include/cybozu/condition_variable.hpp +113 -0
  34. data/vendor/cybozulib/include/cybozu/condition_variable_cs.hpp +74 -0
  35. data/vendor/cybozulib/include/cybozu/config.hpp +392 -0
  36. data/vendor/cybozulib/include/cybozu/critical_section.hpp +60 -0
  37. data/vendor/cybozulib/include/cybozu/crypto.hpp +321 -0
  38. data/vendor/cybozulib/include/cybozu/csucvector.hpp +624 -0
  39. data/vendor/cybozulib/include/cybozu/csv.hpp +294 -0
  40. data/vendor/cybozulib/include/cybozu/data_type.hpp +27 -0
  41. data/vendor/cybozulib/include/cybozu/endian.hpp +224 -0
  42. data/vendor/cybozulib/include/cybozu/env.hpp +63 -0
  43. data/vendor/cybozulib/include/cybozu/event.hpp +122 -0
  44. data/vendor/cybozulib/include/cybozu/exception.hpp +253 -0
  45. data/vendor/cybozulib/include/cybozu/file.hpp +626 -0
  46. data/vendor/cybozulib/include/cybozu/fmindex.hpp +291 -0
  47. data/vendor/cybozulib/include/cybozu/format.hpp +93 -0
  48. data/vendor/cybozulib/include/cybozu/frequency.hpp +264 -0
  49. data/vendor/cybozulib/include/cybozu/hash.hpp +67 -0
  50. data/vendor/cybozulib/include/cybozu/inttype.hpp +174 -0
  51. data/vendor/cybozulib/include/cybozu/itoa.hpp +336 -0
  52. data/vendor/cybozulib/include/cybozu/json.hpp +120 -0
  53. data/vendor/cybozulib/include/cybozu/line_stream.hpp +149 -0
  54. data/vendor/cybozulib/include/cybozu/link_libeay32.hpp +21 -0
  55. data/vendor/cybozulib/include/cybozu/link_mpir.hpp +18 -0
  56. data/vendor/cybozulib/include/cybozu/link_ssleay32.hpp +19 -0
  57. data/vendor/cybozulib/include/cybozu/log.hpp +237 -0
  58. data/vendor/cybozulib/include/cybozu/minixml.hpp +452 -0
  59. data/vendor/cybozulib/include/cybozu/mmap.hpp +143 -0
  60. data/vendor/cybozulib/include/cybozu/mutex.hpp +144 -0
  61. data/vendor/cybozulib/include/cybozu/nlp/mecab.hpp +96 -0
  62. data/vendor/cybozulib/include/cybozu/nlp/plsi.hpp +315 -0
  63. data/vendor/cybozulib/include/cybozu/nlp/random.hpp +74 -0
  64. data/vendor/cybozulib/include/cybozu/nlp/sparse.hpp +529 -0
  65. data/vendor/cybozulib/include/cybozu/nlp/svd.hpp +486 -0
  66. data/vendor/cybozulib/include/cybozu/nlp/tfidf.hpp +226 -0
  67. data/vendor/cybozulib/include/cybozu/nlp/top_score.hpp +75 -0
  68. data/vendor/cybozulib/include/cybozu/option.hpp +743 -0
  69. data/vendor/cybozulib/include/cybozu/parallel.hpp +88 -0
  70. data/vendor/cybozulib/include/cybozu/pcg.hpp +72 -0
  71. data/vendor/cybozulib/include/cybozu/process.hpp +324 -0
  72. data/vendor/cybozulib/include/cybozu/quit_signal_handler.hpp +66 -0
  73. data/vendor/cybozulib/include/cybozu/random_generator.hpp +144 -0
  74. data/vendor/cybozulib/include/cybozu/regex.hpp +463 -0
  75. data/vendor/cybozulib/include/cybozu/select8.hpp +279 -0
  76. data/vendor/cybozulib/include/cybozu/serializer.hpp +363 -0
  77. data/vendor/cybozulib/include/cybozu/sha1.hpp +209 -0
  78. data/vendor/cybozulib/include/cybozu/sha2.hpp +506 -0
  79. data/vendor/cybozulib/include/cybozu/siphash.hpp +105 -0
  80. data/vendor/cybozulib/include/cybozu/socket.hpp +785 -0
  81. data/vendor/cybozulib/include/cybozu/ssl.hpp +203 -0
  82. data/vendor/cybozulib/include/cybozu/stacktrace.hpp +291 -0
  83. data/vendor/cybozulib/include/cybozu/stream.hpp +269 -0
  84. data/vendor/cybozulib/include/cybozu/string.hpp +1746 -0
  85. data/vendor/cybozulib/include/cybozu/string_operation.hpp +365 -0
  86. data/vendor/cybozulib/include/cybozu/sucvector.hpp +378 -0
  87. data/vendor/cybozulib/include/cybozu/test.hpp +373 -0
  88. data/vendor/cybozulib/include/cybozu/thread.hpp +229 -0
  89. data/vendor/cybozulib/include/cybozu/time.hpp +281 -0
  90. data/vendor/cybozulib/include/cybozu/tls.hpp +115 -0
  91. data/vendor/cybozulib/include/cybozu/unordered_map.hpp +13 -0
  92. data/vendor/cybozulib/include/cybozu/unordered_set.hpp +13 -0
  93. data/vendor/cybozulib/include/cybozu/v128.hpp +376 -0
  94. data/vendor/cybozulib/include/cybozu/wavelet_matrix.hpp +345 -0
  95. data/vendor/cybozulib/include/cybozu/xorshift.hpp +189 -0
  96. data/vendor/cybozulib/include/cybozu/zlib.hpp +325 -0
  97. data/vendor/cybozulib/include/sais.hxx +364 -0
  98. data/vendor/cybozulib/misc/make_select8tbl.cpp +26 -0
  99. data/vendor/cybozulib/mk.bat +37 -0
  100. data/vendor/cybozulib/readme.md +29 -0
  101. data/vendor/cybozulib/release.props +12 -0
  102. data/vendor/cybozulib/sample/Makefile +30 -0
  103. data/vendor/cybozulib/sample/csucvector_smpl.cpp +42 -0
  104. data/vendor/cybozulib/sample/data/svd/org/test1.S +4 -0
  105. data/vendor/cybozulib/sample/data/svd/org/test1.U +4 -0
  106. data/vendor/cybozulib/sample/data/svd/org/test1.V +6 -0
  107. data/vendor/cybozulib/sample/data/svd/test1 +4 -0
  108. data/vendor/cybozulib/sample/data/svd/test2 +4 -0
  109. data/vendor/cybozulib/sample/desymbol.cpp +127 -0
  110. data/vendor/cybozulib/sample/exception_smpl.cpp +46 -0
  111. data/vendor/cybozulib/sample/fmindex_smpl.cpp +231 -0
  112. data/vendor/cybozulib/sample/log_smpl.cpp +19 -0
  113. data/vendor/cybozulib/sample/mecab_smpl.cpp +37 -0
  114. data/vendor/cybozulib/sample/option2_smpl.cpp +68 -0
  115. data/vendor/cybozulib/sample/option_smpl.cpp +42 -0
  116. data/vendor/cybozulib/sample/plsi_smpl.cpp +207 -0
  117. data/vendor/cybozulib/sample/proj/exception_smpl.vcproj +184 -0
  118. data/vendor/cybozulib/sample/proj/mecab_smpl.vcproj +184 -0
  119. data/vendor/cybozulib/sample/proj/ssl_smpl/ssl_smpl.vcxproj +85 -0
  120. data/vendor/cybozulib/sample/proj/ssl_smpl.vcproj +347 -0
  121. data/vendor/cybozulib/sample/proj/stacktrace_smpl/stacktrace_smpl.vcxproj +85 -0
  122. data/vendor/cybozulib/sample/proj/svd_smpl.vcproj +184 -0
  123. data/vendor/cybozulib/sample/quit_signal_handler.cpp +30 -0
  124. data/vendor/cybozulib/sample/serializer_smpl.cpp +196 -0
  125. data/vendor/cybozulib/sample/socket_smpl.cpp +82 -0
  126. data/vendor/cybozulib/sample/ssl_smpl.cpp +39 -0
  127. data/vendor/cybozulib/sample/stacktrace_smpl.cpp +52 -0
  128. data/vendor/cybozulib/sample/svd_bench_smpl.cpp +143 -0
  129. data/vendor/cybozulib/sample/svd_smpl.cpp +94 -0
  130. data/vendor/cybozulib/sample/wm_bench_smpl.cpp +182 -0
  131. data/vendor/cybozulib/sample/zlib_smpl.cpp +41 -0
  132. data/vendor/cybozulib/src/Makefile +8 -0
  133. data/vendor/cybozulib/src/base/Makefile +19 -0
  134. data/vendor/cybozulib/test/Makefile +12 -0
  135. data/vendor/cybozulib/test/base/Makefile +37 -0
  136. data/vendor/cybozulib/test/base/array_test.cpp +173 -0
  137. data/vendor/cybozulib/test/base/atoi_test.cpp +774 -0
  138. data/vendor/cybozulib/test/base/atomic_test.cpp +49 -0
  139. data/vendor/cybozulib/test/base/base64_test.cpp +113 -0
  140. data/vendor/cybozulib/test/base/bit_operation_test.cpp +134 -0
  141. data/vendor/cybozulib/test/base/bitvector_test.cpp +204 -0
  142. data/vendor/cybozulib/test/base/condition_variable_cs_test.cpp +92 -0
  143. data/vendor/cybozulib/test/base/condition_variable_test.cpp +88 -0
  144. data/vendor/cybozulib/test/base/config_test.cpp +236 -0
  145. data/vendor/cybozulib/test/base/crypto_test.cpp +122 -0
  146. data/vendor/cybozulib/test/base/csucvector_test.cpp +63 -0
  147. data/vendor/cybozulib/test/base/csv_test.cpp +182 -0
  148. data/vendor/cybozulib/test/base/data/a.xml +26 -0
  149. data/vendor/cybozulib/test/base/endian_test.cpp +56 -0
  150. data/vendor/cybozulib/test/base/env_test.cpp +22 -0
  151. data/vendor/cybozulib/test/base/event_test.cpp +41 -0
  152. data/vendor/cybozulib/test/base/file_test.cpp +233 -0
  153. data/vendor/cybozulib/test/base/fmindex_test.cpp +118 -0
  154. data/vendor/cybozulib/test/base/format_test.cpp +12 -0
  155. data/vendor/cybozulib/test/base/frequency_test.cpp +104 -0
  156. data/vendor/cybozulib/test/base/itoa_test.cpp +522 -0
  157. data/vendor/cybozulib/test/base/line_stream_test.cpp +208 -0
  158. data/vendor/cybozulib/test/base/mecab_test.cpp +41 -0
  159. data/vendor/cybozulib/test/base/minixml_test.cpp +103 -0
  160. data/vendor/cybozulib/test/base/mmap_test.cpp +15 -0
  161. data/vendor/cybozulib/test/base/option_test.cpp +487 -0
  162. data/vendor/cybozulib/test/base/parallel_test.cpp +48 -0
  163. data/vendor/cybozulib/test/base/proj/array_test/array_test.vcxproj +86 -0
  164. data/vendor/cybozulib/test/base/proj/atoi_test/atoi_test.vcxproj +86 -0
  165. data/vendor/cybozulib/test/base/proj/atomic_test/atomic_test.vcxproj +86 -0
  166. data/vendor/cybozulib/test/base/proj/base64_test/base64_test.vcxproj +86 -0
  167. data/vendor/cybozulib/test/base/proj/condition_variable_cs_test/condition_variable_cs_test.vcxproj +86 -0
  168. data/vendor/cybozulib/test/base/proj/condition_variable_test/condition_variable_test.vcxproj +86 -0
  169. data/vendor/cybozulib/test/base/proj/config_test/config_test.vcxproj +86 -0
  170. data/vendor/cybozulib/test/base/proj/csv_test/csv_test.vcxproj +86 -0
  171. data/vendor/cybozulib/test/base/proj/endian_test/endian_test.vcxproj +86 -0
  172. data/vendor/cybozulib/test/base/proj/env_test/env_test.vcxproj +86 -0
  173. data/vendor/cybozulib/test/base/proj/event_test/event_test.vcxproj +86 -0
  174. data/vendor/cybozulib/test/base/proj/file_test/file_test.vcxproj +86 -0
  175. data/vendor/cybozulib/test/base/proj/itoa_test/itoa_test.vcxproj +86 -0
  176. data/vendor/cybozulib/test/base/proj/mecab_test/mecab_test.vcxproj +88 -0
  177. data/vendor/cybozulib/test/base/proj/minixml_test/minixml_test.vcxproj +86 -0
  178. data/vendor/cybozulib/test/base/proj/mmap_test/mmap_test.vcxproj +86 -0
  179. data/vendor/cybozulib/test/base/proj/serializer_test/serializer_test.vcxproj +86 -0
  180. data/vendor/cybozulib/test/base/proj/sha1_test/sha1_test.vcxproj +86 -0
  181. data/vendor/cybozulib/test/base/proj/stream_test/stream_test.vcxproj +86 -0
  182. data/vendor/cybozulib/test/base/proj/string_operation_test/string_operation_test.vcxproj +86 -0
  183. data/vendor/cybozulib/test/base/proj/string_test/string_test.vcxproj +86 -0
  184. data/vendor/cybozulib/test/base/proj/thread_test/thread_test.vcxproj +86 -0
  185. data/vendor/cybozulib/test/base/proj/time_test/time_test.vcxproj +86 -0
  186. data/vendor/cybozulib/test/base/proj/tls_test/tls_test.vcxproj +86 -0
  187. data/vendor/cybozulib/test/base/proj/zlib_test/zlib_test.vcxproj +86 -0
  188. data/vendor/cybozulib/test/base/random_generator_test.cpp +28 -0
  189. data/vendor/cybozulib/test/base/regex_test.cpp +74 -0
  190. data/vendor/cybozulib/test/base/serializer_test.cpp +483 -0
  191. data/vendor/cybozulib/test/base/sha1_test.cpp +61 -0
  192. data/vendor/cybozulib/test/base/sha2_test.cpp +191 -0
  193. data/vendor/cybozulib/test/base/siphash_test.cpp +33 -0
  194. data/vendor/cybozulib/test/base/socket_test.cpp +76 -0
  195. data/vendor/cybozulib/test/base/stream_test.cpp +101 -0
  196. data/vendor/cybozulib/test/base/string_operation_test.cpp +340 -0
  197. data/vendor/cybozulib/test/base/string_test.cpp +1705 -0
  198. data/vendor/cybozulib/test/base/sucvector_test.cpp +312 -0
  199. data/vendor/cybozulib/test/base/thread_test.cpp +62 -0
  200. data/vendor/cybozulib/test/base/time_test.cpp +164 -0
  201. data/vendor/cybozulib/test/base/tls_test.cpp +50 -0
  202. data/vendor/cybozulib/test/base/wavelet_matrix_test.cpp +145 -0
  203. data/vendor/cybozulib/test/base/zlib_test.cpp +371 -0
  204. data/vendor/cybozulib/test/nlp/Makefile +27 -0
  205. data/vendor/cybozulib/test/nlp/proj/random_test.vcproj +184 -0
  206. data/vendor/cybozulib/test/nlp/proj/sparse_test.vcproj +184 -0
  207. data/vendor/cybozulib/test/nlp/proj/svd_test.vcproj +184 -0
  208. data/vendor/cybozulib/test/nlp/random_test.cpp +62 -0
  209. data/vendor/cybozulib/test/nlp/sparse_test.cpp +347 -0
  210. data/vendor/cybozulib/test/nlp/svd_test.cpp +234 -0
  211. data/vendor/cybozulib/test/nlp/top_score_test.cpp +40 -0
  212. data/vendor/cybozulib/tool/create_vcproj.py +186 -0
  213. data/vendor/cybozulib/tool/vcproj_tmpl.py +185 -0
  214. data/vendor/msoffice/COPYRIGHT +27 -0
  215. data/vendor/msoffice/Makefile +29 -0
  216. data/vendor/msoffice/bin/64/msoc.dll +0 -0
  217. data/vendor/msoffice/bin/64/msocsample.exe +0 -0
  218. data/vendor/msoffice/bin/64/msoffice-crypt.exe +0 -0
  219. data/vendor/msoffice/bin/msoc.dll +0 -0
  220. data/vendor/msoffice/bin/msocsample.exe +0 -0
  221. data/vendor/msoffice/bin/msoffice-crypt.exe +0 -0
  222. data/vendor/msoffice/common.mk +71 -0
  223. data/vendor/msoffice/common.props +26 -0
  224. data/vendor/msoffice/debug.props +14 -0
  225. data/vendor/msoffice/include/attack.hpp +211 -0
  226. data/vendor/msoffice/include/cfb.hpp +777 -0
  227. data/vendor/msoffice/include/crypto_util.hpp +450 -0
  228. data/vendor/msoffice/include/custom_sha1.hpp +342 -0
  229. data/vendor/msoffice/include/decode.hpp +240 -0
  230. data/vendor/msoffice/include/encode.hpp +221 -0
  231. data/vendor/msoffice/include/make_dataspace.hpp +316 -0
  232. data/vendor/msoffice/include/msoc.h +129 -0
  233. data/vendor/msoffice/include/resource.hpp +7 -0
  234. data/vendor/msoffice/include/standard_encryption.hpp +145 -0
  235. data/vendor/msoffice/include/uint32vec.hpp +179 -0
  236. data/vendor/msoffice/include/util.hpp +212 -0
  237. data/vendor/msoffice/lib/.emptydir +0 -0
  238. data/vendor/msoffice/misc/decrypt-xls.vbs +46 -0
  239. data/vendor/msoffice/mk.bat +1 -0
  240. data/vendor/msoffice/mkdll.bat +3 -0
  241. data/vendor/msoffice/msoc.def +13 -0
  242. data/vendor/msoffice/msocsample.py +178 -0
  243. data/vendor/msoffice/msoffice12.sln +31 -0
  244. data/vendor/msoffice/readme.md +110 -0
  245. data/vendor/msoffice/release.props +28 -0
  246. data/vendor/msoffice/src/Makefile +19 -0
  247. data/vendor/msoffice/src/attack.cpp +124 -0
  248. data/vendor/msoffice/src/cfb_test.cpp +77 -0
  249. data/vendor/msoffice/src/minisample.c +54 -0
  250. data/vendor/msoffice/src/msocdll.cpp +276 -0
  251. data/vendor/msoffice/src/msocsample.c +136 -0
  252. data/vendor/msoffice/src/msoffice-crypt.cpp +219 -0
  253. data/vendor/msoffice/src/proj/attack/attack.vcxproj +88 -0
  254. data/vendor/msoffice/src/proj/main/msoffice-crypt.vcxproj +88 -0
  255. data/vendor/msoffice/src/sha1.cpp +234 -0
  256. data/vendor/msoffice/test/Makefile +20 -0
  257. data/vendor/msoffice/test/cfb_test.cpp +74 -0
  258. data/vendor/msoffice/test/hash_test.cpp +59 -0
  259. data/vendor/msoffice/test/proj/cfb/cfb_test.vcxproj +90 -0
  260. data/vendor/msoffice/test/proj/hash/hash_test.vcxproj +90 -0
  261. data/vendor/msoffice/test/sampl.bat +8 -0
  262. data/vendor/msoffice/test_all.py +46 -0
  263. data/vendor/update +4 -0
  264. metadata +351 -0
@@ -0,0 +1,90 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup Label="ProjectConfigurations">
4
+ <ProjectConfiguration Include="Debug|x64">
5
+ <Configuration>Debug</Configuration>
6
+ <Platform>x64</Platform>
7
+ </ProjectConfiguration>
8
+ <ProjectConfiguration Include="Release|x64">
9
+ <Configuration>Release</Configuration>
10
+ <Platform>x64</Platform>
11
+ </ProjectConfiguration>
12
+ </ItemGroup>
13
+ <PropertyGroup Label="Globals">
14
+ <ProjectGuid>{3964602A-8554-4AB5-BB10-E4A24CFBCA4F}</ProjectGuid>
15
+ <Keyword>Win32Proj</Keyword>
16
+ <RootNamespace>hash_test</RootNamespace>
17
+ </PropertyGroup>
18
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
19
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
20
+ <ConfigurationType>Application</ConfigurationType>
21
+ <UseDebugLibraries>true</UseDebugLibraries>
22
+ <PlatformToolset>v110</PlatformToolset>
23
+ <CharacterSet>MultiByte</CharacterSet>
24
+ </PropertyGroup>
25
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
26
+ <ConfigurationType>Application</ConfigurationType>
27
+ <UseDebugLibraries>false</UseDebugLibraries>
28
+ <PlatformToolset>v110</PlatformToolset>
29
+ <WholeProgramOptimization>true</WholeProgramOptimization>
30
+ <CharacterSet>MultiByte</CharacterSet>
31
+ </PropertyGroup>
32
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
33
+ <ImportGroup Label="ExtensionSettings">
34
+ </ImportGroup>
35
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
36
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
37
+ <Import Project="..\..\..\common.props" />
38
+ <Import Project="..\..\..\debug.props" />
39
+ </ImportGroup>
40
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
41
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
42
+ <Import Project="..\..\..\common.props" />
43
+ <Import Project="..\..\..\release.props" />
44
+ </ImportGroup>
45
+ <PropertyGroup Label="UserMacros" />
46
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
47
+ <LinkIncremental>true</LinkIncremental>
48
+ </PropertyGroup>
49
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
50
+ <LinkIncremental>false</LinkIncremental>
51
+ </PropertyGroup>
52
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
53
+ <ClCompile>
54
+ <PrecompiledHeader>
55
+ </PrecompiledHeader>
56
+ <WarningLevel>Level4</WarningLevel>
57
+ <Optimization>Disabled</Optimization>
58
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions);NOMINMAX</PreprocessorDefinitions>
59
+ <AdditionalIncludeDirectories>$(SolutionDir)include;$(SolutionDir)..\cybozulib\include;$(SolutionDir)..\cybozulib_ext\openssl\include</AdditionalIncludeDirectories>
60
+ </ClCompile>
61
+ <Link>
62
+ <SubSystem>Console</SubSystem>
63
+ <GenerateDebugInformation>true</GenerateDebugInformation>
64
+ </Link>
65
+ </ItemDefinitionGroup>
66
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
67
+ <ClCompile>
68
+ <WarningLevel>Level4</WarningLevel>
69
+ <PrecompiledHeader>
70
+ </PrecompiledHeader>
71
+ <Optimization>MaxSpeed</Optimization>
72
+ <FunctionLevelLinking>true</FunctionLevelLinking>
73
+ <IntrinsicFunctions>true</IntrinsicFunctions>
74
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions);NOMINMAX</PreprocessorDefinitions>
75
+ <AdditionalIncludeDirectories>$(SolutionDir)include;$(SolutionDir)..\cybozulib\include;$(SolutionDir)..\cybozulib_ext\openssl\include</AdditionalIncludeDirectories>
76
+ </ClCompile>
77
+ <Link>
78
+ <SubSystem>Console</SubSystem>
79
+ <GenerateDebugInformation>true</GenerateDebugInformation>
80
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
81
+ <OptimizeReferences>true</OptimizeReferences>
82
+ </Link>
83
+ </ItemDefinitionGroup>
84
+ <ItemGroup>
85
+ <ClCompile Include="..\..\hash_test.cpp" />
86
+ </ItemGroup>
87
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
88
+ <ImportGroup Label="ExtensionTargets">
89
+ </ImportGroup>
90
+ </Project>
@@ -0,0 +1,8 @@
1
+ python bin\msocsample.py enc b.xlsx c.xlsx test
2
+ python bin\msocsample.py opt c.xlsx test
3
+ python bin\msocsample.py dec c.xlsx d.xlsx test
4
+ diff b.xlsx d.xlsx
5
+ python bin\msocsample.py enc b.xlsx c.xlsx test -sc 12345 -sk 12ab
6
+ python bin\msocsample.py opt c.xlsx test
7
+ python bin\msocsample.py dec-sk c.xlsx d.xlsx 12ab
8
+ diff b.xlsx d.xlsx
@@ -0,0 +1,46 @@
1
+ import os, sys, subprocess
2
+
3
+ EXE='bin/msoffice-crypt.exe'
4
+ INP='data'
5
+ OUT='out'
6
+
7
+ try:
8
+ os.mkdir(OUT)
9
+ except:
10
+ pass
11
+
12
+ def verify(name):
13
+ [base,suf] = name.split('.')
14
+ print base, suf
15
+ enc1 = INP + '/' + base + '.' + suf
16
+ dec1 = OUT + '/' + base + '.' + suf
17
+ enc2 = OUT + '/' + base + '_e.' + suf
18
+ dec2 = OUT + '/' + base + '_d.' + suf
19
+ ps1='test'
20
+ ps2='test2'
21
+ subprocess.check_call([EXE, "-d", "-p", ps1, enc1, dec1])
22
+ subprocess.check_call([EXE, "-e", "-p", ps2, dec1, enc2])
23
+ subprocess.check_call([EXE, "-d", "-p", ps2, enc2, dec2])
24
+ data1 = open(dec1, 'rb').read()
25
+ data2 = open(dec2, 'rb').read()
26
+ print "size", len(data1)
27
+ if data1 != data2:
28
+ print "bad decode:not equal", dec1, dec2
29
+ exit(1)
30
+
31
+ def main():
32
+
33
+ if len(sys.argv) == 1:
34
+ files = [file for file in os.listdir(INP) if file.endswith('x')]
35
+ else:
36
+ files = [sys.argv[1].replace('\\', '/').split('/')[-1]]
37
+
38
+ try:
39
+ for file in files:
40
+ verify(file)
41
+ except Exception as e:
42
+ print e
43
+ exit(1)
44
+
45
+ if __name__ == '__main__':
46
+ main()
data/vendor/update ADDED
@@ -0,0 +1,4 @@
1
+ #!/bin/bash
2
+ cd $(git rev-parse --show-toplevel)
3
+ git subtree pull --prefix vendor/cybozulib https://github.com/herumi/cybozulib.git master
4
+ git subtree pull --prefix vendor/msoffice https://github.com/herumi/msoffice.git master
metadata ADDED
@@ -0,0 +1,351 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ooxml_crypt
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Ashish Kulkarni
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-03-02 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.2'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '13.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '13.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake-compiler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.1'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.1'
55
+ description:
56
+ email:
57
+ - ashish@kulkarni.dev
58
+ executables: []
59
+ extensions:
60
+ - ext/ooxml_crypt/extconf.rb
61
+ extra_rdoc_files: []
62
+ files:
63
+ - Gemfile
64
+ - LICENSE.txt
65
+ - README.md
66
+ - Rakefile
67
+ - bin/console
68
+ - bin/setup
69
+ - ext/ooxml_crypt/extconf.rb
70
+ - ext/ooxml_crypt/ooxml_crypt.c
71
+ - ext/ooxml_crypt/ooxml_crypt.h
72
+ - lib/ooxml_crypt.rb
73
+ - lib/ooxml_crypt/version.rb
74
+ - vendor/cybozulib/.github/workflows/main.yml
75
+ - vendor/cybozulib/.gitignore
76
+ - vendor/cybozulib/CMakeLists.txt
77
+ - vendor/cybozulib/COPYRIGHT
78
+ - vendor/cybozulib/Makefile
79
+ - vendor/cybozulib/bin/libeay32.dll
80
+ - vendor/cybozulib/bin/libmecab.dll
81
+ - vendor/cybozulib/bin/ssleay32.dll
82
+ - vendor/cybozulib/common.mk
83
+ - vendor/cybozulib/common.props
84
+ - vendor/cybozulib/cybozulib.sln
85
+ - vendor/cybozulib/debug.props
86
+ - vendor/cybozulib/include/cybozu/array.hpp
87
+ - vendor/cybozulib/include/cybozu/atoi.hpp
88
+ - vendor/cybozulib/include/cybozu/atomic.hpp
89
+ - vendor/cybozulib/include/cybozu/base64.hpp
90
+ - vendor/cybozulib/include/cybozu/benchmark.hpp
91
+ - vendor/cybozulib/include/cybozu/bfd.hpp
92
+ - vendor/cybozulib/include/cybozu/bit_operation.hpp
93
+ - vendor/cybozulib/include/cybozu/bitvector.hpp
94
+ - vendor/cybozulib/include/cybozu/condition_variable.hpp
95
+ - vendor/cybozulib/include/cybozu/condition_variable_cs.hpp
96
+ - vendor/cybozulib/include/cybozu/config.hpp
97
+ - vendor/cybozulib/include/cybozu/critical_section.hpp
98
+ - vendor/cybozulib/include/cybozu/crypto.hpp
99
+ - vendor/cybozulib/include/cybozu/csucvector.hpp
100
+ - vendor/cybozulib/include/cybozu/csv.hpp
101
+ - vendor/cybozulib/include/cybozu/data_type.hpp
102
+ - vendor/cybozulib/include/cybozu/endian.hpp
103
+ - vendor/cybozulib/include/cybozu/env.hpp
104
+ - vendor/cybozulib/include/cybozu/event.hpp
105
+ - vendor/cybozulib/include/cybozu/exception.hpp
106
+ - vendor/cybozulib/include/cybozu/file.hpp
107
+ - vendor/cybozulib/include/cybozu/fmindex.hpp
108
+ - vendor/cybozulib/include/cybozu/format.hpp
109
+ - vendor/cybozulib/include/cybozu/frequency.hpp
110
+ - vendor/cybozulib/include/cybozu/hash.hpp
111
+ - vendor/cybozulib/include/cybozu/inttype.hpp
112
+ - vendor/cybozulib/include/cybozu/itoa.hpp
113
+ - vendor/cybozulib/include/cybozu/json.hpp
114
+ - vendor/cybozulib/include/cybozu/line_stream.hpp
115
+ - vendor/cybozulib/include/cybozu/link_libeay32.hpp
116
+ - vendor/cybozulib/include/cybozu/link_mpir.hpp
117
+ - vendor/cybozulib/include/cybozu/link_ssleay32.hpp
118
+ - vendor/cybozulib/include/cybozu/log.hpp
119
+ - vendor/cybozulib/include/cybozu/minixml.hpp
120
+ - vendor/cybozulib/include/cybozu/mmap.hpp
121
+ - vendor/cybozulib/include/cybozu/mutex.hpp
122
+ - vendor/cybozulib/include/cybozu/nlp/mecab.hpp
123
+ - vendor/cybozulib/include/cybozu/nlp/plsi.hpp
124
+ - vendor/cybozulib/include/cybozu/nlp/random.hpp
125
+ - vendor/cybozulib/include/cybozu/nlp/sparse.hpp
126
+ - vendor/cybozulib/include/cybozu/nlp/svd.hpp
127
+ - vendor/cybozulib/include/cybozu/nlp/tfidf.hpp
128
+ - vendor/cybozulib/include/cybozu/nlp/top_score.hpp
129
+ - vendor/cybozulib/include/cybozu/option.hpp
130
+ - vendor/cybozulib/include/cybozu/parallel.hpp
131
+ - vendor/cybozulib/include/cybozu/pcg.hpp
132
+ - vendor/cybozulib/include/cybozu/process.hpp
133
+ - vendor/cybozulib/include/cybozu/quit_signal_handler.hpp
134
+ - vendor/cybozulib/include/cybozu/random_generator.hpp
135
+ - vendor/cybozulib/include/cybozu/regex.hpp
136
+ - vendor/cybozulib/include/cybozu/select8.hpp
137
+ - vendor/cybozulib/include/cybozu/serializer.hpp
138
+ - vendor/cybozulib/include/cybozu/sha1.hpp
139
+ - vendor/cybozulib/include/cybozu/sha2.hpp
140
+ - vendor/cybozulib/include/cybozu/siphash.hpp
141
+ - vendor/cybozulib/include/cybozu/socket.hpp
142
+ - vendor/cybozulib/include/cybozu/ssl.hpp
143
+ - vendor/cybozulib/include/cybozu/stacktrace.hpp
144
+ - vendor/cybozulib/include/cybozu/stream.hpp
145
+ - vendor/cybozulib/include/cybozu/string.hpp
146
+ - vendor/cybozulib/include/cybozu/string_operation.hpp
147
+ - vendor/cybozulib/include/cybozu/sucvector.hpp
148
+ - vendor/cybozulib/include/cybozu/test.hpp
149
+ - vendor/cybozulib/include/cybozu/thread.hpp
150
+ - vendor/cybozulib/include/cybozu/time.hpp
151
+ - vendor/cybozulib/include/cybozu/tls.hpp
152
+ - vendor/cybozulib/include/cybozu/unordered_map.hpp
153
+ - vendor/cybozulib/include/cybozu/unordered_set.hpp
154
+ - vendor/cybozulib/include/cybozu/v128.hpp
155
+ - vendor/cybozulib/include/cybozu/wavelet_matrix.hpp
156
+ - vendor/cybozulib/include/cybozu/xorshift.hpp
157
+ - vendor/cybozulib/include/cybozu/zlib.hpp
158
+ - vendor/cybozulib/include/sais.hxx
159
+ - vendor/cybozulib/misc/make_select8tbl.cpp
160
+ - vendor/cybozulib/mk.bat
161
+ - vendor/cybozulib/readme.md
162
+ - vendor/cybozulib/release.props
163
+ - vendor/cybozulib/sample/Makefile
164
+ - vendor/cybozulib/sample/csucvector_smpl.cpp
165
+ - vendor/cybozulib/sample/data/svd/org/test1.S
166
+ - vendor/cybozulib/sample/data/svd/org/test1.U
167
+ - vendor/cybozulib/sample/data/svd/org/test1.V
168
+ - vendor/cybozulib/sample/data/svd/test1
169
+ - vendor/cybozulib/sample/data/svd/test2
170
+ - vendor/cybozulib/sample/desymbol.cpp
171
+ - vendor/cybozulib/sample/exception_smpl.cpp
172
+ - vendor/cybozulib/sample/fmindex_smpl.cpp
173
+ - vendor/cybozulib/sample/log_smpl.cpp
174
+ - vendor/cybozulib/sample/mecab_smpl.cpp
175
+ - vendor/cybozulib/sample/option2_smpl.cpp
176
+ - vendor/cybozulib/sample/option_smpl.cpp
177
+ - vendor/cybozulib/sample/plsi_smpl.cpp
178
+ - vendor/cybozulib/sample/proj/exception_smpl.vcproj
179
+ - vendor/cybozulib/sample/proj/mecab_smpl.vcproj
180
+ - vendor/cybozulib/sample/proj/ssl_smpl.vcproj
181
+ - vendor/cybozulib/sample/proj/ssl_smpl/ssl_smpl.vcxproj
182
+ - vendor/cybozulib/sample/proj/stacktrace_smpl/stacktrace_smpl.vcxproj
183
+ - vendor/cybozulib/sample/proj/svd_smpl.vcproj
184
+ - vendor/cybozulib/sample/quit_signal_handler.cpp
185
+ - vendor/cybozulib/sample/serializer_smpl.cpp
186
+ - vendor/cybozulib/sample/socket_smpl.cpp
187
+ - vendor/cybozulib/sample/ssl_smpl.cpp
188
+ - vendor/cybozulib/sample/stacktrace_smpl.cpp
189
+ - vendor/cybozulib/sample/svd_bench_smpl.cpp
190
+ - vendor/cybozulib/sample/svd_smpl.cpp
191
+ - vendor/cybozulib/sample/wm_bench_smpl.cpp
192
+ - vendor/cybozulib/sample/zlib_smpl.cpp
193
+ - vendor/cybozulib/src/Makefile
194
+ - vendor/cybozulib/src/base/Makefile
195
+ - vendor/cybozulib/test/Makefile
196
+ - vendor/cybozulib/test/base/Makefile
197
+ - vendor/cybozulib/test/base/array_test.cpp
198
+ - vendor/cybozulib/test/base/atoi_test.cpp
199
+ - vendor/cybozulib/test/base/atomic_test.cpp
200
+ - vendor/cybozulib/test/base/base64_test.cpp
201
+ - vendor/cybozulib/test/base/bit_operation_test.cpp
202
+ - vendor/cybozulib/test/base/bitvector_test.cpp
203
+ - vendor/cybozulib/test/base/condition_variable_cs_test.cpp
204
+ - vendor/cybozulib/test/base/condition_variable_test.cpp
205
+ - vendor/cybozulib/test/base/config_test.cpp
206
+ - vendor/cybozulib/test/base/crypto_test.cpp
207
+ - vendor/cybozulib/test/base/csucvector_test.cpp
208
+ - vendor/cybozulib/test/base/csv_test.cpp
209
+ - vendor/cybozulib/test/base/data/a.xml
210
+ - vendor/cybozulib/test/base/endian_test.cpp
211
+ - vendor/cybozulib/test/base/env_test.cpp
212
+ - vendor/cybozulib/test/base/event_test.cpp
213
+ - vendor/cybozulib/test/base/file_test.cpp
214
+ - vendor/cybozulib/test/base/fmindex_test.cpp
215
+ - vendor/cybozulib/test/base/format_test.cpp
216
+ - vendor/cybozulib/test/base/frequency_test.cpp
217
+ - vendor/cybozulib/test/base/itoa_test.cpp
218
+ - vendor/cybozulib/test/base/line_stream_test.cpp
219
+ - vendor/cybozulib/test/base/mecab_test.cpp
220
+ - vendor/cybozulib/test/base/minixml_test.cpp
221
+ - vendor/cybozulib/test/base/mmap_test.cpp
222
+ - vendor/cybozulib/test/base/option_test.cpp
223
+ - vendor/cybozulib/test/base/parallel_test.cpp
224
+ - vendor/cybozulib/test/base/proj/array_test/array_test.vcxproj
225
+ - vendor/cybozulib/test/base/proj/atoi_test/atoi_test.vcxproj
226
+ - vendor/cybozulib/test/base/proj/atomic_test/atomic_test.vcxproj
227
+ - vendor/cybozulib/test/base/proj/base64_test/base64_test.vcxproj
228
+ - vendor/cybozulib/test/base/proj/condition_variable_cs_test/condition_variable_cs_test.vcxproj
229
+ - vendor/cybozulib/test/base/proj/condition_variable_test/condition_variable_test.vcxproj
230
+ - vendor/cybozulib/test/base/proj/config_test/config_test.vcxproj
231
+ - vendor/cybozulib/test/base/proj/csv_test/csv_test.vcxproj
232
+ - vendor/cybozulib/test/base/proj/endian_test/endian_test.vcxproj
233
+ - vendor/cybozulib/test/base/proj/env_test/env_test.vcxproj
234
+ - vendor/cybozulib/test/base/proj/event_test/event_test.vcxproj
235
+ - vendor/cybozulib/test/base/proj/file_test/file_test.vcxproj
236
+ - vendor/cybozulib/test/base/proj/itoa_test/itoa_test.vcxproj
237
+ - vendor/cybozulib/test/base/proj/mecab_test/mecab_test.vcxproj
238
+ - vendor/cybozulib/test/base/proj/minixml_test/minixml_test.vcxproj
239
+ - vendor/cybozulib/test/base/proj/mmap_test/mmap_test.vcxproj
240
+ - vendor/cybozulib/test/base/proj/serializer_test/serializer_test.vcxproj
241
+ - vendor/cybozulib/test/base/proj/sha1_test/sha1_test.vcxproj
242
+ - vendor/cybozulib/test/base/proj/stream_test/stream_test.vcxproj
243
+ - vendor/cybozulib/test/base/proj/string_operation_test/string_operation_test.vcxproj
244
+ - vendor/cybozulib/test/base/proj/string_test/string_test.vcxproj
245
+ - vendor/cybozulib/test/base/proj/thread_test/thread_test.vcxproj
246
+ - vendor/cybozulib/test/base/proj/time_test/time_test.vcxproj
247
+ - vendor/cybozulib/test/base/proj/tls_test/tls_test.vcxproj
248
+ - vendor/cybozulib/test/base/proj/zlib_test/zlib_test.vcxproj
249
+ - vendor/cybozulib/test/base/random_generator_test.cpp
250
+ - vendor/cybozulib/test/base/regex_test.cpp
251
+ - vendor/cybozulib/test/base/serializer_test.cpp
252
+ - vendor/cybozulib/test/base/sha1_test.cpp
253
+ - vendor/cybozulib/test/base/sha2_test.cpp
254
+ - vendor/cybozulib/test/base/siphash_test.cpp
255
+ - vendor/cybozulib/test/base/socket_test.cpp
256
+ - vendor/cybozulib/test/base/stream_test.cpp
257
+ - vendor/cybozulib/test/base/string_operation_test.cpp
258
+ - vendor/cybozulib/test/base/string_test.cpp
259
+ - vendor/cybozulib/test/base/sucvector_test.cpp
260
+ - vendor/cybozulib/test/base/thread_test.cpp
261
+ - vendor/cybozulib/test/base/time_test.cpp
262
+ - vendor/cybozulib/test/base/tls_test.cpp
263
+ - vendor/cybozulib/test/base/wavelet_matrix_test.cpp
264
+ - vendor/cybozulib/test/base/zlib_test.cpp
265
+ - vendor/cybozulib/test/nlp/Makefile
266
+ - vendor/cybozulib/test/nlp/proj/random_test.vcproj
267
+ - vendor/cybozulib/test/nlp/proj/sparse_test.vcproj
268
+ - vendor/cybozulib/test/nlp/proj/svd_test.vcproj
269
+ - vendor/cybozulib/test/nlp/random_test.cpp
270
+ - vendor/cybozulib/test/nlp/sparse_test.cpp
271
+ - vendor/cybozulib/test/nlp/svd_test.cpp
272
+ - vendor/cybozulib/test/nlp/top_score_test.cpp
273
+ - vendor/cybozulib/tool/create_vcproj.py
274
+ - vendor/cybozulib/tool/vcproj_tmpl.py
275
+ - vendor/msoffice/COPYRIGHT
276
+ - vendor/msoffice/Makefile
277
+ - vendor/msoffice/bin/64/msoc.dll
278
+ - vendor/msoffice/bin/64/msocsample.exe
279
+ - vendor/msoffice/bin/64/msoffice-crypt.exe
280
+ - vendor/msoffice/bin/msoc.dll
281
+ - vendor/msoffice/bin/msocsample.exe
282
+ - vendor/msoffice/bin/msoffice-crypt.exe
283
+ - vendor/msoffice/common.mk
284
+ - vendor/msoffice/common.props
285
+ - vendor/msoffice/debug.props
286
+ - vendor/msoffice/include/attack.hpp
287
+ - vendor/msoffice/include/cfb.hpp
288
+ - vendor/msoffice/include/crypto_util.hpp
289
+ - vendor/msoffice/include/custom_sha1.hpp
290
+ - vendor/msoffice/include/decode.hpp
291
+ - vendor/msoffice/include/encode.hpp
292
+ - vendor/msoffice/include/make_dataspace.hpp
293
+ - vendor/msoffice/include/msoc.h
294
+ - vendor/msoffice/include/resource.hpp
295
+ - vendor/msoffice/include/standard_encryption.hpp
296
+ - vendor/msoffice/include/uint32vec.hpp
297
+ - vendor/msoffice/include/util.hpp
298
+ - vendor/msoffice/lib/.emptydir
299
+ - vendor/msoffice/misc/decrypt-xls.vbs
300
+ - vendor/msoffice/mk.bat
301
+ - vendor/msoffice/mkdll.bat
302
+ - vendor/msoffice/msoc.def
303
+ - vendor/msoffice/msocsample.py
304
+ - vendor/msoffice/msoffice12.sln
305
+ - vendor/msoffice/readme.md
306
+ - vendor/msoffice/release.props
307
+ - vendor/msoffice/src/Makefile
308
+ - vendor/msoffice/src/attack.cpp
309
+ - vendor/msoffice/src/cfb_test.cpp
310
+ - vendor/msoffice/src/minisample.c
311
+ - vendor/msoffice/src/msocdll.cpp
312
+ - vendor/msoffice/src/msocsample.c
313
+ - vendor/msoffice/src/msoffice-crypt.cpp
314
+ - vendor/msoffice/src/proj/attack/attack.vcxproj
315
+ - vendor/msoffice/src/proj/main/msoffice-crypt.vcxproj
316
+ - vendor/msoffice/src/sha1.cpp
317
+ - vendor/msoffice/test/Makefile
318
+ - vendor/msoffice/test/cfb_test.cpp
319
+ - vendor/msoffice/test/hash_test.cpp
320
+ - vendor/msoffice/test/proj/cfb/cfb_test.vcxproj
321
+ - vendor/msoffice/test/proj/hash/hash_test.vcxproj
322
+ - vendor/msoffice/test/sampl.bat
323
+ - vendor/msoffice/test_all.py
324
+ - vendor/update
325
+ homepage: https://github.com/teamsimplepay/ooxml_crypt
326
+ licenses:
327
+ - MIT
328
+ metadata:
329
+ homepage_uri: https://github.com/teamsimplepay/ooxml_crypt
330
+ source_code_uri: https://github.com/teamsimplepay/ooxml_crypt
331
+ post_install_message:
332
+ rdoc_options: []
333
+ require_paths:
334
+ - lib
335
+ required_ruby_version: !ruby/object:Gem::Requirement
336
+ requirements:
337
+ - - ">="
338
+ - !ruby/object:Gem::Version
339
+ version: 2.6.0
340
+ required_rubygems_version: !ruby/object:Gem::Requirement
341
+ requirements:
342
+ - - ">="
343
+ - !ruby/object:Gem::Version
344
+ version: '0'
345
+ requirements: []
346
+ rubygems_version: 3.2.5
347
+ signing_key:
348
+ specification_version: 4
349
+ summary: Library for encrypting/decrypting password-protected Microsoft Office XML
350
+ (OOXML) files (e.g. .docx, .xlsx, .pptx)
351
+ test_files: []