number571/go-peer

GitHub: number571/go-peer

一个基于 Go 的库,提供构建去中心化、抗量子与匿名网络所需的核心加密与通信原语。

Stars: 320 | Forks: 15

go-peer_logo.png

Anonymity and Security without compromise

Go Release License Build Coverage GoDoc Awesome

GoReportCard Activity Commits Code Lines CodeSize Downloads

VKontakte Telegram

About project

`go-peer` 库包含大量用于确保传输或存储信息安全以及去中心化形式下节点匿名性的必要函数。该库可以分为几个主要的 `pkg` 模块: 1. `crypto` 模块代表加密原语:1) 非对称加密、解密;2) 非对称签名与签名验证;3) 对称加密与解密;4) 哈希;5) 密钥构造;6) 计算问题(谜题);7) 密码学稳定的伪随机数生成器。 2. `crypto/hybrid/client` 模块用于加密和解密带有数据完整性(哈希)和认证(签名)的信息。它是 `anonymity/qb` 模块的基本组成部分。 3. `network` 模块用于网络节点之间的去中心化通信。允许您划分网络并使用网络密钥使信息呈现随机外观。 4. `anonymity/qb` 模块用于基于第五阶段确保匿名性。提供了一组用于在 `anonymity/qb/adapters` 和 `anonymity/qb/queue` 模块之上操作网络的主要功能。 5. `anonymity/qb/queue` 模块代表在达到应用程序指定的时间周期时生成、存储和发布加密消息。使用 `crypto/hybrid/client`、`message/layer1` 和 `message/layer2` 模块。 ## 覆盖范围地图

coverage.svg

## 安装 ``` $ go get github.com/number571/go-peer ``` ## 要求 1. Go 版本 `>= 1.23` ## 发布版本 所有命令行程序均编译为 {`amd64`,`arm64`} 架构和 {`windows`,`linux`,`darwin`} 操作系统,格式为 `appname_arch_os`。总共将一个应用程序编译为六个版本。所有发布版本可在此处找到:[github.com/number571/go-peer/releases](https://github.com/number571/go-peer/releases "releases")。 ## 依赖项 1. Go 库 [go.etcd.io/bbolt](https://github.com/etcd-io/bbolt "bbolt")(由 `pkg/storage/database` 使用) 2. Go 库 [golang.org/x/crypto](https://golang.org/x/crypto "x/crypto")(由 `pkg/crypto/keybuilder` 使用) 3. Go 库 [gopkg.in/yaml.v2](https://gopkg.in/yaml.v2 "yaml.v2")(由 `pkg/encoding` 使用) 4. Go 库 [github.com/cloudflare/circl](https://github.com/cloudflare/circl "circl")(由 `pkg/crypto/asymmetric` 使用) ### Makefile 有许多依赖项代表提供代码质量相关附加信息的独立应用程序。这些应用程序不会集成到项目中,而是通过 `make install-deps` 命令加载。应用程序列表如下: 1. golangci-lint [github.com/golangci/golangci-lint@v2.1.2](https://github.com/golangci/golangci-lint/tree/v2.1.2) 2. go-cover-treemap [github.com/nikolaydubina/go-cover-treemap@v1.4.2](https://github.com/nikolaydubina/go-cover-treemap/tree/v1.4.2) ## 理论著作 1. [隐藏系统结构理论](https://github.com/number571/go-peer/blob/master/docs/theory_of_the_structure_of_hidden_systems.pdf "TotSoHS") 2. [单体密码协议](https://github.com/number571/go-peer/blob/master/docs/monolithic_cryptographic_protocol.pdf "MCP") 3. [匿名网络抽象](https://github.com/number571/go-peer/blob/master/docs/abstract_anonymous_networks.pdf "AAN") 4. [去中心化密钥交换协议](https://github.com/number571/go-peer/blob/master/docs/decentralized_key_exchange_protocol.pdf "DKEP") 此外,这些著作的合集可在书籍《匿名通信通论》([Ridero](https://ridero.ru/books/obshaya_teoriya_anonimnykh_kommunikacii/))中找到。该书可在 [Ozon](https://www.ozon.ru/product/obshchaya-teoriya-anonimnyh-kommunikatsiy-vtoroe-izdanie-kovalenko-a-g-1193224608/) 和 [Wildberries](https://www.wildberries.ru/catalog/177390621/detail.aspx) 市场购买。您也可以[在此处](https://github.com/number571/go-peer/blob/master/docs/general_theory_of_anonymous_communications.pdf)免费下载该书的数字版本。 ## 基于库的应用 1. 匿名网络「[Hidden Lake](https://github.com/number571/hidden-lake)」 2. 控制台信使「[secpy-chat](https://github.com/number571/secpy-chat)」,基于 Hidden Lake 服务的 `HLT`、`HLE` ## 星标历史 [![Star History Chart](https://api.star-history.com/svg?repos=number571/go-peer&type=Date)](https://star-history.com/#number571/go-peer&Date) ## 许可证 根据 MIT 许可证授权。完整的许可证文本请参见 [LICENSE](LICENSE)。 **[⬆ back to top](#installation)**
标签:EVTX分析, Golang, Go模块化, Go语言, JSONLines, P2P网络, XML 请求, 分布式系统, 加密库, 匿名网络, 匿名通信, 去中心化网络, 响应大小分析, 安全开发, 安全编程, 安全网络, 安全通信, 密码学, 开源协议, 手动系统调用, 抗量子密码, 日志审计, 程序破解, 网络安全, 网络安全, 量子抗性, 隐私保护, 隐私保护, 零信任, 高可用网络