Repository navigation
Expand file tree
/
Copy pathLICENSE
More file actions
45 lines (31 loc) · 2.36 KB
/
Copy pathLICENSE
File metadata and controls
45 lines (31 loc) · 2.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
本仓库采用分层双许可证: MIT + GPL-3.0。
每个文件按下述路径映射归属于且仅归属于其中一个许可证。
═══════════════════════════════════════════════════════════════
一、MIT License (全文见 LICENSE.MIT)
适用路径 —— 算法核心与仿真验证工具:
SecRandom.NewAlgorithm/ 公平抽取权重算法核心 (纯 .NET)
SecRandom.Sim/ 周期制仿真驱动器与指标计算
SecRandom.Sim.Console/ 硬保证验证门禁
SecRandom.Sim.Avalonia/ 仿真可视化工具
tools/ 开发辅助脚本
这些部分可自由用于闭源或商业项目, 只需保留版权与许可声明。
═══════════════════════════════════════════════════════════════
二、GNU General Public License v3 (全文见 LICENSE.GPL-3.0)
适用路径与作品 —— 插件及组合作品:
SecRandom.NewAlgorithm.Plugin/ SecRandom 宿主插件及其全部子目录
此外: 将上述 MIT 部分与插件链接、打包为同一插件包 (.srpx),
或随 SecRandom 宿主程序整体分发而形成的组合作品 (combined work),
依 GPL-3.0 的规定其整体按 GPL-3.0 授权分发。
MIT 部分并入 GPL 组合作品并不丧失其自身的 MIT 授权 ——
单独获取该部分源码的接收者, 仍就该部分单独享有 MIT 下的全部权利。
═══════════════════════════════════════════════════════════════
Licensing summary in English:
- The draw-weight algorithm core (SecRandom.NewAlgorithm/) and the
simulation/verification tooling (SecRandom.Sim*/) are licensed
under the MIT License (see LICENSE.MIT).
- The SecRandom host plugin (SecRandom.NewAlgorithm.Plugin/) and any
combined work that links or packages the plugin together with the
MIT-licensed parts (e.g. an .srpx bundle or a SecRandom
distribution) are licensed under the GNU GPL v3 (see LICENSE.GPL-3.0).
The MIT-licensed parts remain available under MIT when obtained
independently of the combined work.