sha256零知识证明constraints对比

本文对比分析了2016年lightning_circuit项目与2019年xjsnark项目在零知识证明生成及验证过程中的性能表现。详细记录了在不同CPU配置下,关键生成时间、证明大小等关键指标。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

https://github.com/ebfull/lightning_circuit (2016年,使用deprecated-master版本的libsnark)中,记录的performance为:

on computer (Intel® Core™ i7-3770S CPU @ 3.10GHz):

  • key generation time: 11.6551s
  • proof generation time: 3.0884s
  • verification time: 0.0262s
  • proof size: 2294 bits
  • proving key size: 102284136 bits
  • verifying key size: 4586 bits
  • R1CS constraints: 56101 (mostly sha256-related)

https://github.com/3for/xjsnark (2019年),有提到:

Example (previews)DescriptionNumber of constraints
SHA-256 (Unpadded)High-level implementation of SHA-256 which is compiled to an optimized circuit similar to the one produced by manual/low-level libraries, as in jsnark.25538
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值