shibme/xipher

GitHub: shibme/xipher

Xipher 是一组基于密钥或密码派生公钥进行非对称加密的密码学原语库,支持可选后量子安全,旨在让各方在不安全信道上安全共享加密数据。

Stars: 14 | Forks: 0

Xipher Logo

Xipher

Key/password-based asymmetric encryption with optional post-quantum security

[![Go Reference](https://pkg.go.dev/badge/xipher.org/xipher.svg)](https://pkg.go.dev/xipher.org/xipher) [![Go Report Card](https://goreportcard.com/badge/xipher.org/xipher)](https://goreportcard.com/report/xipher.org/xipher) [![Test Status](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/705e80fb7c031259.svg)](https://github.com/shibme/xipher/actions/workflows/test.yaml) [![Release Status](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/d8a0e33d81031305.svg)](https://github.com/shibme/xipher/actions/workflows/release.yaml) [![License](https://img.shields.io/github/license/shibme/xipher)](https://github.com/shibme/xipher/blob/main/LICENSE)
## 概述 Xipher 是一个用于基于密钥/密码的非对称加密的密码学原语集合,并可选提供后量子安全性。它允许你使用从密码派生的公钥,在不安全的信道上在各参与方之间共享加密数据。 ## 功能 - 使用基于密钥/密码派生的公钥进行非对称加密 - 内置压缩的流处理 - 量子安全(可选的混合 X25519 + ML-KEM-1024 支持) - 可作为 CLI 工具、Go 库、WebAssembly 模块和 Web 界面使用 - 针对小型和大型数据均进行了优化 ## 快速开始 ### 安装 ``` # CLI (Homebrew, macOS) brew install --cask shibme/tap/xipher # CLI (Linux/macOS 安装脚本) curl -fsSL https://xipher.org/install/install.sh | sh # Go package go get -u xipher.org/xipher ``` 有关 Windows、Docker、二进制文件下载和版本固定,请参阅[安装指南](https://xipher.org/docs/#cli-install)。 ### 基本用法 #### CLI 示例 ![Demo](https://xipher.org/assets/previews/demo.gif) #### Go 包示例 有关派生密钥/加密/解密和流式传输示例,请参阅 [Go 库指南](https://xipher.org/docs/#lib-usage);完整接口请参阅 [API 参考文档](https://pkg.go.dev/xipher.org/xipher)。 ## 用法 ### Web 界面 请在 [xipher.org](https://xipher.org) 体验。密钥将在你的浏览器中生成和存储,所有加密过程均在本地完成。有关完整的发送/接收流程,请参阅 [Web 应用指南](https://xipher.org/docs/#web-overview)。 ### CLI、GitHub Action、WebAssembly 和自托管 有关 CLI、GitHub Action、WebAssembly 模块和自托管 Web 应用的完整命令参考、标志和可直接复制的示例,请参阅[文档](https://xipher.org/docs/)。 ## 技术细节 使用 Argon2id 密钥派生、Curve25519 / X25519(带有可选的结合了 X25519 和 ML-KEM-1024 的量子安全混合加密),以及 XChaCha20-Poly1305。有关参数、安全级别和数据格式,请参阅[密码学原语](https://xipher.org/docs/#arch-primitives)。 ## 文档 - 指南与示例:[xipher.org/docs](https://xipher.org/docs/) - 架构与密码学:[xipher.org/docs/#arch-overview](https://xipher.org/docs/#arch-overview) - Go API 参考文档:[pkg.go.dev/xipher.org/xipher](https://pkg.go.dev/xipher.org/xipher) - Web 界面:[xipher.org](https://xipher.org) ## 安全性 本项目处于实验阶段 - 在生产环境中请谨慎使用。如果你发现安全问题,请[报告它们](https://github.com/shibme/xipher/security/advisories)。 需要注意以下几点: - 密码强度至关重要 - 后量子算法仍在发展中 - 保持你的依赖项为最新版本 有关密码学详细信息,请参阅[架构与安全性分析](https://xipher.org/docs/#arch-overview)。 ## 许可证 本项目根据 [LICENSE](LICENSE) 文件中指定的条款进行许可。
标签:AI工具, EVTX分析, Go语言, 云配置检测, 后量子密码学, 密码学, 手动系统调用, 数据加密, 日志审计, 程序破解, 非对称加密