【文件属性】:
文件名称:rust-crypto-nacl:Rust-Crypto-NaCl
文件大小:11KB
文件格式:ZIP
更新时间:2021-06-25 11:03:48
Rust
Rust-Crypto-NaCl
选定 NaCl 原语的基于 Rust-Crypto 的实现。
Rust-Crypto-NaCl 试图从流行的 NaCl/TweetNaCl/libsodium 密码库家族中提供精选的高级原语。 具有仿照 API 的 C++ 版本建模的接口。
用法
要使用 Rust-Crypto-NaCl,请将以下内容添加到 Cargo.toml:
[ dependencies ]
rust-crypto-nacl = " * "
以及以下到您的板条箱根目录:
extern crate "crypto-nacl" as nacl;
执照
Rust-Crypto-NaCl 在 MIT 和 Apache 2.0 许可下获得双重许可,与 Rust-Crypto 和 Rust 编译器的许可相同。
原语
crypto_box ("crypto_box_curve25519
【文件预览】:
rust-crypto-nacl-master
----.gitignore(29B)
----src()
--------secretbox.rs(11KB)
--------pkbox.rs(8KB)
--------lib.rs(621B)
----Cargo.toml(459B)
----examples()
--------secretbox.rs(3KB)
--------box.rs(3KB)
----README.md(784B)