11 个版本
0.3.1 | 2024 年 1 月 5 日 |
---|---|
0.3.0 | 2023 年 1 月 25 日 |
0.2.4 | 2022 年 1 月 7 日 |
0.2.3 | 2021 年 11 月 29 日 |
0.2.1 | 2020 年 11 月 16 日 |
#591 in 密码学
65 每月下载量
用于 8 个 crates (7 直接)
80KB
1.5K SLoC
Cylinder
概述
Cylinder 为 Rust 项目提供了一个简单实用的加密签名和验证 API。通过构建在其他加密 crate(如 secp256k1)之上,Cylinder 避免了直接实现任何加密。
特性包括
- 一个签名 API,通过使用私钥对字节进行签名来生成签名
- 一个验证 API,用于验证给定消息和公钥的签名
- Secp256k1 的签名和验证 API 实现
- 以一致方式查找和加载密钥的函数
- 支持与 Cylinder 兼容的 JSON Web Tokens (JWT)
使用 Cylinder
以下资源可用于 Cylinder
使用 Cylinder 的项目
以下项目目前正在使用 Cylinder
许可证
Cylinder 在 Apache License Version 2.0 软件许可下获得许可。
依赖关系
~5–16MB
~127K SLoC