1. 首页
  2. 数据库
  3. 其它
  4. ristretto255 dh:在Rust中使用Ristretto255组进行Diffie Hellman密钥交换 源码

ristretto255 dh:在Rust中使用Ristretto255组进行Diffie Hellman密钥交换 源码

上传者: 2021-03-07 06:11:56上传 ZIP文件 5.66KB 热度 19次
ristretto255-dh 在纯Rust中使用组进行Diffie-Hellman密钥交换。 此板条箱为Iist指定的Ristretto255主订单组中的静态和临时Diffie-Hellman提供了高级API,该IAPI使用在Curve25519内部实现的。 例子 use rand_core :: OsRng; use ristretto255_dh :: EphemeralSecret; use ristretto255_dh :: PublicKey; // Alice's side let alice_secret = EphemeralSecret :: new ( & mut
下载地址
用户评论